]> git.pld-linux.org Git - packages/libetpan.git/commitdiff
- added db patch to cover db 6.1 and 6.2
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 5 Aug 2016 14:08:09 +0000 (16:08 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 5 Aug 2016 14:08:09 +0000 (16:08 +0200)
libetpan-db.patch [new file with mode: 0644]
libetpan.spec

diff --git a/libetpan-db.patch b/libetpan-db.patch
new file mode 100644 (file)
index 0000000..85ac9e4
--- /dev/null
@@ -0,0 +1,11 @@
+--- libetpan-1.7.2/configure.ac.orig   2016-08-05 15:50:27.931274367 +0200
++++ libetpan-1.7.2/configure.ac        2016-08-05 15:53:37.251272206 +0200
+@@ -395,7 +395,7 @@
+   case "$DBVERS" in
+     3)
+     AC_MSG_RESULT([version 3.x or above])
+-    for lib in db-6.0 db-5.3 db-5.1 db-5.0 db-4.8 db-4.7 db-4.6 db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-4 db4 db-3.2 db-3 db3 db; do
++    for lib in db-6.2 db-6.1 db-6.0 db-5.3 db-5.1 db-5.0 db-4.8 db-4.7 db-4.6 db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-4 db4 db-3.2 db-3 db3 db; do
+       if test "x$DBLINKED" = "x0"; then
+ dnl        AC_CHECK_LIB($lib, db_create, [DBLIB="-l$lib"; DBLINKED=1], [])
+ dnl installations of libdb4 function names are defined in db.h
index 1dbf853a39d9fb3df4dfaaf65d7ca3243b3e6d75..dde2b96004d9a8ba7318633e826fc2c78b978e03 100644 (file)
@@ -8,6 +8,7 @@ Group:          Libraries
 Source0:       https://github.com/dinhviethoa/libetpan/archive/%{version}.tar.gz
 # Source0-md5: c725728ce39b511a533d629ea78c1884
 Patch0:                %{name}-link.patch
+Patch1:                %{name}-db.patch
 URL:           https://github.com/dinhviethoa/libetpan
 BuildRequires: autoconf >= 2.61
 BuildRequires: automake
@@ -69,6 +70,7 @@ Statyczna biblioteka libEtPan.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
This page took 0.087153 seconds and 4 git commands to generate.