]> git.pld-linux.org Git - packages/ocaml.git/commitdiff
- crude hack to get dbm.cmo working...
authorMichal Moskal <michal@moskal.me>
Sat, 2 Feb 2002 13:49:43 +0000 (13:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ocaml-db3.patch -> 1.1

ocaml-db3.patch [new file with mode: 0644]

diff --git a/ocaml-db3.patch b/ocaml-db3.patch
new file mode 100644 (file)
index 0000000..b70139e
--- /dev/null
@@ -0,0 +1,14 @@
+diff -ur ocaml-3.04--/otherlibs/dbm/cldbm.c ocaml-3.04/otherlibs/dbm/cldbm.c
+--- ocaml-3.04--/otherlibs/dbm/cldbm.c Fri Dec  7 14:39:51 2001
++++ ocaml-3.04/otherlibs/dbm/cldbm.c   Sat Feb  2 02:38:17 2002
+@@ -15,7 +15,8 @@
+ #include <string.h>
+ #include <fcntl.h>
+-#include <ndbm.h>
++#define DB_DBM_HSEARCH 1
++#include <db.h>
+ #include <mlvalues.h>
+ #include <alloc.h>
+ #include <memory.h>
+
This page took 0.238578 seconds and 4 git commands to generate.