6804820
#! /bin/sh /usr/share/dpatch/dpatch-run
6804820
## 801-non-optimized-rule-uses-fPIC-g.dpatch by  <kmccarty@debian.org>
6804820
##
6804820
## All lines beginning with `## DP:' are a description of the patch.
6804820
## DP: Ensure that special rules for creating non-optimized object files
6804820
## DP: use -fPIC for files that go into shared libs, and -g for all files.
6804820
6804820
@DPATCH@
6804820
diff -urNad cernlib-2005.05.09/src/paw_motif/fmotif/Imakefile /tmp/dpep.gResDB/cernlib-2005.05.09/src/paw_motif/fmotif/Imakefile
6804820
--- cernlib-2005.05.09/src/paw_motif/fmotif/Imakefile	1996-09-23 10:20:46.000000000 -0400
6804820
+++ /tmp/dpep.gResDB/cernlib-2005.05.09/src/paw_motif/fmotif/Imakefile	2005-06-09 10:37:55.631538119 -0400
6804820
@@ -3,7 +3,7 @@
6804820
 	plotisto.F pmhist.F pminit.F show_chain.F
6804820
 
2c503ce
 #if defined(CERNLIB_LINUX) && !defined(CERNLIB_GFORTRAN)
6804820
-FORTRANOPTIONS = -fno-backslash  $(FORTRANSAVEOPTION) -fno-second-underscore
6804820
+FORTRANOPTIONS = -g -fno-backslash  $(FORTRANSAVEOPTION) -fno-second-underscore
6804820
 #endif
6804820
 
6804820
 SubdirLibraryTarget(NullParameter,NullParameter)
6804820
diff -urNad cernlib-2005.05.09/src/pawlib/paw/ntuple/Imakefile /tmp/dpep.gResDB/cernlib-2005.05.09/src/pawlib/paw/ntuple/Imakefile
6804820
--- cernlib-2005.05.09/src/pawlib/paw/ntuple/Imakefile	1999-09-14 05:20:08.000000000 -0400
6804820
+++ /tmp/dpep.gResDB/cernlib-2005.05.09/src/pawlib/paw/ntuple/Imakefile	2005-06-09 10:40:47.421285771 -0400
6804820
@@ -46,8 +46,8 @@
6804820
 
6804820
 SubdirLibraryTarget(NullParameter,NullParameter)
6804820
 
6804820
-#if defined(CERNLIB_LINUX) && defined(CERNLIB_POWERPC)
6804820
-SpecialObjectRule(archive/qp_execute.o,qp_execute.c archive/qp_execute.d,-O0 -o $@)
6804820
-SpecialObjectRule(debug/qp_execute.o,qp_execute.c debug/qp_execute.d,-O0 -o $@)
6804820
-SpecialObjectRule(shared/qp_execute.o,qp_execute.c shared/qp_execute.d,-O0 -o $@)
6804820
+#if defined(CERNLIB_LINUX)
6804820
+SpecialObjectRule(archive/qp_execute.o,qp_execute.c archive/qp_execute.d,-O0 -g -o $@)
6804820
+SpecialObjectRule(debug/qp_execute.o,qp_execute.c debug/qp_execute.d,-O0 -g -o $@)
6804820
+SpecialObjectRule(shared/qp_execute.o,qp_execute.c shared/qp_execute.d,-O0 -g -fPIC -o $@)
6804820
 #endif