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.

86 lines
2.3 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/gnome14/gnome-libs14/db_185.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. diff -Naur gnome-libs-1.4.17.orig/libgnome/gnome-dump.c gnome-libs-1.4.1.7/libgnome/gnome-dump.c
  20. --- gnome-libs-1.4.1.7.orig/libgnome/gnome-dump.c 2002-01-07 00:12:05.000000000 +0100
  21. +++ gnome-libs-1.4.1.7/libgnome/gnome-dump.c 2003-05-05 13:25:11.000000000 +0200
  22. @@ -25,30 +25,7 @@
  23. #endif
  24. #include <sys/types.h>
  25. -#ifdef PREFER_DB1
  26. -#ifdef HAVE_DB1_DB_H
  27. -# include <db1/db.h>
  28. -#else
  29. -# ifdef HAVE_DB_185_H
  30. -# include <db_185.h>
  31. -# else
  32. -# include <db.h>
  33. -# endif
  34. -#endif
  35. -
  36. -#else
  37. -
  38. -#ifdef HAVE_DB_185_H
  39. -# include <db_185.h>
  40. -#else
  41. -# ifdef HAVE_DB1_DB_H
  42. -# include <db1/db.h>
  43. -# else
  44. -# include <db.h>
  45. -# endif
  46. -#endif
  47. -
  48. -#endif
  49. +#include <db33/db_185.h>
  50. #include <string.h>
  51. #include <unistd.h>
  52. diff -Naur gnome-libs-1.4.17.orig/libgnome/gnome-metadata.c gnome-libs-1.4.1.7/libgnome/gnome-metadata.c
  53. --- gnome-libs-1.4.1.7.orig/libgnome/gnome-metadata.c 2002-01-07 00:12:05.000000000 +0100
  54. +++ gnome-libs-1.4.1.7/libgnome/gnome-metadata.c 2003-05-05 13:05:40.000000000 +0200
  55. @@ -52,27 +52,7 @@
  56. #include <ctype.h>
  57. #include <errno.h>
  58. -#ifdef PREFER_DB1
  59. -#ifdef HAVE_DB1_DB_H
  60. -# include <db1/db.h>
  61. -#else
  62. -# ifdef HAVE_DB_185_H
  63. -# include <db_185.h>
  64. -# else
  65. -# include <db.h>
  66. -# endif
  67. -#endif
  68. -#else
  69. -#ifdef HAVE_DB_185_H
  70. -# include <db_185.h>
  71. -#else
  72. -# ifdef HAVE_DB1_DB_H
  73. -# include <db1/db.h>
  74. -# else
  75. -# include <db.h>
  76. -# endif
  77. -#endif
  78. -#endif
  79. +#include <db33/db_185.h>
  80. #include "libgnomeP.h"
  81. #include "gnome-mime.h"