pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libev libev: fix build on SunOS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a041c43b3f98
branches:  trunk
changeset: 339363:a041c43b3f98
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Wed Sep 11 21:35:50 2019 +0000

description:
libev: fix build on SunOS

diffstat:

 devel/libev/Makefile                 |   3 ++-
 devel/libev/distinfo                 |   3 ++-
 devel/libev/patches/patch-ev__port.c |  14 ++++++++++++++
 3 files changed, 18 insertions(+), 2 deletions(-)

diffs (46 lines):

diff -r 534d86c45a64 -r a041c43b3f98 devel/libev/Makefile
--- a/devel/libev/Makefile      Wed Sep 11 21:20:48 2019 +0000
+++ b/devel/libev/Makefile      Wed Sep 11 21:35:50 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2019/07/20 21:51:11 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2019/09/11 21:35:50 wiedi Exp $
 
 DISTNAME=      libev-4.27
 CATEGORIES=    devel
@@ -15,5 +15,6 @@
 CONFIGURE_ARGS+=       --includedir=${PREFIX}/include/ev
 # Explicitly disable inotify on SunOS, assumes Linux statfs.
 CONFIGURE_ENV.SunOS+=  ac_cv_header_sys_inotify_h=no
+CONFIGURE_ENV.SunOS+=  ac_cv_header_sys_epoll_h=no
 
 .include "../../mk/bsd.pkg.mk"
diff -r 534d86c45a64 -r a041c43b3f98 devel/libev/distinfo
--- a/devel/libev/distinfo      Wed Sep 11 21:20:48 2019 +0000
+++ b/devel/libev/distinfo      Wed Sep 11 21:35:50 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.14 2019/07/20 21:51:11 wiz Exp $
+$NetBSD: distinfo,v 1.15 2019/09/11 21:35:50 wiedi Exp $
 
 SHA1 (libev-4.27.tar.gz) = b67aff18f6f1ffec4422e188c98d9fe458c5ed0b
 RMD160 (libev-4.27.tar.gz) = 6c0f0570df92644a1fce7d859428e80e409d2c86
 SHA512 (libev-4.27.tar.gz) = 18fbac15c3a24b2efcd547d98d423fe59a1684cd3afe7ff25a3da54d8df3e11f351df455657d830df93366853f74d584f6e47a7c9ffaba84aa586957bf39ea82
 Size (libev-4.27.tar.gz) = 556658 bytes
+SHA1 (patch-ev__port.c) = c8093229af41dcc9ae4a3a45994a3f3fd596ff3f
diff -r 534d86c45a64 -r a041c43b3f98 devel/libev/patches/patch-ev__port.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libev/patches/patch-ev__port.c      Wed Sep 11 21:35:50 2019 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ev__port.c,v 1.1 2019/09/11 21:35:51 wiedi Exp $
+
+fix syntax error
+--- ev_port.c.orig     2019-06-25 23:42:03.000000000 +0000
++++ ev_port.c
+@@ -70,7 +70,7 @@ port_associate_and_check (EV_P_ int fd,
+     {
+       if (errno == EBADFD)
+         {
+-          assert (("libev: port_associate found invalid fd", errno != EBADFD);
++          assert (("libev: port_associate found invalid fd", errno != EBADFD));
+           fd_kill (EV_A_ fd);
+         }
+       else



Home | Main Index | Thread Index | Old Index