Received: by mail.netbsd.org (Postfix, from userid 605) id 33E6084D46; Sat, 23 Sep 2017 03:24:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id BB03984D43 for ; Sat, 23 Sep 2017 03:24:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id eyy7mxfHM_Vi for ; Sat, 23 Sep 2017 03:24:55 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 44F8D84CE0 for ; Sat, 23 Sep 2017 03:24:55 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 3C158FA9C; Sat, 23 Sep 2017 03:24:55 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1506137095112890" MIME-Version: 1.0 Date: Sat, 23 Sep 2017 03:24:55 +0000 From: "Maya Rashish" Subject: CVS commit: pkgsrc/devel/libevent To: pkgsrc-changes@NetBSD.org Reply-To: maya@netbsd.org X-Mailer: log_accum Message-Id: <20170923032455.3C158FA9C@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1506137095112890 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: maya Date: Sat Sep 23 03:24:55 UTC 2017 Modified Files: pkgsrc/devel/libevent: distinfo Added Files: pkgsrc/devel/libevent/patches: patch-signal.c Log Message: libevent: provide a no-op fallback definition of SA_RESTART Using 0 as a value because the value varies by OS, for safety QNX 6.5 build fix reported by Jan Danielsson To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 pkgsrc/devel/libevent/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libevent/patches/patch-signal.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1506137095112890 Content-Disposition: inline Content-Length: 1708 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/libevent/distinfo diff -u pkgsrc/devel/libevent/distinfo:1.35 pkgsrc/devel/libevent/distinfo:1.36 --- pkgsrc/devel/libevent/distinfo:1.35 Fri Sep 22 02:58:50 2017 +++ pkgsrc/devel/libevent/distinfo Sat Sep 23 03:24:55 2017 @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.35 2017/09/22 02:58:50 maya Exp $ +$NetBSD: distinfo,v 1.36 2017/09/23 03:24:55 maya Exp $ SHA1 (libevent-2.1.8-stable.tar.gz) = 2a1b8bb7a262d3fd0ed6a080a20991a6eed675ec RMD160 (libevent-2.1.8-stable.tar.gz) = 6c7ce8cb51279f9b6b8d8897192db6a2da3d6797 @@ -6,4 +6,5 @@ SHA512 (libevent-2.1.8-stable.tar.gz) = Size (libevent-2.1.8-stable.tar.gz) = 1026485 bytes SHA1 (patch-Makefile.in) = 09c7524eb8657e1f76232db97273806a8c900219 SHA1 (patch-evutil__rand.c) = 2b51e719d25181e03b5afb7df0bf443f1d62a8f1 +SHA1 (patch-signal.c) = 1058566e7a6e0ffb709fbd2a3440cac86e188657 SHA1 (patch-test_bench__cascade.c) = 58bd32fe0cddc468fda57386283b5298b28ef93e Added files: Index: pkgsrc/devel/libevent/patches/patch-signal.c diff -u /dev/null pkgsrc/devel/libevent/patches/patch-signal.c:1.1 --- /dev/null Sat Sep 23 03:24:55 2017 +++ pkgsrc/devel/libevent/patches/patch-signal.c Sat Sep 23 03:24:55 2017 @@ -0,0 +1,17 @@ +$NetBSD: patch-signal.c,v 1.1 2017/09/23 03:24:55 maya Exp $ + +Provide a fallback definition of SA_RESTART for QNX 6.5 + +--- signal.c.orig 2016-10-04 19:55:31.000000000 +0000 ++++ signal.c +@@ -88,6 +88,10 @@ + #define __cdecl + #endif + ++#ifndef SA_RESTART /* Absent in QNX 6.5 */ ++#define SA_RESTART 0 ++#endif ++ + static int evsig_add(struct event_base *, evutil_socket_t, short, short, void *); + static int evsig_del(struct event_base *, evutil_socket_t, short, short, void *); + --_----------=_1506137095112890--