diff options
Diffstat (limited to 'cad/magic')
-rw-r--r-- | cad/magic/files/patch-ac | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/cad/magic/files/patch-ac b/cad/magic/files/patch-ac new file mode 100644 index 000000000000..9ad58fbb17b2 --- /dev/null +++ b/cad/magic/files/patch-ac @@ -0,0 +1,20 @@ +--- misc/magic.h.orig Wed Sep 11 15:23:25 1996 ++++ misc/magic.h Sun Apr 25 22:32:12 1999 +@@ -166,7 +166,7 @@ + * + */ + +-#ifdef i386 ++#if defined(i386) || (defined(__alpha__) && defined(__FreeBSD__)) + #define IS_LITTLE_ENDIAN /* Intel x86 processors. */ + #endif + +@@ -244,7 +244,7 @@ + #if defined(sun) && !defined(sparc) + # define NEED_MONCNTL + #endif +-#ifdef ALPHA ++#if defined(ALPHA) || (defined(__alpha__) && defined(__FreeBSD__)) + # define NEED_MONCNTL + #endif + |