Index: head/www/py-bjoern/files/patch-bjoern__portable_sendfile.c =================================================================== --- head/www/py-bjoern/files/patch-bjoern__portable_sendfile.c (revision 320222) +++ head/www/py-bjoern/files/patch-bjoern__portable_sendfile.c (nonexistent) @@ -1,44 +0,0 @@ -See sendfile(2) - ---- ./bjoern/portable_sendfile.c.orig 2012-07-23 14:46:30.000000000 +0000 -+++ ./bjoern/portable_sendfile.c 2013-06-02 18:17:34.000000000 +0000 -@@ -2,13 +2,16 @@ - - #define SENDFILE_CHUNK_SIZE 16*1024 - -+#if defined(__APPLE__) || defined(__FreeBSD__) -+ -+ #include -+ #include -+ #include -+ - #ifdef __APPLE__ - - /* OS X */ - -- #include -- #include -- - ssize_t portable_sendfile(int out_fd, int in_fd) { - off_t len = SENDFILE_CHUNK_SIZE; - if(sendfile(in_fd, out_fd, 0, &len, NULL, 0) == -1) -@@ -18,6 +21,19 @@ - - #else - -+ /* FreeBSD */ -+ -+ ssize_t portable_sendfile(int out_fd, int in_fd) { -+ off_t len = SENDFILE_CHUNK_SIZE; -+ if(sendfile(in_fd, out_fd, 0, SENDFILE_CHUNK_SIZE, NULL, &len, 0) == -1) -+ return -1; -+ return len; -+ } -+ -+#endif -+ -+#else -+ - /* Linux */ - - #include Property changes on: head/www/py-bjoern/files/patch-bjoern__portable_sendfile.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/www/py-bjoern/Makefile =================================================================== --- head/www/py-bjoern/Makefile (revision 320222) +++ head/www/py-bjoern/Makefile (revision 320223) @@ -1,26 +1,26 @@ # Created by: Olivier Duchateau # $FreeBSD$ # PORTNAME= bjoern -PORTVERSION= 1.3.1 +PORTVERSION= 1.3.2 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= olivierd@FreeBSD.org COMMENT= Fast Python WSGI server LICENSE= BSD LIB_DEPENDS= ev:${PORTSDIR}/devel/libev USE_PYTHON= 2.6+ USE_PYDISTUTILS= yes CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lc PLIST_FILES= %%PYTHON_SITELIBDIR%%/${PORTNAME}.so .include Index: head/www/py-bjoern/distinfo =================================================================== --- head/www/py-bjoern/distinfo (revision 320222) +++ head/www/py-bjoern/distinfo (revision 320223) @@ -1,2 +1,2 @@ -SHA256 (bjoern-1.3.1.tar.gz) = e21391c1f52c088554bf62ce54f8af2889412d41f44847ecf05495b6d0a6dd6e -SIZE (bjoern-1.3.1.tar.gz) = 25811 +SHA256 (bjoern-1.3.2.tar.gz) = bb272517760897a96b3fbf0564236a4f9e0e14e05d8cdcc5f9ac2957ff0c89c0 +SIZE (bjoern-1.3.2.tar.gz) = 25878