OpenSDE Packages Database (without history before r20070)
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.

84 lines
2.1 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../gnome-libs14/db_185.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2003 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- SDE-COPYRIGHT-NOTE-END ---
  17. diff -Naur gnome-libs-1.4.17.orig/libgnome/gnome-dump.c gnome-libs-1.4.1.7/libgnome/gnome-dump.c
  18. --- gnome-libs-1.4.1.7.orig/libgnome/gnome-dump.c 2002-01-07 00:12:05.000000000 +0100
  19. +++ gnome-libs-1.4.1.7/libgnome/gnome-dump.c 2003-05-05 13:25:11.000000000 +0200
  20. @@ -25,30 +25,7 @@
  21. #endif
  22. #include <sys/types.h>
  23. -#ifdef PREFER_DB1
  24. -#ifdef HAVE_DB1_DB_H
  25. -# include <db1/db.h>
  26. -#else
  27. -# ifdef HAVE_DB_185_H
  28. -# include <db_185.h>
  29. -# else
  30. -# include <db.h>
  31. -# endif
  32. -#endif
  33. -
  34. -#else
  35. -
  36. -#ifdef HAVE_DB_185_H
  37. -# include <db_185.h>
  38. -#else
  39. -# ifdef HAVE_DB1_DB_H
  40. -# include <db1/db.h>
  41. -# else
  42. -# include <db.h>
  43. -# endif
  44. -#endif
  45. -
  46. -#endif
  47. +#include <db3/db_185.h>
  48. #include <string.h>
  49. #include <unistd.h>
  50. diff -Naur gnome-libs-1.4.17.orig/libgnome/gnome-metadata.c gnome-libs-1.4.1.7/libgnome/gnome-metadata.c
  51. --- gnome-libs-1.4.1.7.orig/libgnome/gnome-metadata.c 2002-01-07 00:12:05.000000000 +0100
  52. +++ gnome-libs-1.4.1.7/libgnome/gnome-metadata.c 2003-05-05 13:05:40.000000000 +0200
  53. @@ -52,27 +52,7 @@
  54. #include <ctype.h>
  55. #include <errno.h>
  56. -#ifdef PREFER_DB1
  57. -#ifdef HAVE_DB1_DB_H
  58. -# include <db1/db.h>
  59. -#else
  60. -# ifdef HAVE_DB_185_H
  61. -# include <db_185.h>
  62. -# else
  63. -# include <db.h>
  64. -# endif
  65. -#endif
  66. -#else
  67. -#ifdef HAVE_DB_185_H
  68. -# include <db_185.h>
  69. -#else
  70. -# ifdef HAVE_DB1_DB_H
  71. -# include <db1/db.h>
  72. -# else
  73. -# include <db.h>
  74. -# endif
  75. -#endif
  76. -#endif
  77. +#include <db3/db_185.h>
  78. #include "libgnomeP.h"
  79. #include "gnome-mime.h"