Bug#827957: camldbm: Migration for libgdbm in experimental
Source: camldbm
Severity: important
Tags: patch
Dear Maintainer,
Please, consided attached debdiff, that enable your package to build
aganist latest gdbm package.
Note, that with this patch your package will not build aganist gdbm in
sid.
diff -Nru camldbm-1.0/debian/control camldbm-1.0/debian/control
--- camldbm-1.0/debian/control 2013-12-08 00:08:13.000000000 +0400
+++ camldbm-1.0/debian/control 2016-06-23 11:59:49.000000000 +0300
@@ -7,6 +7,7 @@
Build-Depends:
debhelper (>= 9),
libgdbm-dev,
+ libgdbm-compat-dev,
ocaml-nox,
ocaml-findlib,
dh-ocaml
diff -Nru camldbm-1.0/debian/patches/0002-fix-configure-script.patch camldbm-1.0/debian/patches/0002-fix-configure-script.patch
--- camldbm-1.0/debian/patches/0002-fix-configure-script.patch 1970-01-01 03:00:00.000000000 +0300
+++ camldbm-1.0/debian/patches/0002-fix-configure-script.patch 2016-06-23 11:59:37.000000000 +0300
@@ -0,0 +1,17 @@
+Description: Fix configure script
+ Script used spoiled $? variable, instead of saved value.
+Author: Dmitry Bogatov <KAction@gnu.org>
+Last-Update: 2016-06-23
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/configure
++++ b/configure
+@@ -35,7 +35,7 @@ hasgot() {
+ ${CC:-cc} -I$1 -o hasgot.exe hasgot.c $3 $4
+ res=$?
+ rm -f hasgot.c hasgot.exe
+- return $?
++ return $res
+ }
+
+ dbm_include="not found"
diff -Nru camldbm-1.0/debian/patches/series camldbm-1.0/debian/patches/series
--- camldbm-1.0/debian/patches/series 2013-12-08 00:08:29.000000000 +0400
+++ camldbm-1.0/debian/patches/series 2016-06-23 11:57:58.000000000 +0300
@@ -1 +1,2 @@
0001-Improve-Makefile.patch
+0002-fix-configure-script.patch
Reply to: