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.

138 lines
3.9 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/base/bdb33/db-3.3.11-2.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. Official patches (1 & 2) from
  23. http://www.sleepycat.com/update/3.3.11/patch.3.3.11.html
  24. *** ./db185/db185.c 2001/04/10 20:43:53 11.18
  25. --- ./db185/db185.c 2001/07/30 14:12:47
  26. ***************
  27. *** 40,47 ****
  28. --- ./40,52 ----
  29. /*
  30. * EXTERN: #define dbopen __db185_open
  31. + * EXTERN: #ifdef _DB185_INT_H_
  32. * EXTERN: DB185 *__db185_open
  33. * EXTERN: __P((const char *, int, int, DBTYPE, const void *));
  34. + * EXTERN: #else
  35. + * EXTERN: DB *__db185_open
  36. + * EXTERN: __P((const char *, int, int, DBTYPE, const void *));
  37. + * EXTERN: #endif
  38. */
  39. DB185 *
  40. __db185_open(file, oflags, mode, type, openinfo)
  41. *** ./db185/db185_int.in 2001/04/10 20:43:54 11.9
  42. --- ./db185/db185_int.in 2001/07/30 14:12:47
  43. ***************
  44. *** 39,46 ****
  45. * $Id: db-3.3.11-2.patch,v 1.2 2003/04/28 13:50:08 clifford Exp $
  46. */
  47. ! #ifndef _DB_185_H_
  48. ! #define _DB_185_H_
  49. /* Routine flags. */
  50. #define R_CURSOR 1 /* del, put, seq */
  51. --- ./39,46 ----
  52. * $Id: db-3.3.11-2.patch,v 1.2 2003/04/28 13:50:08 clifford Exp $
  53. */
  54. ! #ifndef _DB185_INT_H_
  55. ! #define _DB185_INT_H_
  56. /* Routine flags. */
  57. #define R_CURSOR 1 /* del, put, seq */
  58. *** ./include_auto/db185_ext.in 2001/04/10 20:44:20 1.1
  59. --- ./include_auto/db185_ext.in 2001/07/30 14:12:48
  60. ***************
  61. *** 3,11 ****
  62. extern "C" {
  63. #endif
  64. #define dbopen __db185_open
  65. DB185 *__db185_open __P((const char *, int, int, DBTYPE, const void *));
  66. #if defined(__cplusplus)
  67. }
  68. #endif
  69. ! #endif /* !_DB_185_H_ */
  70. --- ./3,15 ----
  71. extern "C" {
  72. #endif
  73. #define dbopen __db185_open
  74. + #ifdef _DB185_INT_H_
  75. DB185 *__db185_open __P((const char *, int, int, DBTYPE, const void *));
  76. + #else
  77. + DB *__db185_open __P((const char *, int, int, DBTYPE, const void *));
  78. + #endif
  79. #if defined(__cplusplus)
  80. }
  81. #endif
  82. ! #endif /* _DB_185_H_ or _DB185_INT_H_ */
  83. *** ./include_auto/db185_uext.in 2001/04/10 20:44:20 1.1
  84. --- ./include_auto/db185_uext.in 2001/07/30 14:12:48
  85. ***************
  86. *** 3,12 ****
  87. extern "C" {
  88. #endif
  89. #define dbopen __db185_open@DB_VERSION_UNIQUE_NAME@
  90. #define __db185_open __db185_open@DB_VERSION_UNIQUE_NAME@
  91. DB185 *__db185_open __P((const char *, int, int, DBTYPE, const void *));
  92. #if defined(__cplusplus)
  93. }
  94. #endif
  95. ! #endif /* !_DB_185_H_ */
  96. --- ./3,17 ----
  97. extern "C" {
  98. #endif
  99. #define dbopen __db185_open@DB_VERSION_UNIQUE_NAME@
  100. + #ifdef _DB185_INT_H_
  101. #define __db185_open __db185_open@DB_VERSION_UNIQUE_NAME@
  102. DB185 *__db185_open __P((const char *, int, int, DBTYPE, const void *));
  103. + #else
  104. + #define __db185_open __db185_open@DB_VERSION_UNIQUE_NAME@
  105. + DB *__db185_open __P((const char *, int, int, DBTYPE, const void *));
  106. + #endif
  107. #if defined(__cplusplus)
  108. }
  109. #endif
  110. ! #endif /* _DB_185_H_ or _DB185_INT_H_ */
  111. *** ./build_vxworks/db.h.orig Mon Jul 30 09:49:54 2001
  112. --- ./build_vxworks/db.h Wed Dec 31 19:00:00 1969
  113. ***************
  114. *** 32,37 ****
  115. --- 32,41 ----
  116. extern "C" {
  117. #endif
  118. + #ifndef HAVE_VXWORKS
  119. + #define HAVE_VXWORKS 1
  120. + #endif
  121. +
  122. /*
  123. * XXX
  124. * Handle function prototypes and the keyword "const". This steps on name