pkgsrc-Changes archive

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

CVS commit: [pkgsrc-2020Q2] pkgsrc/converters/wkhtmltopdf



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Fri Sep 18 18:20:07 UTC 2020

Added Files:
        pkgsrc/converters/wkhtmltopdf [pkgsrc-2020Q2]: hacks.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.2 pkgsrc/converters/wkhtmltopdf/hacks.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/converters/wkhtmltopdf/hacks.mk
diff -u /dev/null pkgsrc/converters/wkhtmltopdf/hacks.mk:1.1.2.2
--- /dev/null   Fri Sep 18 18:20:07 2020
+++ pkgsrc/converters/wkhtmltopdf/hacks.mk      Fri Sep 18 18:20:07 2020
@@ -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