aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-05-24 02:18:54 +0000
committerSteve Price <steve@FreeBSD.org>1999-05-24 02:18:54 +0000
commit1d64b9c2dfcb754994c7eea687223235ee1e509d (patch)
tree41be62991549463d5337d455dc1a6d0c632eb8b0 /cad
parent30eb9b3d668388d65985f1b8e0b2d3ac0ac2eaf7 (diff)
downloadports-1d64b9c2dfcb754994c7eea687223235ee1e509d.tar.gz
ports-1d64b9c2dfcb754994c7eea687223235ee1e509d.zip
Notes
Diffstat (limited to 'cad')
-rw-r--r--cad/magic/files/patch-ac20
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
+