Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id A333C1A923C for ; Sat, 1 Jan 2022 16:51:47 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id B62BF84E8D; Sat, 1 Jan 2022 16:51:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id F3E8E84CFC for ; Sat, 1 Jan 2022 16:51:45 +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 153BhIoc9ijl for ; Sat, 1 Jan 2022 16:51:45 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 769D784CE3 for ; Sat, 1 Jan 2022 16:51:45 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 6A5F7FAEC; Sat, 1 Jan 2022 16:51:45 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1641055905281300" MIME-Version: 1.0 Date: Sat, 1 Jan 2022 16:51:45 +0000 From: "Benny Siegert" Subject: CVS commit: [pkgsrc-2021Q4] pkgsrc/graphics/graphviz To: pkgsrc-changes@NetBSD.org Reply-To: bsiegert@netbsd.org X-Mailer: log_accum Message-Id: <20220101165145.6A5F7FAEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1641055905281300 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: bsiegert Date: Sat Jan 1 16:51:45 UTC 2022 Modified Files: pkgsrc/graphics/graphviz [pkgsrc-2021Q4]: Makefile Log Message: Pullup ticket #6557 - requested by he graphics/graphviz: PowerPC build fix Revisions pulled up: - graphics/graphviz/Makefile 1.242 --- Module Name: pkgsrc Committed By: he Date: Wed Dec 29 12:10:32 UTC 2021 Modified Files: pkgsrc/graphics/graphviz: Makefile Log Message: Build with -fopenmp on NetBSD/powerpc, so that we link explicitly with -lgomp and thereby avoid overflowing the static thread local storage allocated in ld.elf_so when libgomp.so is dlopen()ed indirectly via libgvplugin_gd.so. Bump PKGREVISION. To generate a diff of this commit: cvs rdiff -u -r1.241 -r1.241.2.1 pkgsrc/graphics/graphviz/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1641055905281300 Content-Disposition: inline Content-Length: 1071 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/graphics/graphviz/Makefile diff -u pkgsrc/graphics/graphviz/Makefile:1.241 pkgsrc/graphics/graphviz/Makefile:1.241.2.1 --- pkgsrc/graphics/graphviz/Makefile:1.241 Wed Dec 8 16:04:56 2021 +++ pkgsrc/graphics/graphviz/Makefile Sat Jan 1 16:51:45 2022 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.241 2021/12/08 16:04:56 adam Exp $ +# $NetBSD: Makefile,v 1.241.2.1 2022/01/01 16:51:45 bsiegert Exp $ DISTNAME= graphviz-2.49.3 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= graphics MASTER_SITES= https://gitlab.com/graphviz/graphviz/-/archive/${PKGVERSION_NOREV}/ EXTRACT_SUFX= .tar.bz2 @@ -102,6 +102,13 @@ REPLACE_PERL+= tclpkg/gv/demo/modgraph. BUILDLINK_TRANSFORM+= rm:-Wno-unused-parameter .endif +.if (${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "powerpc") +# Forces link with -lgomp directly instead of via dlopen() +# so we don't overflow thread-local storage in ld.elf_so +CFLAGS+= -fopenmp +CONFIGURE_ARGS+= CFLAGS="${CFLAGS}" +.endif + .if ${OPSYS} == "FreeBSD" SUBST_CLASSES+= sfflags SUBST_STAGE.sfflags= pre-configure --_----------=_1641055905281300--