Seeing that no one appears to be working on this package, here's a patch 
for this bug.  If no one objects, I'll upload this in a week or so.
diff -u xbsql-0.11/debian/control xbsql-0.11/debian/control
--- xbsql-0.11/debian/control
+++ xbsql-0.11/debian/control
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Rafal Lewczuk <[EMAIL PROTECTED]>
-Build-Depends: dpatch (>= 2.0.0), debhelper (>= 4.0.0), c++abi2-dev, automake1.6, libncurses5-dev (>= 5.4), libreadline4-dev (>= 4.3), libxbase2.0-dev, bison, flex, xsltproc, docbook-xsl
+Build-Depends: dpatch (>= 2.0.0), debhelper (>= 4.0.0), c++abi2-dev, libncurses5-dev (>= 5.4), libreadline4-dev (>= 4.3), libxbase2.0-dev, bison, flex, xsltproc, docbook-xsl
 Standards-Version: 3.6.1
 
 Package: libxbsql0c2
diff -u xbsql-0.11/debian/changelog xbsql-0.11/debian/changelog
--- xbsql-0.11/debian/changelog
+++ xbsql-0.11/debian/changelog
@@ -1,3 +1,11 @@
+xbsql (0.11-4.2) unstable; urgency=low
+
+  * NMU
+  * Removed automake1.6 build dependency, patching Makefile.in directly
+    (closes: #335148)
+
+ -- Peter Eisentraut <[EMAIL PROTECTED]>  Tue, 29 Nov 2005 21:46:59 +0100
+
 xbsql (0.11-4.1) unstable; urgency=low
 
   * NMU for C++ transition (closes: #318974)
diff -u xbsql-0.11/debian/patches/01_so-version.dpatch xbsql-0.11/debian/patches/01_so-version.dpatch
--- xbsql-0.11/debian/patches/01_so-version.dpatch
+++ xbsql-0.11/debian/patches/01_so-version.dpatch
@@ -1,41 +1,12 @@
-#! /bin/sh -e
+#! /bin/sh /usr/share/dpatch/dpatch-run
 ## 01_so-version.dpatch
-## based on Ralf Treinen <[EMAIL PROTECTED]> script
 ##
 ## DP: set valid .so version number on libxbsql
-## DP: replace (some) Makefile.am files, backup/restore all 
-## DP: accompanying Makefile.in
-
-[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
-patch_opts="${patch_opts:--f --no-backup-if-mismatch ${2:+-d $2}}"
-
-if [ $# -lt 1 ]; then
-    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
-    exit 1
-fi
-case "$1" in
-       -patch)	
-           find . -name Makefile.in \
-	 	| tar cf debian/patched/soversion.tar -T -;
-	   patch $patch_opts -p1 < $0
-	   automake-1.6
-	;;		
-       -unpatch) 
-	   patch $patch_opts -p1 -R < $0
-           tar xf debian/patched/soversion.tar
-       ;;
-       *)
-                echo >&2 \
-		  "`basename $0`: script expects -patch|-unpatch as argument"
-                exit 1
-       ;;
-esac
-
-exit 0
 
 @DPATCH@
---- xbsqk-0.11.orig/xbsql/Makefile.am	2002-07-10 19:18:04.000000000 +0200
-+++ xbsql-0.11/xbsql/Makefile.am	2004-06-11 18:12:12.000000000 +0200
+diff -urNad xbsql-0.11~/xbsql/Makefile.am xbsql-0.11/xbsql/Makefile.am
+--- xbsql-0.11~/xbsql/Makefile.am	2002-07-10 19:18:04.000000000 +0200
++++ xbsql-0.11/xbsql/Makefile.am	2005-11-29 21:36:39.000000000 +0100
 @@ -17,7 +17,7 @@
  			  xb_assignlist.cpp xb_create.cpp \
  			  xbsql.tab.c xb_datetime.cpp
@@ -47,0 +19,12 @@
+diff -urNad xbsql-0.11~/xbsql/Makefile.in xbsql-0.11/xbsql/Makefile.in
+--- xbsql-0.11~/xbsql/Makefile.in	2003-03-28 21:03:25.000000000 +0100
++++ xbsql-0.11/xbsql/Makefile.in	2005-11-29 21:37:04.000000000 +0100
+@@ -108,7 +108,7 @@
+ 			  xbsql.tab.c xb_datetime.cpp
+ 
+ 
+-libxbsql_la_LDFLAGS = -lxbase $(DEBUG)
++libxbsql_la_LDFLAGS = -lxbase $(DEBUG) -version-info '0:0:0'
+ 
+ xql_SOURCES = xql.cpp
+ xql_LDADD = -lxbase -lreadline -l$(CURSES) ./libxbsql.la

Reply via email to