FreeBSD Bugzilla – Attachment 179880 Details for
Bug 217007
www/lighttpd: add LUA to default options, switch to using kqueue in level-trigerred mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
lighttpd.patch (text/plain), 1.90 KB, created by
Piotr Kubaj
on 2017-02-11 19:55:01 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2017-02-11 19:55:01 UTC
Size:
1.90 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 433476) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME?= lighttpd > PORTVERSION= 1.4.45 >+PORTREVISION= 1 > CATEGORIES?= www > MASTER_SITES?= http://download.lighttpd.net/lighttpd/releases-1.4.x/ > >@@ -36,7 +37,7 @@ > OPTIONS_DEFINE= ATTR BZIP2 DOCS FAM GDBM GEOIP IPV6 KRB5 LIBEV LUA MEMCACHED \ > MYSQL LDAP OPENSSL SPAWNFCGI VALGRIND WEBDAV > >-OPTIONS_DEFAULT= OPENSSL >+OPTIONS_DEFAULT= LUA OPENSSL > OPTIONS_SUB= yes > > ATTR_DESC= extended attributes support >Index: files/patch-src_fdevent__freebsd__kqueue.c >=================================================================== >--- files/patch-src_fdevent__freebsd__kqueue.c (revision 0) >+++ files/patch-src_fdevent__freebsd__kqueue.c (working copy) >@@ -0,0 +1,19 @@ >+--- src/fdevent_freebsd_kqueue.c.orig 2017-02-11 19:44:05 UTC >++++ 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); > >Property changes on: files/patch-src_fdevent__freebsd__kqueue.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 217007
: 179880