summaryrefslogtreecommitdiff
path: root/security/py-crypto/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'security/py-crypto/patches/patch-ai')
-rw-r--r--security/py-crypto/patches/patch-ai22
1 files changed, 0 insertions, 22 deletions
diff --git a/security/py-crypto/patches/patch-ai b/security/py-crypto/patches/patch-ai
deleted file mode 100644
index 9092c44952e..00000000000
--- a/security/py-crypto/patches/patch-ai
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ai,v 1.1 1998/08/11 07:59:11 agc Exp $
-
-Avoid conflicts with NetBSD ENDIAN macros
-
---- simple/haval.c 1998/08/11 07:43:00 1.1
-+++ simple/haval.c 1998/08/11 07:43:43
-@@ -31,11 +31,11 @@
- #include "modsupport.h"
-
- /* Endianness testing and definitions */
--#define TestEndianness(variable) {int i=1; variable=BIG_ENDIAN;\
-- if (*((char*)&i)==1) variable=LITTLE_ENDIAN;}
-+#define TestEndianness(variable) {int i=1; variable=Py_BIG_ENDIAN;\
-+ if (*((char*)&i)==1) variable=Py_LITTLE_ENDIAN;}
-
--#define LITTLE_ENDIAN 1
--#define BIG_ENDIAN 0
-+#define Py_LITTLE_ENDIAN 1
-+#define Py_BIG_ENDIAN 0
-
- /* This is where the actual code for the hash function will go */
-