pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/thttpd <sys/param.h> must be included before query...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/07dbb6cb8eb5
branches:  trunk
changeset: 504167:07dbb6cb8eb5
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Dec 06 14:09:29 2005 +0000

description:
<sys/param.h> must be included before querying __NetBSD_Version__. Noted
by Mito Osamu in PR 25487.

diffstat:

 www/thttpd/distinfo         |   4 ++--
 www/thttpd/patches/patch-af |  12 ++++++++----
 2 files changed, 10 insertions(+), 6 deletions(-)

diffs (39 lines):

diff -r 3ddef4e9b7e8 -r 07dbb6cb8eb5 www/thttpd/distinfo
--- a/www/thttpd/distinfo       Tue Dec 06 13:27:01 2005 +0000
+++ b/www/thttpd/distinfo       Tue Dec 06 14:09:29 2005 +0000
@@ -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-ab) = 3766ae48fabc1980483e482157d1267971e621df
 SHA1 (patch-ac) = 71b2926a9513bd25a124510ad5f234d029492eb2
 SHA1 (patch-ad) = 234127aaf4a3b5e6536bd08cc80f823800240fac
-SHA1 (patch-af) = 2fa1603964383a745a82f1760faa947193764079
+SHA1 (patch-af) = 5160b635cdf9b3c997e93e039ef2764f77857018
 SHA1 (patch-ag) = 01410f8d293e2d4033f2a1119b21c05e21dfefbe
diff -r 3ddef4e9b7e8 -r 07dbb6cb8eb5 www/thttpd/patches/patch-af
--- a/www/thttpd/patches/patch-af       Tue Dec 06 13:27:01 2005 +0000
+++ b/www/thttpd/patches/patch-af       Tue Dec 06 14:09:29 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index