Received: by mail.netbsd.org (Postfix, from userid 605) id 224A284D66; Tue, 8 Sep 2020 06:33:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 9AB6D84D23 for ; Tue, 8 Sep 2020 06:33:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id JglHitDSfwgt for ; Tue, 8 Sep 2020 06:33:48 +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 E469584CCD for ; Tue, 8 Sep 2020 06:33:47 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id D6B36FB28; Tue, 8 Sep 2020 06:33:47 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1599546827114750" MIME-Version: 1.0 Date: Tue, 8 Sep 2020 06:33:47 +0000 From: "Havard Eidnes" Subject: CVS commit: pkgsrc/converters/wkhtmltopdf To: pkgsrc-changes@NetBSD.org Reply-To: he@netbsd.org X-Mailer: log_accum Message-Id: <20200908063347.D6B36FB28@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. --_----------=_1599546827114750 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: he Date: Tue Sep 8 06:33:47 UTC 2020 Added Files: pkgsrc/converters/wkhtmltopdf: hacks.mk Log Message: On powerpc, build with -mlongcall, to avoid truncated relocations. Build fix only for this arch, so no revision bump. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/converters/wkhtmltopdf/hacks.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1599546827114750 Content-Disposition: inline Content-Length: 674 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/converters/wkhtmltopdf/hacks.mk diff -u /dev/null pkgsrc/converters/wkhtmltopdf/hacks.mk:1.1 --- /dev/null Tue Sep 8 06:33:47 2020 +++ pkgsrc/converters/wkhtmltopdf/hacks.mk Tue Sep 8 06:33:47 2020 @@ -0,0 +1,15 @@ +# $NetBSD: hacks.mk,v 1.1 2020/09/08 06:33:47 he Exp $ + +.if !defined(WKHTMLTOPDF_HACKS_MK) +WKHTMLTOPDF_HACKS_MK= defined + +# [Mon Sep 7 21:12:45 CEST 2020 : he] +# On NetBSD/powerpc, we get relocation truncated to fit: R_PPC_PLTREL24 +# with default build options. +.if !empty(MACHINE_ARCH:Mpowerpc*) +CFLAGS+= -mlongcall +CXXFLAGS+= -mlongcall +PKG_HACKS+= powerpc-longcall +.endif + +.endif # WKHTMLTOPDF_HACKS_MK --_----------=_1599546827114750--