diff options
author | minskim <minskim@pkgsrc.org> | 2005-09-22 15:28:35 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-09-22 15:28:35 +0000 |
commit | b9fe6148b5b2dfa52d7c98f16e2968fd7ffa74dd (patch) | |
tree | c0afa29a0ddabdc27c1620a2abb8a3ed32929cbb /cad/magic/patches | |
parent | 4da3839dec986c050e753aee865eb538c4b7be71 (diff) | |
download | pkgsrc-b9fe6148b5b2dfa52d7c98f16e2968fd7ffa74dd.tar.gz |
Use endian.mk to build on more platforms.
Diffstat (limited to 'cad/magic/patches')
-rw-r--r-- | cad/magic/patches/patch-aa | 19 | ||||
-rw-r--r-- | cad/magic/patches/patch-ab | 15 |
2 files changed, 19 insertions, 15 deletions
diff --git a/cad/magic/patches/patch-aa b/cad/magic/patches/patch-aa index 17f40460d15..6e43dadf1b3 100644 --- a/cad/magic/patches/patch-aa +++ b/cad/magic/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.2 2004/01/23 11:43:33 agc Exp $ +$NetBSD: patch-aa,v 1.3 2005/09/22 15:28:35 minskim Exp $ ---- misc/magic.h.orig Fri Sep 21 11:15:45 2001 -+++ misc/magic.h Wed Mar 13 12:37:46 2002 -@@ -99,7 +99,7 @@ +--- misc/magic.h.orig 2001-09-21 08:15:45.000000000 -0700 ++++ misc/magic.h +@@ -99,7 +99,7 @@ extern char *SysLibPath; /* Path for fin : FALSE) #else #define ASSERT(p, where) (FALSE) @@ -11,7 +11,7 @@ $NetBSD: patch-aa,v 1.2 2004/01/23 11:43:33 agc Exp $ /* ------------------------ Malloc/free ------------------------------- */ -@@ -146,71 +146,13 @@ +@@ -146,71 +146,6 @@ extern char AbortMessage[]; * */ @@ -70,13 +70,8 @@ $NetBSD: patch-aa,v 1.2 2004/01/23 11:43:33 agc Exp $ - -#ifdef ALPHA -#define IS_LITTLE_ENDIAN /* Digital Alpha AXP */ -+#include <sys/endian.h> -+#if BYTE_ORDER==BIG_ENDIAN -+#define IS_BIG_ENDIAN -+#else -+#define IS_LITTLE_ENDIAN - #endif - +-#endif +- -/* Well, how'd we do? */ - -#if !defined(IS_BIG_ENDIAN) && !defined(IS_LITTLE_ENDIAN) diff --git a/cad/magic/patches/patch-ab b/cad/magic/patches/patch-ab index 17e6bab8207..5e9ca5bfedc 100644 --- a/cad/magic/patches/patch-ab +++ b/cad/magic/patches/patch-ab @@ -1,8 +1,17 @@ -$NetBSD: patch-ab,v 1.3 2004/01/23 11:43:33 agc Exp $ +$NetBSD: patch-ab,v 1.4 2005/09/22 15:28:35 minskim Exp $ ---- scripts/config.orig Sat Jul 13 23:25:57 2002 +--- scripts/config.orig 2005-09-22 08:13:16.000000000 -0700 +++ scripts/config -@@ -191,15 +191,21 @@ +@@ -52,7 +52,7 @@ Magic works with the following window co + CAT_EOF + + set cflags= +-set cppflags='-I. -I${MAGICDIR}' ++set cppflags="${CPPFLAGS} "'-I. -I${MAGICDIR}' + set dflags= + set oflags= + +@@ -191,15 +191,21 @@ case "1": breaksw case "2": echo "NetBSD 1.x selected" |