pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/lighttpd Fix build break on illumos



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3afa1b6930d6
branches:  trunk
changeset: 404353:3afa1b6930d6
user:      nros <nros%pkgsrc.org@localhost>
date:      Mon Nov 11 19:47:10 2019 +0000

description:
Fix build break on illumos

Fix build break on illumos, taken from upstream.

diffstat:

 www/lighttpd/distinfo                                   |   3 ++-
 www/lighttpd/patches/patch-src_fdevent__solaris__port.c |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r dc3b483fd8ed -r 3afa1b6930d6 www/lighttpd/distinfo
--- a/www/lighttpd/distinfo     Mon Nov 11 19:28:04 2019 +0000
+++ b/www/lighttpd/distinfo     Mon Nov 11 19:47:10 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.53 2019/05/29 10:01:28 nia Exp $
+$NetBSD: distinfo,v 1.54 2019/11/11 19:47:10 nros Exp $
 
 SHA1 (lighttpd-1.4.54.tar.xz) = 31c6df437d90f4bceb41f6d758e0fbcd0f854a37
 RMD160 (lighttpd-1.4.54.tar.xz) = 24ac7d816918e1c87aaaa1e6ae8f775a464527fc
@@ -6,3 +6,4 @@
 Size (lighttpd-1.4.54.tar.xz) = 763248 bytes
 SHA1 (patch-doc_config_lighttpd.conf) = 9b249155aa29d7d068d48a601f314aa4b62491ef
 SHA1 (patch-doc_lighttpd.8) = 81b7606752312227b142975d4e781496442e9ed8
+SHA1 (patch-src_fdevent__solaris__port.c) = 7d9175065bb751b4a23941c97d0ff0383586cd7e
diff -r dc3b483fd8ed -r 3afa1b6930d6 www/lighttpd/patches/patch-src_fdevent__solaris__port.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/lighttpd/patches/patch-src_fdevent__solaris__port.c   Mon Nov 11 19:47:10 2019 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_fdevent__solaris__port.c,v 1.3 2019/11/11 19:47:10 nros Exp $
+* fix build on illumos
+  from upstream: https://redmine.lighttpd.net/issues/2959
+--- src/fdevent_solaris_port.c.orig    2019-11-11 18:06:14.250349299 +0000
++++ src/fdevent_solaris_port.c
+@@ -20,7 +20,7 @@ static int fdevent_solaris_port_event_de
+ }
+ 
+ static int fdevent_solaris_port_event_set(fdevents *ev, fdnode *fdn, int events) {
+-    int fd = fdn->fdn_ndx = fdn->fd;
++    int fd = fdn->fde_ndx = fdn->fd;
+     intptr_t ud = events & (POLLIN|POLLOUT);
+     return port_associate(ev->port_fd,PORT_SOURCE_FD,fd,(int)ud,(void*)ud);
+ }



Home | Main Index | Thread Index | Old Index