From b7ec4f61830ee08f4987d34baf45a8ca1117f671 Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Wed, 21 Jan 2015 13:40:24 +0000 Subject: New port: sysutils/pesign Signing tool for PE-COFF binaries, hopefully at least vaguely compliant with the PE and Authenticode specifications. Sponsored by: The FreeBSD Foundation --- sysutils/pesign/files/patch-libdpe-common.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 sysutils/pesign/files/patch-libdpe-common.h (limited to 'sysutils/pesign/files/patch-libdpe-common.h') diff --git a/sysutils/pesign/files/patch-libdpe-common.h b/sysutils/pesign/files/patch-libdpe-common.h new file mode 100644 index 000000000000..ff26ad1d36ce --- /dev/null +++ b/sysutils/pesign/files/patch-libdpe-common.h @@ -0,0 +1,17 @@ +--- libdpe/common.h.orig 2014-10-24 21:51:06.000000000 +0200 ++++ libdpe/common.h 2015-01-16 10:23:58.000000000 +0100 +@@ -23,11 +23,11 @@ + #include + + #define pwrite_retry(fd, buf, len, off) \ +- TEMP_FAILURE_RETRY (pwrite (fd, buf, len, off)) ++ pwrite (fd, buf, len, off) + #define write_retry(fd, buf, n) \ +- TEMP_FAILURE_RETRY (write (fd, buf, n)) ++ write (fd, buf, n) + #define pread_retry(fd, buf, len, off) \ +- TEMP_FAILURE_RETRY (pread (fd, buf, len, off)) ++ pread (fd, buf, len, off) + + #define is_64_bit(pe) ((pe)->flags & IMAGE_FILE_32BIT_MACHINE) + -- cgit v1.2.3