Received: by mail.netbsd.org (Postfix, from userid 605) id 0E5A584D82; Thu, 1 Feb 2018 13:34:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 8DDC984D40 for ; Thu, 1 Feb 2018 13:34:34 +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 hSjqPlUglWSe for ; Thu, 1 Feb 2018 13:34:34 +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 EDBF484CDD for ; Thu, 1 Feb 2018 13:34:33 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id E8D4DFB40; Thu, 1 Feb 2018 13:34:33 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1517492073186780" MIME-Version: 1.0 Date: Thu, 1 Feb 2018 13:34:33 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/misc/screen To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20180201133433.E8D4DFB40@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. --_----------=_1517492073186780 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jperkin Date: Thu Feb 1 13:34:33 UTC 2018 Modified Files: pkgsrc/misc/screen: Makefile Log Message: screen: Support newer GCC and clang on SunOS. To generate a diff of this commit: cvs rdiff -u -r1.105 -r1.106 pkgsrc/misc/screen/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1517492073186780 Content-Disposition: inline Content-Length: 817 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/misc/screen/Makefile diff -u pkgsrc/misc/screen/Makefile:1.105 pkgsrc/misc/screen/Makefile:1.106 --- pkgsrc/misc/screen/Makefile:1.105 Thu Dec 14 09:38:43 2017 +++ pkgsrc/misc/screen/Makefile Thu Feb 1 13:34:33 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.105 2017/12/14 09:38:43 wiz Exp $ +# $NetBSD: Makefile,v 1.106 2018/02/01 13:34:33 jperkin Exp $ DISTNAME= screen-4.6.2 PKGREVISION= 1 @@ -44,7 +44,11 @@ SUBST_STAGE.paths= post-patch PLIST_VARS+= terminfo .if ${OPSYS} == "SunOS" +. if !empty(PKGSRC_COMPILER:Mclang) || !empty(CC_VERSION:Mgcc-[6-9]*) +CPPFLAGS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ +. else CPPFLAGS+= -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ +. endif . if ${CURSES_DEFAULT} == "curses" INSTALLATION_DIRS+= share/lib/terminfo PLIST.terminfo= yes --_----------=_1517492073186780--