View | Details | Raw Unified | Return to bug 193615 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 2-8 Link Here
2
PORTNAME=	libevhtp
2
PORTNAME=	libevhtp
3
PORTVERSION=	1.2.9
3
PORTVERSION=	1.2.9
4
PORTREVISION=	1
4
PORTREVISION=	2
5
CATEGORIES=	www
5
CATEGORIES=	www
6
MAINTAINER=	yan_jingfeng@yahoo.com
6
MAINTAINER=	yan_jingfeng@yahoo.com
(-)files/patch-evhtp.c (-9 / +6 lines)
Lines 1-17 Link Here
1
--- evhtp.c.orig	2014-03-23 07:50:50.000000000 -0400
1
--- evhtp.c.orig	2014-03-23 11:50:50.000000000 +0000
2
+++ evhtp.c	2014-08-28 09:08:40.970619326 -0400
2
+++ evhtp.c	2014-09-13 12:37:11.000000000 +0000
3
@@ -6,6 +6,10 @@
3
@@ -7,6 +7,7 @@
4
 #include <signal.h>
5
 #include <strings.h>
4
 #include <strings.h>
6
 #include <inttypes.h>
5
 #include <inttypes.h>
7
+#ifdef SO_ACCEPTFILTER
6
 #ifndef WIN32
8
+#include <sys/types.h>
7
+#include <sys/types.h>
9
+#include <sys/socket.h>
10
+#endif
11
 #ifndef WIN32
12
 #include <sys/socket.h>
8
 #include <sys/socket.h>
13
 #include <netinet/in.h>
9
 #include <netinet/in.h>
14
@@ -2740,7 +2744,14 @@
10
 #include <netinet/tcp.h>
11
@@ -2740,7 +2741,14 @@
15
         sock = evconnlistener_get_fd(htp->server);
12
         sock = evconnlistener_get_fd(htp->server);

Return to bug 193615