SOURCES: hk_classes-mdbtools_checking.patch (NEW) - fixes mdbtools...
twittner
twittner at pld-linux.org
Fri Nov 18 22:25:41 CET 2005
Author: twittner Date: Fri Nov 18 21:25:41 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fixes mdbtools library detection (changes paths and C++ types)
---- Files affected:
SOURCES:
hk_classes-mdbtools_checking.patch (1.1 -> 1.2) (NEW)
---- Diffs:
================================================================
Index: SOURCES/hk_classes-mdbtools_checking.patch
diff -u /dev/null SOURCES/hk_classes-mdbtools_checking.patch:1.2
--- /dev/null Fri Nov 18 22:25:41 2005
+++ SOURCES/hk_classes-mdbtools_checking.patch Fri Nov 18 22:25:36 2005
@@ -0,0 +1,22 @@
+--- hk_classes-0.8/acinclude.m4~ 2005-11-03 18:00:12.015699640 +0100
++++ hk_classes-0.8/acinclude.m4 2005-11-03 18:00:44.578749304 +0100
+@@ -903,8 +903,8 @@
+ if test "$want_mdb" = "yes"; then
+ AC_MSG_CHECKING([whether MDBTOOLS is available])
+ if test "$with_mdb_dir" = ""; then
+- MDBLIBDIR=/usr/local/lib
+- MDBINCDIR=/usr/local/include
++ MDBLIBDIR=/usr/lib
++ MDBINCDIR=/usr/include/mdb
+ else MDBLIBDIR=$with_mdb_dir/lib
+ MDBINCDIR=$with_mdb_dir/include
+ fi
+@@ -926,7 +926,7 @@
+ CPPFLAGS="$ac_save_CPPFLAGS -I . -I $MDBINCDIR $GLIB_CFLAGS "
+
+ AC_TRY_LINK([#include <mdbtools.h>],[
+-mdb_init();
++void mdb_init();
+ ;],[mdb_lib=yes],[mdb_lib=no])
+
+ AC_MSG_RESULT($mdb_lib)
================================================================
More information about the pld-cvs-commit
mailing list