summaryrefslogtreecommitdiff
path: root/databases/php4-dba
diff options
context:
space:
mode:
authorjlam <jlam>2001-10-27 21:31:32 +0000
committerjlam <jlam>2001-10-27 21:31:32 +0000
commit98be17693639a929d6dd9e6f5383caee14a12cca (patch)
tree2dde2279ca060d1a7131c5d449c09987e561fe55 /databases/php4-dba
parentd80561024bcd1aac165424daa5da81bd522749f5 (diff)
downloadpkgsrc-98be17693639a929d6dd9e6f5383caee14a12cca.tar.gz
The ndbm code was preprocessed out of the sources because the symbol defined
in config.h wasn't being used. Fix this by including config.h in the relevant dba_*.c files.
Diffstat (limited to 'databases/php4-dba')
-rw-r--r--databases/php4-dba/distinfo4
-rw-r--r--databases/php4-dba/patches/patch-aa11
-rw-r--r--databases/php4-dba/patches/patch-ab11
3 files changed, 25 insertions, 1 deletions
diff --git a/databases/php4-dba/distinfo b/databases/php4-dba/distinfo
index 3d04361f24a..7ab08704323 100644
--- a/databases/php4-dba/distinfo
+++ b/databases/php4-dba/distinfo
@@ -1,4 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/10/16 06:45:09 jlam Exp $
+$NetBSD: distinfo,v 1.2 2001/10/27 21:31:32 jlam Exp $
SHA1 (php-4.0.6.tar.gz) = 6544eb1085b916541af914a11074e9bb8a037a03
Size (php-4.0.6.tar.gz) = 3157346 bytes
+SHA1 (patch-aa) = 6b3d4fdd6bd4874238d6a8f99ebaafb7e422d866
+SHA1 (patch-ab) = 1b272a7f3b94ff934389a1c224befdfdd259051b
diff --git a/databases/php4-dba/patches/patch-aa b/databases/php4-dba/patches/patch-aa
new file mode 100644
index 00000000000..798c1a202d1
--- /dev/null
+++ b/databases/php4-dba/patches/patch-aa
@@ -0,0 +1,11 @@
+$NetBSD: patch-aa,v 1.1 2001/10/27 21:31:32 jlam Exp $
+
+--- dba_gdbm.c.orig Mon Jul 10 06:09:14 2000
++++ dba_gdbm.c
+@@ -31,2 +31,6 @@
+
++#ifdef HAVE_CONFIG_H
++#include "config.h"
++#endif
++
+ #include "php.h"
diff --git a/databases/php4-dba/patches/patch-ab b/databases/php4-dba/patches/patch-ab
new file mode 100644
index 00000000000..6a6ee69504c
--- /dev/null
+++ b/databases/php4-dba/patches/patch-ab
@@ -0,0 +1,11 @@
+$NetBSD: patch-ab,v 1.1 2001/10/27 21:31:32 jlam Exp $
+
+--- dba_ndbm.c.orig Mon Jul 10 06:09:14 2000
++++ dba_ndbm.c
+@@ -31,2 +31,6 @@
+
++#ifdef HAVE_CONFIG_H
++#include "config.h"
++#endif
++
+ #include "php.h"