summaryrefslogtreecommitdiff
path: root/security/tripwire12/files/patch-sigs-sha-sha.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 14:30:10 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 14:30:10 +0000
commit1c30911ff0463c1215e15dd9f7acb886ca35a93d (patch)
tree17783a29eefdfe8b1d45e4895ff0daaf7f6e92c3 /security/tripwire12/files/patch-sigs-sha-sha.c
parent- Update to 2.4.3 (diff)
Rename security/ patches to reflect the files they modify.
Notes
Notes: svn path=/head/; revision=363328
Diffstat (limited to 'security/tripwire12/files/patch-sigs-sha-sha.c')
-rw-r--r--security/tripwire12/files/patch-sigs-sha-sha.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/security/tripwire12/files/patch-sigs-sha-sha.c b/security/tripwire12/files/patch-sigs-sha-sha.c
new file mode 100644
index 000000000000..bad090157860
--- /dev/null
+++ b/security/tripwire12/files/patch-sigs-sha-sha.c
@@ -0,0 +1,16 @@
+This patch eliminates a compiler warning about LITTLE_ENDIAN begin
+redefined.
+
+*** sigs/sha/sha.c.orig Mon Jul 25 08:46:45 1994
+--- sigs/sha/sha.c Mon Mar 31 19:55:23 1997
+***************
+*** 47,52 ****
+--- 47,54 ----
+ #include "sha.h"
+
+ #if BYTEORDER == 0x1234
++ #undef BIG_ENDIAN
++ #undef LITTLE_ENDIAN
+ #define LITTLE_ENDIAN
+ #endif
+