Blame mclibs-101-undefine-PPC.dpatch
|
|
6804820 |
#! /bin/sh /usr/share/dpatch/dpatch-run
|
|
|
6804820 |
## 101-undefine-PPC.dpatch by <kmccarty@debian.org>
|
|
|
6804820 |
##
|
|
|
6804820 |
## All lines beginning with `## DP:' are a description of the patch.
|
|
|
6804820 |
## DP: If "PPC" is defined by compiler, undefine where it clashes with a
|
|
|
6804820 |
## DP: local variable.
|
|
|
6804820 |
|
|
|
6804820 |
@DPATCH@
|
|
|
6804820 |
diff -urNad cernlib-2005.05.09/src/mclibs/cojets/code/bradlp.F /tmp/dpep.aeMGeJ/cernlib-2005.05.09/src/mclibs/cojets/code/bradlp.F
|
|
|
6804820 |
--- cernlib-2005.05.09/src/mclibs/cojets/code/bradlp.F 1996-01-11 09:14:33.000000000 -0500
|
|
|
6804820 |
+++ /tmp/dpep.aeMGeJ/cernlib-2005.05.09/src/mclibs/cojets/code/bradlp.F 2005-06-08 17:00:48.403200778 -0400
|
|
|
6804820 |
@@ -37,6 +37,15 @@
|
|
|
6804820 |
#include "cojets/zpar2.inc"
|
|
|
6804820 |
#include "cojets/zwpar.inc"
|
|
|
6804820 |
#include "cojets/weakon.inc"
|
|
|
6804820 |
+
|
|
|
6804820 |
+C The following is necessary since PPC is defined in g77 on
|
|
|
6804820 |
+C the powerpc architecture, but it's also a variable in this
|
|
|
6804820 |
+C file.
|
|
|
6804820 |
+C -- Kevin McCarty
|
|
|
6804820 |
+#ifdef PPC
|
|
|
6804820 |
+#undef PPC
|
|
|
6804820 |
+#endif
|
|
|
6804820 |
+
|
|
|
6804820 |
DIMENSION QP(4),QM(4),QK(4),QE(4),QN(4)
|
|
|
6804820 |
DIMENSION COEF(2,2),QQV(2)
|
|
|
6804820 |
C
|