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.

125 lines
4.4 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 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. --- ./configure.orig 2004-09-07 03:16:09.662088768 +0200
  23. +++ ./configure 2004-09-07 03:24:43.796928392 +0200
  24. @@ -12265,14 +12265,14 @@
  25. DB_LIBS="-ldb"
  26. else
  27. echo "$ac_t""no" 1>&6
  28. -echo $ac_n "checking for __db185_open in -ldb-3""... $ac_c" 1>&6
  29. -echo "configure:12270: checking for __db185_open in -ldb-3" >&5
  30. -ac_lib_var=`echo db-3'_'__db185_open | sed 'y%./+-%__p_%'`
  31. +echo $ac_n "checking for __db185_open in -ldb-4.1""... $ac_c" 1>&6
  32. +echo "configure:12270: checking for __db185_open in -ldb-4.1" >&5
  33. +ac_lib_var=`echo db-4.1'_'__db185_open | sed 'y%./+-%__p_%'`
  34. if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  35. echo $ac_n "(cached) $ac_c" 1>&6
  36. else
  37. ac_save_LIBS="$LIBS"
  38. -LIBS="-ldb-3 $LIBS"
  39. +LIBS="-ldb-4.1 $LIBS"
  40. cat > conftest.$ac_ext <<EOF
  41. #line 12278 "configure"
  42. #include "confdefs.h"
  43. @@ -12300,7 +12300,7 @@
  44. fi
  45. if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  46. echo "$ac_t""yes" 1>&6
  47. - DB_LIBS="-ldb-3"
  48. + DB_LIBS="-ldb-4.1"
  49. else
  50. echo "$ac_t""no" 1>&6
  51. echo $ac_n "checking for __db185_open in -ldb-4.0""... $ac_c" 1>&6
  52. @@ -12478,14 +12478,14 @@
  53. fi
  54. else
  55. - echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6
  56. -echo "configure:12483: checking for dbopen in -ldb" >&5
  57. -ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'`
  58. + echo $ac_n "checking for dbopen in -ldb-4.1""... $ac_c" 1>&6
  59. +echo "configure:12483: checking for dbopen in -ldb-4.1" >&5
  60. +ac_lib_var=`echo db-4.1'_'dbopen | sed 'y%./+-%__p_%'`
  61. if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  62. echo $ac_n "(cached) $ac_c" 1>&6
  63. else
  64. ac_save_LIBS="$LIBS"
  65. -LIBS="-ldb $LIBS"
  66. +LIBS="-ldb-4.1 $LIBS"
  67. cat > conftest.$ac_ext <<EOF
  68. #line 12491 "configure"
  69. #include "confdefs.h"
  70. @@ -12513,7 +12513,7 @@
  71. fi
  72. if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  73. echo "$ac_t""yes" 1>&6
  74. - DB_LIBS="-ldb"
  75. + DB_LIBS="-ldb-4.1"
  76. else
  77. echo "$ac_t""no" 1>&6
  78. echo $ac_n "checking for dbopen in -ldb1""... $ac_c" 1>&6
  79. --- ./configure.in.orig 2004-09-07 03:16:19.715560408 +0200
  80. +++ ./configure.in 2004-09-07 03:26:30.021779760 +0200
  81. @@ -700,7 +700,7 @@
  82. if test "$prefer_db1" = "yes"; then
  83. AC_CHECK_LIB(db1, dbopen, DB_LIBS="-ldb1",
  84. AC_CHECK_LIB(db, dbopen, DB_LIBS="-ldb",
  85. - AC_CHECK_LIB(db-3, __db185_open, DB_LIBS="-ldb-3",
  86. + AC_CHECK_LIB(db-4.1, __db185_open, DB_LIBS="-ldb-4.1",
  87. AC_CHECK_LIB(db-4.0, __db185_open, DB_LIBS="-ldb-4.0",
  88. AC_CHECK_LIB(db-4.1, __db185_open, DB_LIBS="-ldb-4.1",
  89. AC_CHECK_LIB(db-4.2, __db185_open, DB_LIBS="-ldb-4.2",
  90. @@ -716,7 +716,7 @@
  91. else
  92. AC_CHECK_LIB(db, dbopen, DB_LIBS="-ldb",
  93. AC_CHECK_LIB(db1, dbopen, DB_LIBS="-ldb1",
  94. - AC_CHECK_LIB(db-3, __db185_open, DB_LIBS="-ldb-3",
  95. + AC_CHECK_LIB(db-4.1, __db185_open, DB_LIBS="-ldb-4.1",
  96. AC_CHECK_LIB(db-4.0, __db185_open, DB_LIBS="-ldb-4.0",
  97. AC_CHECK_LIB(db-4.1, __db185_open, DB_LIBS="-ldb-4.1",
  98. AC_CHECK_LIB(db-4.2, __db185_open, DB_LIBS="-ldb-4.2",
  99. --- ./src/gnome-utils/window-help.c 2003-01-04 09:11:01.000000000 +0100
  100. +++ ./src/gnome-utils/window-help.c 2003-09-21 15:40:20.792771792 +0200
  101. @@ -53,13 +53,17 @@
  102. # endif
  103. #endif
  104. #else
  105. -#ifdef HAVE_DB_185_H
  106. -# include <db_185.h>
  107. +#ifdef HAVE_DB4_DB_185_H
  108. +#include <db4/db_185.h>
  109. #else
  110. -# ifdef HAVE_DB_H
  111. -# include <db.h>
  112. +# ifdef HAVE_DB_185_H
  113. +# include <db_185.h>
  114. # else
  115. -# include <db1/db.h>
  116. +# ifdef HAVE_DB_H
  117. +# include <db.h>
  118. +# else
  119. +# include <db1/db.h>
  120. +# endif
  121. # endif
  122. #endif
  123. #endif