[Pkg-php-commits] [php/debian-sid] Add patch to allow building with qdbm
Raphael Geissert
geissert at debian.org
Mon Feb 22 22:26:04 UTC 2010
---
debian/patches/qdbm-is-usr_include_qdbm.patch | 22 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 23 insertions(+), 0 deletions(-)
create mode 100644 debian/patches/qdbm-is-usr_include_qdbm.patch
diff --git a/debian/patches/qdbm-is-usr_include_qdbm.patch b/debian/patches/qdbm-is-usr_include_qdbm.patch
new file mode 100644
index 0000000..c596e20
--- /dev/null
+++ b/debian/patches/qdbm-is-usr_include_qdbm.patch
@@ -0,0 +1,22 @@
+Description: Look for qdbm under $prefix/include/qdbm too.
+ The Debian package ships the header files under that directory, for
+ unknown reasons.
+Origin: vendor
+Forwarded: not-needed
+Last-Update: 2010-02-21
+
+Index: php/ext/dba/config.m4
+===================================================================
+--- php.orig/ext/dba/config.m4
++++ php/ext/dba/config.m4
+@@ -109,6 +109,10 @@ if test "$PHP_QDBM" != "no"; then
+ THIS_PREFIX=$i
+ THIS_INCLUDE=$i/include/depot.h
+ break
++ elif test -f "$i/include/qdbm/depot.h"; then
++ THIS_PREFIX=$i
++ THIS_INCLUDE=$i/include/qdbm/depot.h
++ break
+ fi
+ done
+
diff --git a/debian/patches/series b/debian/patches/series
index 65b87f4..097fa4a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -43,3 +43,4 @@ fix_broken_5.3_tests.patch
dont-gitclean-in-build.patch
broken_5.3_test-posix_uname.patch
shtool_mkdir_-p_-race-condition.patch
+qdbm-is-usr_include_qdbm.patch
--
1.6.3.3
More information about the Pkg-php-commits
mailing list