]> git.pld-linux.org Git - packages/perl.git/blobdiff - perl-db4.patch
- pld2.0 is comming
[packages/perl.git] / perl-db4.patch
diff --git a/perl-db4.patch b/perl-db4.patch
new file mode 100644 (file)
index 0000000..9710436
--- /dev/null
@@ -0,0 +1,25 @@
+--- perl-5.6.1/ext/NDBM_File/NDBM_File.xs~     Sat Mar  3 20:53:20 2001
++++ perl-5.6.1/ext/NDBM_File/NDBM_File.xs      Fri Apr 20 18:23:37 2001
+@@ -6,7 +6,8 @@
+  * See also INSTALL section on DB3.
+  * -- Stanislav Brabec <utx@penguin.cz> */
+ #undef ENTER
+-#include <ndbm.h>
++#define DB_DBM_HSEARCH 1
++#include <db.h>
+ typedef struct {
+       DBM *   dbp ;
+--- perl-5.6.1/ext/NDBM_File/Makefile.PL~      Fri Apr 20 18:16:55 2001
++++ perl-5.6.1/ext/NDBM_File/Makefile.PL       Fri Apr 20 18:33:48 2001
+@@ -1,8 +1,8 @@
+ use ExtUtils::MakeMaker;
+ WriteMakefile(
+     NAME      => 'NDBM_File',
+-    LIBS => ["-L/usr/local/lib -lndbm", "-ldbm -lucb"],
+-    CCFLAGS => '-I/usr/include/db1 -Dbool=char -DHAS_BOOL',
++    LIBS => ["-L/usr/local/lib -ldb4.1"],
++    CCFLAGS => '-Dbool=char -DHAS_BOOL',
+     MAN3PODS  => {},  # Pods will be built by installman.
+     XSPROTOARG => '-noprototypes',            # XXX remove later?
+     VERSION_FROM => 'NDBM_File.pm',
This page took 0.084312 seconds and 4 git commands to generate.