[packages/libetpan] - updated to 1.1 - fixed db 5.3 detection

baggins baggins at pld-linux.org
Wed Sep 5 13:26:27 CEST 2012


commit c253b454fa3ab589369ca495b58e92ca66c63afb
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Sep 5 13:26:07 2012 +0200

    - updated to 1.1
    - fixed db 5.3 detection

 libetpan-db.patch | 11 +++++++++++
 libetpan.spec     | 10 ++++++----
 2 files changed, 17 insertions(+), 4 deletions(-)
---
diff --git a/libetpan.spec b/libetpan.spec
index ef91c10..d2dc495 100644
--- a/libetpan.spec
+++ b/libetpan.spec
@@ -1,12 +1,13 @@
 Summary:	Portable mail access library
 Summary(pl.UTF-8):	Przenośna biblioteka dostępu do poczty
 Name:		libetpan
-Version:	1.0
-Release:	7
+Version:	1.1
+Release:	0.1
 License:	BSD
 Group:		Libraries
-Source0:	http://dl.sourceforge.net/libetpan/%{name}-%{version}.tar.gz
-# Source0-md5:	5addc766141a0b1d29ee1ca4ba1b6808
+Source0:	http://download.sourceforge.net/libetpan/%{name}-%{version}.tar.gz
+# Source0-md5:	6fee60d08506e941642b8fa087e60b07
+Patch0:		%{name}-db.patch
 URL:		http://sourceforge.net/projects/libetpan/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -57,6 +58,7 @@ Statyczna biblioteka libEtPan.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/libetpan-db.patch b/libetpan-db.patch
new file mode 100644
index 0000000..7edd45f
--- /dev/null
+++ b/libetpan-db.patch
@@ -0,0 +1,11 @@
+--- libetpan-1.1/configure.ac~	2011-07-12 09:27:46.000000000 +0200
++++ libetpan-1.1/configure.ac	2012-09-05 13:25:21.898524839 +0200
+@@ -385,7 +385,7 @@
+   case "$DBVERS" in
+     3)
+     AC_MSG_RESULT([version 3.x or above])
+-    for lib in 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-5.3 db-5.2 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/c253b454fa3ab589369ca495b58e92ca66c63afb



More information about the pld-cvs-commit mailing list