Received: by mail.netbsd.org (Postfix, from userid 605) id 80AA784D8B; Wed, 2 Aug 2017 12:13:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 14E1784D71 for ; Wed, 2 Aug 2017 12:13:35 +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 McVhS3uxhGZl for ; Wed, 2 Aug 2017 12:13: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 6F75784CDD for ; Wed, 2 Aug 2017 12:13:34 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 6AB9BFACD; Wed, 2 Aug 2017 12:13:34 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1501676014173470" MIME-Version: 1.0 Date: Wed, 2 Aug 2017 12:13:34 +0000 From: "Maya Rashish" Subject: CVS commit: pkgsrc/textproc/openjade To: pkgsrc-changes@NetBSD.org Reply-To: maya@netbsd.org X-Mailer: log_accum Message-Id: <20170802121334.6AB9BFACD@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. --_----------=_1501676014173470 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: maya Date: Wed Aug 2 12:13:34 UTC 2017 Modified Files: pkgsrc/textproc/openjade: Makefile Log Message: openjade: Add a hack to fix the build of postgresql95-docs if built with GCC>6. The openjade code is wrong, see analysis at: https://bugzilla.redhat.com/show_bug.cgi?id=1306162 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69534#c9 From Thomas Orgis To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 pkgsrc/textproc/openjade/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1501676014173470 Content-Disposition: inline Content-Length: 1096 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/textproc/openjade/Makefile diff -u pkgsrc/textproc/openjade/Makefile:1.29 pkgsrc/textproc/openjade/Makefile:1.30 --- pkgsrc/textproc/openjade/Makefile:1.29 Sat Jul 9 06:39:07 2016 +++ pkgsrc/textproc/openjade/Makefile Wed Aug 2 12:13:34 2017 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.29 2016/07/09 06:39:07 wiz Exp $ +# $NetBSD: Makefile,v 1.30 2017/08/02 12:13:34 maya Exp $ DISTNAME= openjade-1.3.2 -PKGREVISION= 11 +PKGREVISION= 12 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openjade/} @@ -31,6 +31,14 @@ INSTALLATION_DIRS= ${OPENJADE_DATA_DIR}/ ${OPENJADE_DOC_DIR}/doc \ ${OPENJADE_DOC_DIR}/jadedoc/images +.include "../../mk/compiler.mk" +# Segfaults building postgresql95-docs. see: +# https://bugzilla.redhat.com/show_bug.cgi?id=1306162 +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69534#c9 +.if ${PKGSRC_COMPILER} == "gcc" +CFLAGS+= -fno-tree-dse +.endif + post-install: ${INSTALL_DATA} ${WRKSRC}/dsssl/* ${DESTDIR}${OPENJADE_DATA_DIR} ${INSTALL_DATA} ${WRKSRC}/pubtext/* ${DESTDIR}${OPENJADE_DATA_DIR}/pubtext --_----------=_1501676014173470--