Ticket #40447: graphite2-takanori.diff
File graphite2-takanori.diff, 1.6 KB (added by takanori@…, 11 years ago) |
---|
-
Portfile
27 27 28 28 patchfiles missing-include.patch 29 29 30 platform powerpc { 31 # saveFP()/statFP() are implemented in libgcc.a and these functions are required 32 # to build libgraphite2 (PPC-based Macs only, Ticket #40447) 33 patchfiles-append patch-src_CMakeLists.txt.diff 34 } 35 30 36 # gcc version 4.0.1 (Apple Computer, Inc. build 5370) (from Xcode 2.5 on Tiger) is affected. 31 37 # apple-gcc42 @5666.3_10 doesn't contain a c++ compiler so it falls back to the affected Xcode compiler. 32 38 # gcc version 4.0.1 (Apple Inc. build 5493) (from Xcode 3.1.4 on Leopard) is not affected. -
files/patch-src_CMakeLists.txt.diff
1 --- src/CMakeLists.txt.orig 2013-06-11 20:55:31.000000000 +0900 2 +++ src/CMakeLists.txt 2013-09-27 20:04:40.000000000 +0900 3 @@ -123,7 +123,7 @@ 4 if (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin") 5 set_target_properties(graphite2 PROPERTIES 6 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" 7 - LINK_FLAGS "-nodefaultlibs" 8 + #LINK_FLAGS "-nodefaultlibs" 9 LINKER_LANGUAGE C) 10 target_link_libraries(graphite2 c) 11 include(Graphite)