summaryrefslogtreecommitdiffstats
path: root/gnome-base/gnome-libs/files/gnome-libs-1.4.2-ds-db.diff
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /gnome-base/gnome-libs/files/gnome-libs-1.4.2-ds-db.diff
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'gnome-base/gnome-libs/files/gnome-libs-1.4.2-ds-db.diff')
-rw-r--r--gnome-base/gnome-libs/files/gnome-libs-1.4.2-ds-db.diff50
1 files changed, 50 insertions, 0 deletions
diff --git a/gnome-base/gnome-libs/files/gnome-libs-1.4.2-ds-db.diff b/gnome-base/gnome-libs/files/gnome-libs-1.4.2-ds-db.diff
new file mode 100644
index 0000000..0d37625
--- /dev/null
+++ b/gnome-base/gnome-libs/files/gnome-libs-1.4.2-ds-db.diff
@@ -0,0 +1,50 @@
+diff -dPNur gnome-libs-1.4.2/configure.in gnome-libs-1.4.2-ds/configure.in
+--- gnome-libs-1.4.2/configure.in 2012-01-15 00:48:44.000000000 +0100
++++ gnome-libs-1.4.2-ds/configure.in 2012-01-15 00:46:27.000000000 +0100
+@@ -305,43 +305,20 @@
+ dnl
+ DB_LIB=
+ AC_CHECK_FUNC(dbopen, [],
+-if test "$prefer_db1" = "yes"; then
+- AC_CHECK_LIB(db1, dbopen, DB_LIB="-ldb1",
+- AC_CHECK_LIB(db, dbopen, DB_LIB="-ldb",
+- AC_CHECK_LIB(db-3, __db185_open, DB_LIB="-ldb-3",
+- AC_CHECK_LIB(db-4, __db185_open, DB_LIB="-ldb-4",
+- AC_MSG_ERROR([Your db library is missing db 1.85 compatibility mode])
+- )
+- )
+- )
+- )
+-else
+ AC_CHECK_LIB(db, dbopen, DB_LIB="-ldb",
+- AC_CHECK_LIB(db1, dbopen, DB_LIB="-ldb1",
++# AC_CHECK_LIB(db1, dbopen, DB_LIB="-ldb1",
+ AC_CHECK_LIB(db-3, __db185_open, DB_LIB="-ldb-3",
+ AC_CHECK_LIB(db-4, __db185_open, DB_LIB="-ldb-4",
+ AC_MSG_ERROR([Your db library is missing db 1.85 compatibility mode])
+ )
+ )
+ )
+- )
+-fi
++# )
+ )
+
+ dnl look for db headers
+-if test "$prefer_db1" = "yes"; then
+- AC_CHECK_HEADERS(db_185.h db1/db.h)
+- if test "$ac_cv_header_db_185_h$ac_cv_header_db1_db_h" = nono; then
+- AC_MSG_ERROR([Berkeley db library required for Gnome])
+- fi
+- AC_DEFINE(PREFER_DB1)
+-else
+- AC_CHECK_HEADERS(db.h db_185.h db1/db.h)
++AC_CHECK_HEADERS(db.h db_185.h db1/db.h)
+
+- if test "$ac_cv_header_db_h$ac_cv_header_db_185_h$ac_cv_header_db1_db_h" = nonono; then
+- AC_MSG_ERROR([Berkeley db library required for Gnome])
+- fi
+-fi
+
+ dnl
+ dnl This is needed for the gnome-moz-remote program. It doesn't use GDK,