summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul de Vrieze <pauldv@gentoo.org>2003-08-01 13:48:25 +0000
committerPaul de Vrieze <pauldv@gentoo.org>2003-08-01 13:48:25 +0000
commit27b63f783f264fc4d95e274f8311b6dd04053086 (patch)
tree96251061d88bb5e2ff932feefec997b330ce9048 /net-misc/cfengine/files
parentMake cfengine work with db4 (diff)
downloadhistorical-27b63f783f264fc4d95e274f8311b6dd04053086.tar.gz
historical-27b63f783f264fc4d95e274f8311b6dd04053086.tar.bz2
historical-27b63f783f264fc4d95e274f8311b6dd04053086.zip
Make cfengine work with db4
Diffstat (limited to 'net-misc/cfengine/files')
-rw-r--r--net-misc/cfengine/files/cfengine-2.0.6-db4.diff23
-rw-r--r--net-misc/cfengine/files/digest-cfengine-2.0.6-r11
2 files changed, 24 insertions, 0 deletions
diff --git a/net-misc/cfengine/files/cfengine-2.0.6-db4.diff b/net-misc/cfengine/files/cfengine-2.0.6-db4.diff
new file mode 100644
index 000000000000..2749516484e7
--- /dev/null
+++ b/net-misc/cfengine/files/cfengine-2.0.6-db4.diff
@@ -0,0 +1,23 @@
+--- configure.orig 2003-08-01 15:35:36.000000000 +0200
++++ configure 2003-08-01 15:36:10.000000000 +0200
+@@ -4904,6 +4904,7 @@
+ cat >conftest.$ac_ext <<_ACEOF
+ #line 4905 "configure"
+ #include "confdefs.h"
++#include "db.h"
+
+ /* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+@@ -4911,11 +4912,10 @@
+ #endif
+ /* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+-char db_create ();
+ int
+ main ()
+ {
+-db_create ();
++db_create (0,0,0);
+ ;
+ return 0;
+ }
diff --git a/net-misc/cfengine/files/digest-cfengine-2.0.6-r1 b/net-misc/cfengine/files/digest-cfengine-2.0.6-r1
new file mode 100644
index 000000000000..7d20074ad94b
--- /dev/null
+++ b/net-misc/cfengine/files/digest-cfengine-2.0.6-r1
@@ -0,0 +1 @@
+MD5 88b1af1671f3dac97a95de7adc3de305 cfengine-2.0.6.tar.gz 1173772