pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkgsrc-2020Q2]: pkgsrc/converters/wkhtmltopdf Pullup ticket #6319 - r...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b3e6a41e1101
branches:  pkgsrc-2020Q2
changeset: 439353:b3e6a41e1101
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Fri Sep 18 18:20:07 2020 +0000

description:
Pullup ticket #6319 - requested by he
converters/wkhtmltopdf: PowerPC build fix

Revisions pulled up:
- converters/wkhtmltopdf/hacks.mk                               1.1

---
   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.

diffstat:

 converters/wkhtmltopdf/hacks.mk |  15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r a9f052e42dfa -r b3e6a41e1101 converters/wkhtmltopdf/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/wkhtmltopdf/hacks.mk   Fri Sep 18 18:20:07 2020 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: hacks.mk,v 1.1.2.2 2020/09/18 18:20:07 bsiegert 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



Home | Main Index | Thread Index | Old Index