[packages/libetpan] - added db patch to cover db 6.1 and 6.2

qboosh qboosh at pld-linux.org
Fri Aug 5 16:07:29 CEST 2016


commit dfb510211a6fa1e1c038c9f55b0342d2f479ef05
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Aug 5 16:08:09 2016 +0200

    - added db patch to cover db 6.1 and 6.2

 libetpan-db.patch | 11 +++++++++++
 libetpan.spec     |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/libetpan.spec b/libetpan.spec
index 1dbf853..dde2b96 100644
--- a/libetpan.spec
+++ b/libetpan.spec
@@ -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}
diff --git a/libetpan-db.patch b/libetpan-db.patch
new file mode 100644
index 0000000..85ac9e4
--- /dev/null
+++ b/libetpan-db.patch
@@ -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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libetpan.git/commitdiff/dfb510211a6fa1e1c038c9f55b0342d2f479ef05



More information about the pld-cvs-commit mailing list