pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/mini_httpd Add DragonFly support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/97f4111324ff
branches:  trunk
changeset: 504298:97f4111324ff
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Dec 08 17:11:58 2005 +0000

description:
Add DragonFly support.

diffstat:

 www/mini_httpd/distinfo         |   3 ++-
 www/mini_httpd/patches/patch-ab |  21 +++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r 48869577f48a -r 97f4111324ff www/mini_httpd/distinfo
--- a/www/mini_httpd/distinfo   Thu Dec 08 16:09:05 2005 +0000
+++ b/www/mini_httpd/distinfo   Thu Dec 08 17:11:58 2005 +0000
@@ -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 -r 48869577f48a -r 97f4111324ff www/mini_httpd/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/mini_httpd/patches/patch-ab   Thu Dec 08 17:11:58 2005 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index