From: Marcin Krol Date: Fri, 31 Mar 2017 07:00:19 +0000 (+0000) Subject: - restored libdb patch, force compilation with db4.7 X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=d7b8232ab2385fe0a6f40c3875b425251a830535;p=packages%2Fpoldek.git - restored libdb patch, force compilation with db4.7 --- diff --git a/poldek-libdb.patch b/poldek-libdb.patch index e739f50..2533baf 100644 --- a/poldek-libdb.patch +++ b/poldek-libdb.patch @@ -26,7 +26,7 @@ diff -ur poldek-0.30.1.orig/configure.ac poldek-0.30.1/configure.ac - [AC_CHECK_LIB(db-4.0, db_create, [DBLIB="-ldb-4.0" DBINCLUDE="-I/usr/include/db4.0"], - [AC_CHECK_LIB(db-5.2, db_create, [DBLIB="-ldb-5.2" DBINCLUDE="-I/usr/include/db5.2"],,[$LIBS])], - [$LIBS])],, [$LIBS])],, [$LIBS]) -+AC_CHECK_LIB(db-4.5, db_create, [DBLIB="-ldb-4.5" DBINCLUDE="-I/usr/include/db4.5"],,[$LIBS]) ++AC_CHECK_LIB(db-4.7, db_create, [DBLIB="-ldb-4.7" DBINCLUDE="-I/usr/include/db4.7"],,[$LIBS]) - if test "${ENABLE_STATIC}." = "yes."; then - DBLIB="$DBLIB" diff --git a/poldek.spec b/poldek.spec index 22af5d2..c9b65df 100644 --- a/poldek.spec +++ b/poldek.spec @@ -36,6 +36,7 @@ Patch1: %{name}-config.patch Patch2: pm-hooks.patch Patch3: WTERMSIG.patch Patch4: %{name}-no_local_stdint.patch +Patch5: %{name}-libdb.patch URL: http://poldek.pld-linux.org/ BuildRequires: %{db_pkg}-devel >= %{ver_db}-%{ver_db_rel} BuildRequires: autoconf @@ -201,6 +202,7 @@ Moduły języka Python dla poldka. %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 %{__rm} m4/libtool.m4 m4/lt*.m4