pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/lighttpd Apply fix from https://redmine.lighttpd.n...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d55d1e005772
branches:  trunk
changeset: 358393:d55d1e005772
user:      he <he%pkgsrc.org@localhost>
date:      Sat Feb 11 21:13:08 2017 +0000

description:
Apply fix from https://redmine.lighttpd.net/issues/2788,
per message to pkgsrc-users@ from Glenn Strauss.
Bump PKGREVISION.

diffstat:

 www/lighttpd/Makefile                                     |   3 +-
 www/lighttpd/distinfo                                     |   3 +-
 www/lighttpd/patches/patch-src_fdevent__freebsd__kqueue.c |  24 +++++++++++++++
 3 files changed, 28 insertions(+), 2 deletions(-)

diffs (56 lines):

diff -r 2be97e0e98f9 -r d55d1e005772 www/lighttpd/Makefile
--- a/www/lighttpd/Makefile     Sat Feb 11 16:08:31 2017 +0000
+++ b/www/lighttpd/Makefile     Sat Feb 11 21:13:08 2017 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.59 2017/01/16 00:30:46 schmonz Exp $
+# $NetBSD: Makefile,v 1.60 2017/02/11 21:13:08 he Exp $
 
 DISTNAME=      lighttpd-1.4.45
 CATEGORIES=    www
 MASTER_SITES=  http://download.lighttpd.net/lighttpd/releases-1.4.x/
 EXTRACT_SUFX=  .tar.xz
+PKGREVISION=   1
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://www.lighttpd.net/
diff -r 2be97e0e98f9 -r d55d1e005772 www/lighttpd/distinfo
--- a/www/lighttpd/distinfo     Sat Feb 11 16:08:31 2017 +0000
+++ b/www/lighttpd/distinfo     Sat Feb 11 21:13:08 2017 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.37 2017/01/16 00:30:46 schmonz Exp $
+$NetBSD: distinfo,v 1.38 2017/02/11 21:13:08 he Exp $
 
 SHA1 (lighttpd-1.4.45.tar.xz) = 03e516f8be59396bc148218fe7b993219dacaf5d
 RMD160 (lighttpd-1.4.45.tar.xz) = 114d047df0aadb0decd5a25357ddb6a9d7e4188e
 SHA512 (lighttpd-1.4.45.tar.xz) = d030674a8c55aab12d32ac75f8df2628ba2332a5263c8bd2dd4f39342530080edc6ba2a6fee749c1301d601ab766a265d3c630b04d38bb26bba3cf045935573d
 Size (lighttpd-1.4.45.tar.xz) = 660432 bytes
 SHA1 (patch-doc_config_lighttpd.conf) = de14fd0aa0ed2cac5846d810b5c89af4036f1b70
+SHA1 (patch-src_fdevent__freebsd__kqueue.c) = d244910413125ff0e697538b9d1b3c21a19f4cd2
diff -r 2be97e0e98f9 -r d55d1e005772 www/lighttpd/patches/patch-src_fdevent__freebsd__kqueue.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/lighttpd/patches/patch-src_fdevent__freebsd__kqueue.c Sat Feb 11 21:13:08 2017 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_fdevent__freebsd__kqueue.c,v 1.1 2017/02/11 21:13:08 he Exp $
+
+Apply fix from https://redmine.lighttpd.net/issues/2788,
+ref. request from Glenn Strauss.
+
+--- src/fdevent_freebsd_kqueue.c.orig  2017-01-14 05:05:17.000000000 +0000
++++ src/fdevent_freebsd_kqueue.c
+@@ -75,14 +75,14 @@ static int fdevent_freebsd_kqueue_event_
+       if (events == oevents) return fd;
+ 
+       if (addevents & FDEVENT_IN)  {
+-              EV_SET(&kev[n], fd, EVFILT_READ, EV_ADD|EV_CLEAR, 0, 0, NULL);
++              EV_SET(&kev[n], fd, EVFILT_READ, EV_ADD, 0, 0, NULL);
+               n++;
+       } else if (delevents & FDEVENT_IN) {
+               EV_SET(&kev[n], fd, EVFILT_READ, EV_DELETE, 0, 0, NULL);
+               n++;
+       }
+       if (addevents & FDEVENT_OUT)  {
+-              EV_SET(&kev[n], fd, EVFILT_WRITE, EV_ADD|EV_CLEAR, 0, 0, NULL);
++              EV_SET(&kev[n], fd, EVFILT_WRITE, EV_ADD, 0, 0, NULL);
+               n++;
+       } else if (delevents & FDEVENT_OUT) {
+               EV_SET(&kev[n], fd, EVFILT_WRITE, EV_DELETE, 0, 0, NULL);



Home | Main Index | Thread Index | Old Index