Hello, It seems work with the attached patch.
best regards, Lifeng On 18:44 Wed 09/01/10 Sep , Julien Cristau wrote: > On Thu, Dec 11, 2008 at 12:19:34 -0800, Kevin B. McCarty wrote: > > > Package: wnpp > > Severity: normal > > > > RFA'ing paw along with Cernlib, please see #508413 for details. > > > > On Fri, Oct 30, 2009 at 11:05:32 +0100, Francois Niedercorn wrote: > > > retitle 508495 ITA: paw > > thanks > > > > Hi, > > > > I intend to adopt paw package, and plan to set debian science as > > comaintainers. > > > Has anything happened with this? paw has an FTBFS bug open for a while, > and the cernlib-related packages appear to still be orphaned? > > If people want this in squeeze now's high time to step up, otherwise > I'll have to get these packages out of testing. > > Cheers, > Julien --
diff -urNad a/debian/patches/306-patch-assert.h-for-makedepend.dpatch
b/debian/patches/306-patch-assert.h-for-makedepend.dpatch
--- a/debian/patches/306-patch-assert.h-for-makedepend.dpatch 2010-10-11
23:16:36.000000000 +0800
+++ b/debian/patches/306-patch-assert.h-for-makedepend.dpatch 2010-10-11
23:17:16.000000000 +0800
@@ -6,9 +6,9 @@
## DP: makedepend (cf. Debian bug # 171908).
@DPATCH@
-diff -urNad cernlib-2005.05.09/src/include/assert.h
/tmp/dpep.9sKNsJ/cernlib-2005.05.09/src/include/assert.h
+diff -urNad cernlib-2005.05.09/src/include/assert.h
cernlib-2005.05.09/src/include/assert.h
--- cernlib-2005.05.09/src/include/assert.h 1969-12-31 19:00:00.000000000
-0500
-+++ /tmp/dpep.9sKNsJ/cernlib-2005.05.09/src/include/assert.h 2005-06-09
12:50:41.751880968 -0400
++++ cernlib-2005.05.09/src/include/assert.h 2005-06-09 12:50:41.751880968
-0400
@@ -0,0 +1,153 @@
+#ifndef CERNLIB_LINUX
+# include "/usr/include/assert.h"
diff -urNad a/debian/patches/705-patch-paw_motif-paw-Imakefiles.dpatch
b/debian/patches/705-patch-paw_motif-paw-Imakefiles.dpatch
--- a/debian/patches/705-patch-paw_motif-paw-Imakefiles.dpatch 2010-10-11
23:16:36.000000000 +0800
+++ b/debian/patches/705-patch-paw_motif-paw-Imakefiles.dpatch 2010-10-11
23:17:21.000000000 +0800
@@ -6,9 +6,9 @@
## DP: its own library.
@DPATCH@
-diff -urNad cernlib-2005.05.09/src/Imakefile
/tmp/dpep.Rec1V8/cernlib-2005.05.09/src/Imakefile
+diff -urNad cernlib-2005.05.09/src/Imakefile cernlib-2005.05.09/src/Imakefile
--- cernlib-2005.05.09/src/Imakefile 2005-06-13 16:04:27.418461884 -0400
-+++ /tmp/dpep.Rec1V8/cernlib-2005.05.09/src/Imakefile 2005-06-13
16:04:48.698899728 -0400
++++ cernlib-2005.05.09/src/Imakefile 2005-06-13 16:04:48.698899728 -0400
@@ -2,7 +2,7 @@
#define PassCDebugFlags
@@ -18,9 +18,9 @@
SUBDIRS= $(LIBDIRS) patchy cfortran
-diff -urNad cernlib-2005.05.09/src/pawlib/paw/cdf/Imakefile
/tmp/dpep.Rec1V8/cernlib-2005.05.09/src/pawlib/paw/cdf/Imakefile
+diff -urNad cernlib-2005.05.09/src/pawlib/paw/cdf/Imakefile
cernlib-2005.05.09/src/pawlib/paw/cdf/Imakefile
--- cernlib-2005.05.09/src/pawlib/paw/cdf/Imakefile 1999-08-31
04:47:07.000000000 -0400
-+++ /tmp/dpep.Rec1V8/cernlib-2005.05.09/src/pawlib/paw/cdf/Imakefile
2005-06-13 16:05:01.263206159 -0400
++++ cernlib-2005.05.09/src/pawlib/paw/cdf/Imakefile 2005-06-13
16:05:01.263206159 -0400
@@ -1,6 +1,6 @@
#define IHaveCDF
@@ -29,9 +29,9 @@
#ifdef CERNLIB_IBMRT
/* Otherwise cc dies with internal compiler error on pawcdf.
-diff -urNad cernlib-2005.05.09/src/pawlib/paw/code/Imakefile
/tmp/dpep.Rec1V8/cernlib-2005.05.09/src/pawlib/paw/code/Imakefile
+diff -urNad cernlib-2005.05.09/src/pawlib/paw/code/Imakefile
cernlib-2005.05.09/src/pawlib/paw/code/Imakefile
--- cernlib-2005.05.09/src/pawlib/paw/code/Imakefile 2005-06-13
16:04:26.689618135 -0400
-+++ /tmp/dpep.Rec1V8/cernlib-2005.05.09/src/pawlib/paw/code/Imakefile
2005-06-13 16:04:33.962059051 -0400
++++ cernlib-2005.05.09/src/pawlib/paw/code/Imakefile 2005-06-13
16:04:33.962059051 -0400
@@ -11,8 +11,8 @@
pautit.F pavect.F paw.F pawbrk.F pawdef.F pawfca.F \ @@\
pawfitz.F pawfop.F pawfu1.F pawfu2.F \ @@\
@@ -43,9 +43,9 @@
pawsim.F pawusr.F pawuwf.F paxcut.F pazdz.F pazfz.F pazrz.F \ @@\
pchain.F pchclo.F pchncd.F pchrop.F pcnext.F pfclos.F \ @@\
pfhigz.F pfindc.F pfindf.F pfindf1.F pfindv.F pfinit.F pflog.F \ @@\
-diff -urNad cernlib-2005.05.09/src/pawlib/paw/Imakefile
/tmp/dpep.Rec1V8/cernlib-2005.05.09/src/pawlib/paw/Imakefile
+diff -urNad cernlib-2005.05.09/src/pawlib/paw/Imakefile
cernlib-2005.05.09/src/pawlib/paw/Imakefile
--- cernlib-2005.05.09/src/pawlib/paw/Imakefile 2000-06-27
11:27:03.000000000 -0400
-+++ /tmp/dpep.Rec1V8/cernlib-2005.05.09/src/pawlib/paw/Imakefile
2005-06-13 16:04:33.962059051 -0400
++++ cernlib-2005.05.09/src/pawlib/paw/Imakefile 2005-06-13
16:04:33.962059051 -0400
@@ -9,6 +9,9 @@
LIBDIRS= code cpaw cdf ntuple mlpfit
@@ -64,18 +64,18 @@
SUBDIRS= $(LIBDIRS) programs piafs hbpiaf stagerd paw
-diff -urNad cernlib-2005.05.09/src/paw_motif/cdf/Imakefile
/tmp/dpep.Rec1V8/cernlib-2005.05.09/src/paw_motif/cdf/Imakefile
+diff -urNad cernlib-2005.05.09/src/paw_motif/cdf/Imakefile
cernlib-2005.05.09/src/paw_motif/cdf/Imakefile
--- cernlib-2005.05.09/src/paw_motif/cdf/Imakefile 1969-12-31
19:00:00.000000000 -0500
-+++ /tmp/dpep.Rec1V8/cernlib-2005.05.09/src/paw_motif/cdf/Imakefile
2005-06-13 16:04:33.963058837 -0400
++++ cernlib-2005.05.09/src/paw_motif/cdf/Imakefile 2005-06-13
16:04:33.963058837 -0400
@@ -0,0 +1,5 @@
+#define IHaveCDF
+
+SRCS_CDF= pamcdf.cdf
+
+SubdirLibraryTarget(NullParameter,NullParameter)
-diff -urNad cernlib-2005.05.09/src/paw_motif/code/Imakefile
/tmp/dpep.Rec1V8/cernlib-2005.05.09/src/paw_motif/code/Imakefile
+diff -urNad cernlib-2005.05.09/src/paw_motif/code/Imakefile
cernlib-2005.05.09/src/paw_motif/code/Imakefile
--- cernlib-2005.05.09/src/paw_motif/code/Imakefile 1969-12-31
19:00:00.000000000 -0500
-+++ /tmp/dpep.Rec1V8/cernlib-2005.05.09/src/paw_motif/code/Imakefile
2005-06-13 16:04:33.963058837 -0400
++++ cernlib-2005.05.09/src/paw_motif/code/Imakefile 2005-06-13
16:04:33.963058837 -0400
@@ -0,0 +1,7 @@
+SRCS_F= pawintm.F pawpp.F
+
@@ -84,9 +84,9 @@
+
+SubdirLibraryTarget(NullParameter,NullParameter)
+
-diff -urNad cernlib-2005.05.09/src/paw_motif/Imakefile
/tmp/dpep.Rec1V8/cernlib-2005.05.09/src/paw_motif/Imakefile
+diff -urNad cernlib-2005.05.09/src/paw_motif/Imakefile
cernlib-2005.05.09/src/paw_motif/Imakefile
--- cernlib-2005.05.09/src/paw_motif/Imakefile 2000-06-27 11:27:03.000000000
-0400
-+++ /tmp/dpep.Rec1V8/cernlib-2005.05.09/src/paw_motif/Imakefile
2005-06-13 16:04:33.963058837 -0400
++++ cernlib-2005.05.09/src/paw_motif/Imakefile 2005-06-13 16:04:33.963058837
-0400
@@ -7,7 +7,7 @@
MotifDependantMakeVar(MOTIF_DIRS,cmotif fmotif fpanelsc)
MotifDependantMakeVar(PAWPP_DIRS,fpanelsf tree uimx)
diff -urNad a/debian/rules b/debian/rules
--- a/debian/rules 2010-10-11 23:16:36.000000000 +0800
+++ b/debian/rules 2010-10-11 23:17:26.000000000 +0800
@@ -6,6 +6,8 @@
include /usr/share/cernlib/cernlib-debian.mk
+LOCAL_DEFINES += -D_GNU_SOURCE
+
install-arch-local:
# Is dynamically linked paw broken?
@set -e ; \
signature.asc
Description: GnuPG digital signature

