[111913] trunk/dports/graphics/graphite2

ryandesign at macports.org ryandesign at macports.org
Sat Oct 5 15:29:57 PDT 2013


Revision: 111913
          https://trac.macports.org/changeset/111913
Author:   ryandesign at macports.org
Date:     2013-10-05 15:29:57 -0700 (Sat, 05 Oct 2013)
Log Message:
-----------
graphite2: fix build on PowerPC by not disabling default libs (#40447)

Modified Paths:
--------------
    trunk/dports/graphics/graphite2/Portfile

Added Paths:
-----------
    trunk/dports/graphics/graphite2/files/patch-src-CMakeLists.txt.diff

Modified: trunk/dports/graphics/graphite2/Portfile
===================================================================
--- trunk/dports/graphics/graphite2/Portfile	2013-10-05 22:01:13 UTC (rev 111912)
+++ trunk/dports/graphics/graphite2/Portfile	2013-10-05 22:29:57 UTC (rev 111913)
@@ -25,7 +25,8 @@
 checksums           rmd160  273dc9a9644bb05bc6373d4bc5ecc236e26f1b38 \
                     sha256  ef680a003cebc426d7c9bf856d7191775b1dfd585d5dd44712d7d41750b3fcf5
 
-patchfiles          missing-include.patch
+patchfiles          missing-include.patch \
+                    patch-src-CMakeLists.txt.diff
 
 # gcc version 4.0.1 (Apple Computer, Inc. build 5370) (from Xcode 2.5 on Tiger) is affected.
 # apple-gcc42 @5666.3_10 doesn't contain a c++ compiler so it falls back to the affected Xcode compiler.

Added: trunk/dports/graphics/graphite2/files/patch-src-CMakeLists.txt.diff
===================================================================
--- trunk/dports/graphics/graphite2/files/patch-src-CMakeLists.txt.diff	                        (rev 0)
+++ trunk/dports/graphics/graphite2/files/patch-src-CMakeLists.txt.diff	2013-10-05 22:29:57 UTC (rev 111913)
@@ -0,0 +1,20 @@
+Undefined symbols:
+  "saveFP", referenced from:
+      __ZN9graphite27Segment7justifyEPNS_4SlotEPKNS_4FontEfNS_9justFlagsES2_S2_ in Justifier.cpp.o
+      __ZN9graphite24Slot8finaliseEPKNS_7SegmentEPKNS_4FontERNS_8PositionERNS_4RectEhRf in Slot.cpp.o
+  "restFP", referenced from:
+      __ZN9graphite27Segment7justifyEPNS_4SlotEPKNS_4FontEfNS_9justFlagsES2_S2_ in Justifier.cpp.o
+      __ZN9graphite24Slot8finaliseEPKNS_7SegmentEPKNS_4FontERNS_8PositionERNS_4RectEhRf in Slot.cpp.o
+ld: symbol(s) not found
+
+https://sourceforge.net/p/silgraphite/bugs/56/
+--- src/CMakeLists.txt.orig	2013-06-11 06:55:31.000000000 -0500
++++ src/CMakeLists.txt	2013-10-05 17:22:11.000000000 -0500
+@@ -123,7 +123,6 @@
+ if  (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
+     set_target_properties(graphite2 PROPERTIES 
+         COMPILE_FLAGS   "-Wall -Wextra -Wno-unknown-pragmas -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -fno-rtti -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -fno-stack-protector"
+-        LINK_FLAGS      "-nodefaultlibs" 
+         LINKER_LANGUAGE C)
+     target_link_libraries(graphite2 c)
+     include(Graphite)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131005/23aa6962/attachment.html>


More information about the macports-changes mailing list