summaryrefslogtreecommitdiff
path: root/sysutils/pesign/files/patch-libdpe-common.h
diff options
context:
space:
mode:
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)
+