summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-12-06 14:09:29 +0000
committerrillig <rillig@pkgsrc.org>2005-12-06 14:09:29 +0000
commit4bc38f1be11be2c4c8dbd1249f4ce73ee40c439a (patch)
treefd9c7e17d360cd3b375e35139a69290d3a3672ae /www
parenta2d9efff56368371326f379e3ddf18b1f96b523b (diff)
downloadpkgsrc-4bc38f1be11be2c4c8dbd1249f4ce73ee40c439a.tar.gz
<sys/param.h> must be included before querying __NetBSD_Version__. Noted
by Mito Osamu in PR 25487.
Diffstat (limited to 'www')
-rw-r--r--www/thttpd/distinfo4
-rw-r--r--www/thttpd/patches/patch-af12
2 files changed, 10 insertions, 6 deletions
diff --git a/www/thttpd/distinfo b/www/thttpd/distinfo
index 2211b28c5c5..d76ed476536 100644
--- a/www/thttpd/distinfo
+++ b/www/thttpd/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2005/11/29 21:21:12 adrianp Exp $
+$NetBSD: distinfo,v 1.14 2005/12/06 14:09:29 rillig Exp $
SHA1 (thttpd-2.25b/thttpd-2.25b.tar.gz) = cd0e823233ad73e34ee1c9b871b01050feb9db52
RMD160 (thttpd-2.25b/thttpd-2.25b.tar.gz) = 2b67abe40dfec7a21ed338a9082594825a9fef0e
@@ -10,5 +10,5 @@ SHA1 (patch-aa) = 0f739bebf1ade45a9b9819fc92d48eeb1004eb66
SHA1 (patch-ab) = 3766ae48fabc1980483e482157d1267971e621df
SHA1 (patch-ac) = 71b2926a9513bd25a124510ad5f234d029492eb2
SHA1 (patch-ad) = 234127aaf4a3b5e6536bd08cc80f823800240fac
-SHA1 (patch-af) = 2fa1603964383a745a82f1760faa947193764079
+SHA1 (patch-af) = 5160b635cdf9b3c997e93e039ef2764f77857018
SHA1 (patch-ag) = 01410f8d293e2d4033f2a1119b21c05e21dfefbe
diff --git a/www/thttpd/patches/patch-af b/www/thttpd/patches/patch-af
index 7d8cea9e833..5c2b4a298ca 100644
--- a/www/thttpd/patches/patch-af
+++ b/www/thttpd/patches/patch-af
@@ -1,11 +1,15 @@
-$NetBSD: patch-af,v 1.3 2004/09/14 08:32:16 wiz Exp $
+$NetBSD: patch-af,v 1.4 2005/12/06 14:09:29 rillig Exp $
---- mmc.c.orig 2003-12-25 20:06:35.000000000 +0100
-+++ mmc.c
-@@ -38,6 +38,10 @@
+--- mmc.c.orig Wed Jun 29 19:50:47 2005
++++ mmc.c Tue Dec 6 15:06:34 2005
+@@ -38,6 +38,14 @@
#include <syslog.h>
#include <errno.h>
++#if defined(__NetBSD__)
++#include <sys/param.h>
++#endif
++
+#if (defined(__NetBSD__) && __NetBSD_Version__ <= 105120000)
+#undef HAVE_MMAP
+#endif