sks.patch 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. Index: Makefile
  2. --- Makefile.orig 2005-08-14 03:33:51 +0200
  3. +++ Makefile 2006-10-31 21:32:31 +0100
  4. @@ -304,6 +304,7 @@
  5. $(NXDIR)/READ.ME:
  6. tar xvmfz $(NXDIR).tar.gz
  7. + patch -p0 <sks.numerix.patch
  8. $(NXDIR)/config.status: $(NXDIR)/READ.ME
  9. cd $(NXDIR) && \
  10. Index: bdb/bdb_stubs.c
  11. --- bdb/bdb_stubs.c.orig 2005-01-18 00:42:51 +0100
  12. +++ bdb/bdb_stubs.c 2006-10-31 21:33:20 +0100
  13. @@ -206,7 +206,7 @@
  14. // calls to DB->err and DBENV->err lead to exceptions.
  15. // FIX: currently, prefix is ignored. Should be concatenated.
  16. -void raise_db_cb(const char *prefix, char *msg) { raise_db(msg); }
  17. +void raise_db_cb(const DB_ENV *env, const char *prefix, const char *msg) { raise_db(msg); }
  18. // #############################################################
  19. @@ -238,7 +238,7 @@
  20. //+ | LOCKDOWN | PRIVATE | SYSTEM_MEM | THREAD
  21. static int dbenv_verbose_flags[] = {
  22. - DB_VERB_CHKPOINT, DB_VERB_DEADLOCK, DB_VERB_RECOVERY, DB_VERB_WAITSFOR
  23. + DB_VERB_DEADLOCK, DB_VERB_RECOVERY, DB_VERB_WAITSFOR
  24. };
  25. //+
  26. @@ -681,7 +681,7 @@
  27. int size;
  28. test_db_closed(db);
  29. - err = UW_db(db)->stat(UW_db(db),&stat,0);
  30. + err = UW_db(db)->stat(UW_db(db),NULL,&stat,0);
  31. if (err != 0) { UW_db(db)->err(UW_db(db),err,"caml_db_get_size"); }
  32. switch (*(u_int32_t*)stat) {
  33. case DB_BTREEMAGIC:
  34. Index: number.ml
  35. --- number.ml.orig 2004-04-25 03:06:34 +0200
  36. +++ number.ml 2006-10-31 21:32:31 +0100
  37. @@ -18,7 +18,7 @@
  38. (** Basic operations and definitions for multi-precistion integers. *)
  39. (* Change to Dlong for non x86 platforms *)
  40. -module Nx = Numerix.Slong
  41. +module Nx = Numerix.Clong
  42. let two = Nx.of_int 2
  43. let one = Nx.of_int 1
  44. Index: sks.numerix.patch
  45. --- /dev/null 2006-10-31 21:33:00 +0100
  46. +++ sks.numerix.patch 2006-10-31 21:32:31 +0100
  47. @@ -0,0 +1,33 @@
  48. +Index: numerix-0.19c/config/config.sub
  49. +--- numerix-0.19c/config/config.sub.orig 2006-10-31 08:34:18 +0100
  50. ++++ numerix-0.19c/config/config.sub 2006-10-31 08:34:18 +0100
  51. +@@ -155,7 +155,7 @@
  52. + | alpha | alphaev5 | alphaev56 | we32k | ns16k | clipper \
  53. + | i370 | sh | powerpc | powerpcle | 1750a | dsp16xx | pdp11 \
  54. + | mips64 | mipsel | mips64el | mips64orion | mips64orionel \
  55. +- | mipstx39 | mipstx39el \
  56. ++ | mipstx39 | mipstx39el | amd64 | ia64 \
  57. + | sparc | sparclet | sparclite | sparc64 | v850)
  58. + basic_machine=$basic_machine-unknown
  59. + ;;
  60. +@@ -181,7 +181,7 @@
  61. + | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
  62. + | sparc64-* | mips64-* | mipsel-* \
  63. + | mips64el-* | mips64orion-* | mips64orionel-* \
  64. +- | mipstx39-* | mipstx39el-* \
  65. ++ | mipstx39-* | mipstx39el-* | amd64-* | ia64-* \
  66. + | f301-*)
  67. + ;;
  68. + # Recognize the various machine names and aliases which stand
  69. +Index: numerix-0.19c/configure
  70. +--- numerix-0.19c/configure.orig 2006-10-31 08:34:18 +0100
  71. ++++ numerix-0.19c/configure 2006-10-31 08:59:26 +0100
  72. +@@ -3883,7 +3883,7 @@
  73. + then
  74. + echo "$as_me:$LINENO: result: yes" >&5
  75. + echo "${ECHO_T}yes" >&6
  76. +- bsd_assembler=1
  77. ++ bsd_assembler=0
  78. + else
  79. + echo "$as_me:$LINENO: result: no" >&5
  80. + echo "${ECHO_T}no" >&6