summaryrefslogtreecommitdiff
path: root/www/webalizer
diff options
context:
space:
mode:
authordholland <dholland>2010-07-31 21:09:14 +0000
committerdholland <dholland>2010-07-31 21:09:14 +0000
commit1145723cf0bb05839bd41ce4af943250ef10e88e (patch)
tree2cf3a44812d70fc6d3a45467383e8d96e85d283e /www/webalizer
parent88ed7f2105dba7212743e9f86d4a40c4fd077447 (diff)
downloadpkgsrc-1145723cf0bb05839bd41ce4af943250ef10e88e.tar.gz
#undef u_int64_t before including db.h, as on platforms where u_int64_t
is missing, this package's configure script defines it on the command line and db4 also provides it as a typedef in db.h, and the two don't mix. This is a hack, but it should fix PR 42805.
Diffstat (limited to 'www/webalizer')
-rw-r--r--www/webalizer/distinfo6
-rw-r--r--www/webalizer/patches/patch-ba18
-rw-r--r--www/webalizer/patches/patch-bb18
-rw-r--r--www/webalizer/patches/patch-bc18
-rw-r--r--www/webalizer/patches/patch-bd18
5 files changed, 77 insertions, 1 deletions
diff --git a/www/webalizer/distinfo b/www/webalizer/distinfo
index ae2b757e836..325779ea7d7 100644
--- a/www/webalizer/distinfo
+++ b/www/webalizer/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2010/06/02 13:13:14 adam Exp $
+$NetBSD: distinfo,v 1.15 2010/07/31 21:09:14 dholland Exp $
SHA1 (webalizer-2.21-02-src.tar.bz2) = b637ebf1eb459e03c052c24d7da3e5f0794e2230
RMD160 (webalizer-2.21-02-src.tar.bz2) = c7d48acf6e2c1fedfd04eac30214a76db7c84aee
@@ -6,3 +6,7 @@ Size (webalizer-2.21-02-src.tar.bz2) = 304926 bytes
SHA1 (patch-ac) = f4885b334b3adb3f8523f959a89e6fe5f7f3b52f
SHA1 (patch-ad) = 09e9ca7fd61b0ad13306e98a644f362a932fcf3b
SHA1 (patch-ae) = ea0c444408cef1be4e69b837170bbbe9a7a5150e
+SHA1 (patch-ba) = eadf9f9d22c89d441debd90b993846529fc872fd
+SHA1 (patch-bb) = d8a5f6f60f53d6de8fc24d3b1844a052be0ad69a
+SHA1 (patch-bc) = 98d263cfb585477798f620a6f3690680ce2759b6
+SHA1 (patch-bd) = 21f074725a85de5d9d865b84cc88dc04919226d4
diff --git a/www/webalizer/patches/patch-ba b/www/webalizer/patches/patch-ba
new file mode 100644
index 00000000000..fa1ec6e1e7c
--- /dev/null
+++ b/www/webalizer/patches/patch-ba
@@ -0,0 +1,18 @@
+$NetBSD: patch-ba,v 1.1 2010/07/31 21:09:14 dholland Exp $
+
+Avoid conflict between configure script, which #defines u_int64_t on
+the command line, and db.h, which provides it on platforms where it's
+missing. PR 42805.
+
+(Upstream ought to switch to using uint64_t and stdint.h.)
+
+--- dns_resolv.c.orig 2009-01-13 04:42:46.000000000 +0000
++++ dns_resolv.c
+@@ -61,6 +61,7 @@
+ #include <sys/stat.h>
+ #include <sys/time.h>
+ #include <sys/wait.h>
++#undef u_int64_t
+ #include <db.h> /* DB header ****************/
+ #include "webalizer.h" /* main header */
+ #include "lang.h" /* language declares */
diff --git a/www/webalizer/patches/patch-bb b/www/webalizer/patches/patch-bb
new file mode 100644
index 00000000000..081d923f3c5
--- /dev/null
+++ b/www/webalizer/patches/patch-bb
@@ -0,0 +1,18 @@
+$NetBSD: patch-bb,v 1.1 2010/07/31 21:09:14 dholland Exp $
+
+Avoid conflict between configure script, which #defines u_int64_t on
+the command line, and db.h, which provides it on platforms where it's
+missing. PR 42805.
+
+(Upstream ought to switch to using uint64_t and stdint.h.)
+
+--- output.c.orig 2009-01-13 05:34:04.000000000 +0000
++++ output.c
+@@ -35,6 +35,7 @@
+ #include <sys/stat.h>
+ #include <sys/utsname.h>
+ #ifdef USE_DNS
++#undef u_int64_t
+ #include <db.h>
+ #endif
+
diff --git a/www/webalizer/patches/patch-bc b/www/webalizer/patches/patch-bc
new file mode 100644
index 00000000000..9cda072a3dc
--- /dev/null
+++ b/www/webalizer/patches/patch-bc
@@ -0,0 +1,18 @@
+$NetBSD: patch-bc,v 1.1 2010/07/31 21:09:14 dholland Exp $
+
+Avoid conflict between configure script, which #defines u_int64_t on
+the command line, and db.h, which provides it on platforms where it's
+missing. PR 42805.
+
+(Upstream ought to switch to using uint64_t and stdint.h.)
+
+--- wcmgr.c.orig 2009-01-13 04:45:49.000000000 +0000
++++ wcmgr.c
+@@ -70,6 +70,7 @@ int main()
+ #include <sys/types.h>
+ #endif
+
++#undef u_int64_t
+ #include <db.h>
+ #include "webalizer.h"
+
diff --git a/www/webalizer/patches/patch-bd b/www/webalizer/patches/patch-bd
new file mode 100644
index 00000000000..72cfd1278cd
--- /dev/null
+++ b/www/webalizer/patches/patch-bd
@@ -0,0 +1,18 @@
+$NetBSD: patch-bd,v 1.1 2010/07/31 21:09:14 dholland Exp $
+
+Avoid conflict between configure script, which #defines u_int64_t on
+the command line, and db.h, which provides it on platforms where it's
+missing. PR 42805.
+
+(Upstream ought to switch to using uint64_t and stdint.h.)
+
+--- webalizer.c.orig 2009-01-13 05:35:54.000000000 +0000
++++ webalizer.c
+@@ -68,6 +68,7 @@
+ #include <netdb.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
++#undef u_int64_t
+ #include <db.h>
+ #endif /* USE_DNS */
+