Received: by mail.netbsd.org (Postfix, from userid 605) id F3A2684E7B; Mon, 22 Oct 2018 15:33:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id F0FDF84E74 for ; Mon, 22 Oct 2018 15:33:44 +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 UkMhj8aHmZbi for ; Mon, 22 Oct 2018 15:33:44 +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 3655484D53 for ; Mon, 22 Oct 2018 15:33:44 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 319B9FBEE; Mon, 22 Oct 2018 15:33:44 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1540222424200060" MIME-Version: 1.0 Date: Mon, 22 Oct 2018 15:33:44 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/net/py-gevent To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20181022153344.319B9FBEE@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. --_----------=_1540222424200060 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jperkin Date: Mon Oct 22 15:33:44 UTC 2018 Modified Files: pkgsrc/net/py-gevent: Makefile Log Message: py-gevent: Fix SunOS C99 build. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 pkgsrc/net/py-gevent/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1540222424200060 Content-Disposition: inline Content-Length: 897 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/net/py-gevent/Makefile diff -u pkgsrc/net/py-gevent/Makefile:1.11 pkgsrc/net/py-gevent/Makefile:1.12 --- pkgsrc/net/py-gevent/Makefile:1.11 Sun Aug 19 09:44:28 2018 +++ pkgsrc/net/py-gevent/Makefile Mon Oct 22 15:33:44 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2018/08/19 09:44:28 adam Exp $ +# $NetBSD: Makefile,v 1.12 2018/10/22 15:33:44 jperkin Exp $ DISTNAME= gevent-1.3.6 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -31,6 +31,12 @@ USE_LANGUAGES= c c++ # Explicitly disable inotify on SunOS, assumes Linux statfs. MAKE_ENV.SunOS+= ac_cv_header_sys_inotify_h=no +.include "../../mk/compiler.mk" + +.if !empty(PKGSRC_COMPILER:Mclang) || !empty(CC_VERSION:Mgcc-[6-9]*) +BUILDLINK_TRANSFORM.SunOS+= opt:-D_XOPEN_SOURCE=500:-D_XOPEN_SOURCE=600 +.endif + do-test: cd ${WRKSRC}/src/greentest && \ ${PYTHONBIN} testrunner.py --config known_failures.py --_----------=_1540222424200060--