|
|
@ -1,122 +0,0 @@ |
|
|
|
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|
|
|
# |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# Please add additional copyright information _after_ the line containing |
|
|
|
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|
|
|
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|
|
|
# |
|
|
|
# ROCK Linux: rock-src/package/stefanp/gnucash/force-db41.patch |
|
|
|
# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf |
|
|
|
# |
|
|
|
# This patch file is dual-licensed. It is available under the license the |
|
|
|
# patched project is licensed under, as long as it is an OpenSource license |
|
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|
|
|
# of the GNU General Public License as published by the Free Software |
|
|
|
# Foundation; either version 2 of the License, or (at your option) any later |
|
|
|
# version. |
|
|
|
# |
|
|
|
# --- ROCK-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
--- ./configure.orig 2004-09-07 03:16:09.662088768 +0200
|
|
|
|
+++ ./configure 2004-09-07 03:24:43.796928392 +0200
|
|
|
|
@@ -12265,14 +12265,14 @@
|
|
|
|
DB_LIBS="-ldb" |
|
|
|
else |
|
|
|
echo "$ac_t""no" 1>&6 |
|
|
|
-echo $ac_n "checking for __db185_open in -ldb-3""... $ac_c" 1>&6
|
|
|
|
-echo "configure:12270: checking for __db185_open in -ldb-3" >&5
|
|
|
|
-ac_lib_var=`echo db-3'_'__db185_open | sed 'y%./+-%__p_%'`
|
|
|
|
+echo $ac_n "checking for __db185_open in -ldb-4.1""... $ac_c" 1>&6
|
|
|
|
+echo "configure:12270: checking for __db185_open in -ldb-4.1" >&5
|
|
|
|
+ac_lib_var=`echo db-4.1'_'__db185_open | sed 'y%./+-%__p_%'`
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
ac_save_LIBS="$LIBS" |
|
|
|
-LIBS="-ldb-3 $LIBS"
|
|
|
|
+LIBS="-ldb-4.1 $LIBS"
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
#line 12278 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
@@ -12300,7 +12300,7 @@
|
|
|
|
fi |
|
|
|
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|
|
|
echo "$ac_t""yes" 1>&6 |
|
|
|
- DB_LIBS="-ldb-3"
|
|
|
|
+ DB_LIBS="-ldb-4.1"
|
|
|
|
else |
|
|
|
echo "$ac_t""no" 1>&6 |
|
|
|
echo $ac_n "checking for __db185_open in -ldb-4.0""... $ac_c" 1>&6 |
|
|
|
@@ -12478,14 +12478,14 @@
|
|
|
|
fi |
|
|
|
|
|
|
|
else |
|
|
|
- echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6
|
|
|
|
-echo "configure:12483: checking for dbopen in -ldb" >&5
|
|
|
|
-ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'`
|
|
|
|
+ echo $ac_n "checking for dbopen in -ldb-4.1""... $ac_c" 1>&6
|
|
|
|
+echo "configure:12483: checking for dbopen in -ldb-4.1" >&5
|
|
|
|
+ac_lib_var=`echo db-4.1'_'dbopen | sed 'y%./+-%__p_%'`
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
ac_save_LIBS="$LIBS" |
|
|
|
-LIBS="-ldb $LIBS"
|
|
|
|
+LIBS="-ldb-4.1 $LIBS"
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
#line 12491 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
@@ -12513,7 +12513,7 @@
|
|
|
|
fi |
|
|
|
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|
|
|
echo "$ac_t""yes" 1>&6 |
|
|
|
- DB_LIBS="-ldb"
|
|
|
|
+ DB_LIBS="-ldb-4.1"
|
|
|
|
else |
|
|
|
echo "$ac_t""no" 1>&6 |
|
|
|
echo $ac_n "checking for dbopen in -ldb1""... $ac_c" 1>&6 |
|
|
|
--- ./configure.in.orig 2004-09-07 03:16:19.715560408 +0200
|
|
|
|
+++ ./configure.in 2004-09-07 03:26:30.021779760 +0200
|
|
|
|
@@ -700,7 +700,7 @@
|
|
|
|
if test "$prefer_db1" = "yes"; then |
|
|
|
AC_CHECK_LIB(db1, dbopen, DB_LIBS="-ldb1", |
|
|
|
AC_CHECK_LIB(db, dbopen, DB_LIBS="-ldb", |
|
|
|
- AC_CHECK_LIB(db-3, __db185_open, DB_LIBS="-ldb-3",
|
|
|
|
+ AC_CHECK_LIB(db-4.1, __db185_open, DB_LIBS="-ldb-4.1",
|
|
|
|
AC_CHECK_LIB(db-4.0, __db185_open, DB_LIBS="-ldb-4.0", |
|
|
|
AC_CHECK_LIB(db-4.1, __db185_open, DB_LIBS="-ldb-4.1", |
|
|
|
AC_CHECK_LIB(db-4.2, __db185_open, DB_LIBS="-ldb-4.2", |
|
|
|
@@ -716,7 +716,7 @@
|
|
|
|
else |
|
|
|
AC_CHECK_LIB(db, dbopen, DB_LIBS="-ldb", |
|
|
|
AC_CHECK_LIB(db1, dbopen, DB_LIBS="-ldb1", |
|
|
|
- AC_CHECK_LIB(db-3, __db185_open, DB_LIBS="-ldb-3",
|
|
|
|
+ AC_CHECK_LIB(db-4.1, __db185_open, DB_LIBS="-ldb-4.1",
|
|
|
|
AC_CHECK_LIB(db-4.0, __db185_open, DB_LIBS="-ldb-4.0", |
|
|
|
AC_CHECK_LIB(db-4.1, __db185_open, DB_LIBS="-ldb-4.1", |
|
|
|
AC_CHECK_LIB(db-4.2, __db185_open, DB_LIBS="-ldb-4.2", |
|
|
|
--- ./src/gnome-utils/window-help.c 2003-01-04 09:11:01.000000000 +0100
|
|
|
|
+++ ./src/gnome-utils/window-help.c 2003-09-21 15:40:20.792771792 +0200
|
|
|
|
@@ -53,13 +53,17 @@
|
|
|
|
# endif |
|
|
|
#endif |
|
|
|
#else |
|
|
|
-#ifdef HAVE_DB_185_H
|
|
|
|
-# include <db_185.h>
|
|
|
|
+#ifdef HAVE_DB4_DB_185_H
|
|
|
|
+#include <db4/db_185.h>
|
|
|
|
#else |
|
|
|
-# ifdef HAVE_DB_H
|
|
|
|
-# include <db.h>
|
|
|
|
+# ifdef HAVE_DB_185_H
|
|
|
|
+# include <db_185.h>
|
|
|
|
# else |
|
|
|
-# include <db1/db.h>
|
|
|
|
+# ifdef HAVE_DB_H
|
|
|
|
+# include <db.h>
|
|
|
|
+# else
|
|
|
|
+# include <db1/db.h>
|
|
|
|
+# endif
|
|
|
|
# endif |
|
|
|
#endif |
|
|
|
#endif |