mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

122 lines
4.2 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/stefanp/gnucash/force-db41.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- ./configure.orig 2004-09-07 03:16:09.662088768 +0200
  20. +++ ./configure 2004-09-07 03:24:43.796928392 +0200
  21. @@ -12265,14 +12265,14 @@
  22. DB_LIBS="-ldb"
  23. else
  24. echo "$ac_t""no" 1>&6
  25. -echo $ac_n "checking for __db185_open in -ldb-3""... $ac_c" 1>&6
  26. -echo "configure:12270: checking for __db185_open in -ldb-3" >&5
  27. -ac_lib_var=`echo db-3'_'__db185_open | sed 'y%./+-%__p_%'`
  28. +echo $ac_n "checking for __db185_open in -ldb-4.1""... $ac_c" 1>&6
  29. +echo "configure:12270: checking for __db185_open in -ldb-4.1" >&5
  30. +ac_lib_var=`echo db-4.1'_'__db185_open | sed 'y%./+-%__p_%'`
  31. if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  32. echo $ac_n "(cached) $ac_c" 1>&6
  33. else
  34. ac_save_LIBS="$LIBS"
  35. -LIBS="-ldb-3 $LIBS"
  36. +LIBS="-ldb-4.1 $LIBS"
  37. cat > conftest.$ac_ext <<EOF
  38. #line 12278 "configure"
  39. #include "confdefs.h"
  40. @@ -12300,7 +12300,7 @@
  41. fi
  42. if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  43. echo "$ac_t""yes" 1>&6
  44. - DB_LIBS="-ldb-3"
  45. + DB_LIBS="-ldb-4.1"
  46. else
  47. echo "$ac_t""no" 1>&6
  48. echo $ac_n "checking for __db185_open in -ldb-4.0""... $ac_c" 1>&6
  49. @@ -12478,14 +12478,14 @@
  50. fi
  51. else
  52. - echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6
  53. -echo "configure:12483: checking for dbopen in -ldb" >&5
  54. -ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'`
  55. + echo $ac_n "checking for dbopen in -ldb-4.1""... $ac_c" 1>&6
  56. +echo "configure:12483: checking for dbopen in -ldb-4.1" >&5
  57. +ac_lib_var=`echo db-4.1'_'dbopen | sed 'y%./+-%__p_%'`
  58. if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  59. echo $ac_n "(cached) $ac_c" 1>&6
  60. else
  61. ac_save_LIBS="$LIBS"
  62. -LIBS="-ldb $LIBS"
  63. +LIBS="-ldb-4.1 $LIBS"
  64. cat > conftest.$ac_ext <<EOF
  65. #line 12491 "configure"
  66. #include "confdefs.h"
  67. @@ -12513,7 +12513,7 @@
  68. fi
  69. if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  70. echo "$ac_t""yes" 1>&6
  71. - DB_LIBS="-ldb"
  72. + DB_LIBS="-ldb-4.1"
  73. else
  74. echo "$ac_t""no" 1>&6
  75. echo $ac_n "checking for dbopen in -ldb1""... $ac_c" 1>&6
  76. --- ./configure.in.orig 2004-09-07 03:16:19.715560408 +0200
  77. +++ ./configure.in 2004-09-07 03:26:30.021779760 +0200
  78. @@ -700,7 +700,7 @@
  79. if test "$prefer_db1" = "yes"; then
  80. AC_CHECK_LIB(db1, dbopen, DB_LIBS="-ldb1",
  81. AC_CHECK_LIB(db, dbopen, DB_LIBS="-ldb",
  82. - AC_CHECK_LIB(db-3, __db185_open, DB_LIBS="-ldb-3",
  83. + AC_CHECK_LIB(db-4.1, __db185_open, DB_LIBS="-ldb-4.1",
  84. AC_CHECK_LIB(db-4.0, __db185_open, DB_LIBS="-ldb-4.0",
  85. AC_CHECK_LIB(db-4.1, __db185_open, DB_LIBS="-ldb-4.1",
  86. AC_CHECK_LIB(db-4.2, __db185_open, DB_LIBS="-ldb-4.2",
  87. @@ -716,7 +716,7 @@
  88. else
  89. AC_CHECK_LIB(db, dbopen, DB_LIBS="-ldb",
  90. AC_CHECK_LIB(db1, dbopen, DB_LIBS="-ldb1",
  91. - AC_CHECK_LIB(db-3, __db185_open, DB_LIBS="-ldb-3",
  92. + AC_CHECK_LIB(db-4.1, __db185_open, DB_LIBS="-ldb-4.1",
  93. AC_CHECK_LIB(db-4.0, __db185_open, DB_LIBS="-ldb-4.0",
  94. AC_CHECK_LIB(db-4.1, __db185_open, DB_LIBS="-ldb-4.1",
  95. AC_CHECK_LIB(db-4.2, __db185_open, DB_LIBS="-ldb-4.2",
  96. --- ./src/gnome-utils/window-help.c 2003-01-04 09:11:01.000000000 +0100
  97. +++ ./src/gnome-utils/window-help.c 2003-09-21 15:40:20.792771792 +0200
  98. @@ -53,13 +53,17 @@
  99. # endif
  100. #endif
  101. #else
  102. -#ifdef HAVE_DB_185_H
  103. -# include <db_185.h>
  104. +#ifdef HAVE_DB4_DB_185_H
  105. +#include <db4/db_185.h>
  106. #else
  107. -# ifdef HAVE_DB_H
  108. -# include <db.h>
  109. +# ifdef HAVE_DB_185_H
  110. +# include <db_185.h>
  111. # else
  112. -# include <db1/db.h>
  113. +# ifdef HAVE_DB_H
  114. +# include <db.h>
  115. +# else
  116. +# include <db1/db.h>
  117. +# endif
  118. # endif
  119. #endif
  120. #endif