Hello.

I prepare a patch.

-- 
Best Regards,
Yuri Kozlov

diff -Naur ftjam-2.5.2/debian/control ftjam-2.5.2.new/debian/control
--- ftjam-2.5.2/debian/control	2009-10-12 16:19:56.000000000 +0400
+++ ftjam-2.5.2.new/debian/control	2009-10-12 16:01:26.000000000 +0400
@@ -2,7 +2,7 @@
 Section: devel
 Priority: optional
 Maintainer: Yann Dirson <[email protected]>
-Build-Depends: debhelper (>= 5), dh-buildinfo, docbook-to-man, bison
+Build-Depends: debhelper (>= 5), dh-buildinfo, docbook-to-man, bison, dpatch
 Standards-Version: 3.7.2
 
 Package: ftjam
diff -Naur ftjam-2.5.2/debian/patches/00list ftjam-2.5.2.new/debian/patches/00list
--- ftjam-2.5.2/debian/patches/00list	1970-01-01 03:00:00.000000000 +0300
+++ ftjam-2.5.2.new/debian/patches/00list	2009-10-12 16:13:21.000000000 +0400
@@ -0,0 +1,2 @@
+90_nostrip.dpatch
+
diff -Naur ftjam-2.5.2/debian/patches/90_nostrip.dpatch ftjam-2.5.2.new/debian/patches/90_nostrip.dpatch
--- ftjam-2.5.2/debian/patches/90_nostrip.dpatch	1970-01-01 03:00:00.000000000 +0300
+++ ftjam-2.5.2.new/debian/patches/90_nostrip.dpatch	2009-10-12 16:19:26.000000000 +0400
@@ -0,0 +1,27 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 90_nostrip.dpatch by Yuri Kozlov <[email protected]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Removing hardcoded strip for jam
+
+...@dpatch@
+diff -urNad ftjam-2.5.2~/Jamfile ftjam-2.5.2/Jamfile
+--- ftjam-2.5.2~/Jamfile	2006-06-05 14:52:16.000000000 +0400
++++ ftjam-2.5.2/Jamfile	2009-10-12 16:12:20.000000000 +0400
+@@ -130,16 +130,6 @@
+ LinkLibraries 	jam : libjam.a ;
+ GenFile 	    jambase.c : mkjambase Jambase ;
+ 
+-if $(UNIX)
+-{
+-  actions Strip
+-  {
+-    strip $(1)
+-  }
+-
+-  Strip jam ;
+-}
+-
+ Library         libjam.a :
+ 		    builtins.c command.c compile.c $(code) expand.c
+ 		    glob.c hash.c headers.c lists.c make.c make1.c
diff -Naur ftjam-2.5.2/debian/rules ftjam-2.5.2.new/debian/rules
--- ftjam-2.5.2/debian/rules	2009-10-12 16:19:56.000000000 +0400
+++ ftjam-2.5.2.new/debian/rules	2009-10-12 16:11:50.000000000 +0400
@@ -3,6 +3,8 @@
 # GNU copyright 1997 to 1999 by Joey Hess.
 # GNU copyright 2001 by Yann Dirson.
 
+include /usr/share/dpatch/dpatch.make
+
 # This is the debian/rules file for packages jam and ftjam
 # It should be usable with both packages without any change
 
@@ -19,7 +21,7 @@
 topdir=$(shell pwd)
 
 build: build-stamp
-build-stamp: debian/jam.1
+build-stamp: patch-stamp debian/jam.1
 	dh_testdir
 
   # bootstrap
@@ -33,7 +35,7 @@
 %.1: %.man.sgml
 	/usr/bin/docbook-to-man $< > $@
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp

Reply via email to