summaryrefslogtreecommitdiff
path: root/sysutils/sbsigntool/files/patch-src-image.h
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2015-01-15 19:54:16 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2015-01-15 19:54:16 +0000
commit6db4bdcb5acbdcee70a2e5c661552d2ed4795d1f (patch)
tree47177dce851043f5a81545a094140279487b57dc /sysutils/sbsigntool/files/patch-src-image.h
parentUpdate to 4.3.33 (diff)
New port: sysutils/sbsigntool
Set of utilities for managing UEFI Secure Boot signatures. Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=377140
Diffstat (limited to 'sysutils/sbsigntool/files/patch-src-image.h')
-rw-r--r--sysutils/sbsigntool/files/patch-src-image.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/sbsigntool/files/patch-src-image.h b/sysutils/sbsigntool/files/patch-src-image.h
new file mode 100644
index 000000000000..18c42c738fdb
--- /dev/null
+++ b/sysutils/sbsigntool/files/patch-src-image.h
@@ -0,0 +1,12 @@
+--- src/image.h.orig 2015-01-15 19:43:49.000000000 +0100
++++ src/image.h 2015-01-15 19:49:04.000000000 +0100
+@@ -34,6 +34,9 @@
+
+ #include <stdint.h>
+
++#define ATTRIBUTE_UNUSED __unused
++#define ENUM_BITFIELD(X) enum X
++
+ #include <bfd.h>
+ #define DO_NOT_DEFINE_LINENO
+