diff options
author | Stephanie J. Lockwood-Childs <wormo@gentoo.org> | 2005-04-21 20:54:56 +0000 |
---|---|---|
committer | Stephanie J. Lockwood-Childs <wormo@gentoo.org> | 2005-04-21 20:54:56 +0000 |
commit | d702624565c6d5fd112febee0e44e2459f3a1c73 (patch) | |
tree | f7cc9681c1c98425d29fd53eae348b1cb6430dc3 /sci-electronics/magic/files | |
parent | stable (diff) | |
download | gentoo-2-d702624565c6d5fd112febee0e44e2459f3a1c73.tar.gz gentoo-2-d702624565c6d5fd112febee0e44e2459f3a1c73.tar.bz2 gentoo-2-d702624565c6d5fd112febee0e44e2459f3a1c73.zip |
filename collision fix, fixed building on ppc
(Portage version: 2.0.51.19)
Diffstat (limited to 'sci-electronics/magic/files')
-rw-r--r-- | sci-electronics/magic/files/digest-magic-7.1-r3 | 1 | ||||
-rw-r--r-- | sci-electronics/magic/files/magic-7.1-ppc-endian.patch | 26 | ||||
-rw-r--r-- | sci-electronics/magic/files/magic-7.1-remove-decl.patch | 12 |
3 files changed, 39 insertions, 0 deletions
diff --git a/sci-electronics/magic/files/digest-magic-7.1-r3 b/sci-electronics/magic/files/digest-magic-7.1-r3 new file mode 100644 index 000000000000..b5c06b5e7f42 --- /dev/null +++ b/sci-electronics/magic/files/digest-magic-7.1-r3 @@ -0,0 +1 @@ +MD5 13364b77566f5b47fd3f2783e188d3df magic-7.1.tar.gz 3860487 diff --git a/sci-electronics/magic/files/magic-7.1-ppc-endian.patch b/sci-electronics/magic/files/magic-7.1-ppc-endian.patch new file mode 100644 index 000000000000..be88c2fac9d2 --- /dev/null +++ b/sci-electronics/magic/files/magic-7.1-ppc-endian.patch @@ -0,0 +1,26 @@ +diff -ur magic-7.1-orig/misc/magic.h magic-7.1/misc/magic.h +--- magic-7.1-orig/misc/magic.h 2005-04-20 23:04:24.156667592 -0700 ++++ magic-7.1/misc/magic.h 2005-04-19 21:59:28.000000000 -0700 +@@ -150,10 +150,6 @@ + #define IS_LITTLE_ENDIAN /* Intel x86 processors. */ + #endif + +-#ifdef linux +-#define IS_LITTLE_ENDIAN /* Intel x86 processors running Linux >=.99p7. */ +-#endif +- + #ifdef vax + #define IS_LITTLE_ENDIAN /* The good 'ol VAX. */ + #endif +@@ -203,6 +199,11 @@ + #define IS_LITTLE_ENDIAN /* Digital Alpha AXP */ + #endif + ++#ifdef powerpc ++#define IS_BIG_ENDIAN /* PowerPC machines. */ ++#endif ++ ++ + /* Well, how'd we do? */ + + #if !defined(IS_BIG_ENDIAN) && !defined(IS_LITTLE_ENDIAN) diff --git a/sci-electronics/magic/files/magic-7.1-remove-decl.patch b/sci-electronics/magic/files/magic-7.1-remove-decl.patch new file mode 100644 index 000000000000..cae4d3fd4f75 --- /dev/null +++ b/sci-electronics/magic/files/magic-7.1-remove-decl.patch @@ -0,0 +1,12 @@ +diff -ur magic-7.1-orig/drc/DRCmain.c magic-7.1/drc/DRCmain.c +--- magic-7.1-orig/drc/DRCmain.c 2005-04-19 17:14:11.211968512 -0700 ++++ magic-7.1/drc/DRCmain.c 2005-04-19 17:14:36.386141456 -0700 +@@ -35,8 +35,6 @@ + #include "drc/drc.h" + #include "undo/undo.h" + +-extern void TxPrintf(), TxError(); +- + /* The global variables defined below are parameters between + * the DRC error routines (drcPaintError and drcPrintError) + * and the higher-level routines that start up DRC error checks. |