diff options
-rw-r--r-- | www/mini_httpd/distinfo | 3 | ||||
-rw-r--r-- | www/mini_httpd/patches/patch-ab | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/www/mini_httpd/distinfo b/www/mini_httpd/distinfo index 6fe192691e1..d9102ad7bb5 100644 --- a/www/mini_httpd/distinfo +++ b/www/mini_httpd/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2005/07/08 18:16:04 kristerw Exp $ +$NetBSD: distinfo,v 1.4 2005/12/08 17:11:58 joerg Exp $ SHA1 (mini_httpd-1.19/mini_httpd-1.19.tar.gz) = b156a5e0b9b6e2169ed772a5890fc63d8ed60514 RMD160 (mini_httpd-1.19/mini_httpd-1.19.tar.gz) = 4e8ec41bd9238d49481354bcf9404fb11519a667 Size (mini_httpd-1.19/mini_httpd-1.19.tar.gz) = 42063 bytes SHA1 (patch-aa) = 3e30a58fa50283a5b9fe3d272ae312f825a4c8ec +SHA1 (patch-ab) = bf74dd6f6a921024e0dde08eeff39fdf64706414 diff --git a/www/mini_httpd/patches/patch-ab b/www/mini_httpd/patches/patch-ab new file mode 100644 index 00000000000..e5dde3dbbd7 --- /dev/null +++ b/www/mini_httpd/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1 2005/12/08 17:11:58 joerg Exp $ + +--- port.h.orig 2005-12-08 17:07:17.000000000 +0000 ++++ port.h +@@ -1,6 +1,6 @@ + /* port.h - portability defines */ + +-#if defined(__FreeBSD__) ++#if defined(__FreeBSD__) || defined(__DragonFly__) + # define OS_FreeBSD + # define ARCH "FreeBSD" + #elif defined(__OpenBSD__) +@@ -39,7 +39,7 @@ + # define HAVE_INT64T + # ifdef SO_ACCEPTFILTER + # define HAVE_ACCEPT_FILTERS +-# if ( __FreeBSD_version >= 411000 ) ++# if ( defined(__FreeBSD_version) && __FreeBSD_version >= 411000 ) + # define ACCEPT_FILTER_NAME "httpready" + # else + # define ACCEPT_FILTER_NAME "dataready" |