summaryrefslogtreecommitdiff
path: root/sysutils/pesign/files/patch-libdpe-common.h
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2015-01-21 13:40:24 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2015-01-21 13:40:24 +0000
commitb7ec4f61830ee08f4987d34baf45a8ca1117f671 (patch)
tree269301c4e3bfc3ac6da81d2046fa612797f19d91 /sysutils/pesign/files/patch-libdpe-common.h
parentBump PORTREVISION after r377564. (diff)
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
Diffstat (limited to 'sysutils/pesign/files/patch-libdpe-common.h')
-rw-r--r--sysutils/pesign/files/patch-libdpe-common.h17
1 files changed, 17 insertions, 0 deletions
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 <sys/mman.h>
+
+ #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)
+