summaryrefslogtreecommitdiff
path: root/graphics/graphite2/patches
diff options
context:
space:
mode:
authorryoon <ryoon>2016-02-07 01:05:11 +0000
committerryoon <ryoon>2016-02-07 01:05:11 +0000
commitd703f86112991ee686211e6e5b58c88b7e0c381b (patch)
treea3cbae8d40548ff2c44b751ee2b579b4d150b87f /graphics/graphite2/patches
parenta5a35e90fa6227a5b5a1a7fb93455ffc4b507b3c (diff)
downloadpkgsrc-d703f86112991ee686211e6e5b58c88b7e0c381b.tar.gz
PR pkg/50775. Fix build under Linux.
pkgsrc removes Graphite.cmake inclusion and nolib_test function is defined in it. Remove it for Linux.
Diffstat (limited to 'graphics/graphite2/patches')
-rw-r--r--graphics/graphite2/patches/patch-src_CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/graphite2/patches/patch-src_CMakeLists.txt b/graphics/graphite2/patches/patch-src_CMakeLists.txt
index 5c90a5e77e5..1ce6df21856 100644
--- a/graphics/graphite2/patches/patch-src_CMakeLists.txt
+++ b/graphics/graphite2/patches/patch-src_CMakeLists.txt
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_CMakeLists.txt,v 1.3 2016/01/26 13:56:23 wiz Exp $
+$NetBSD: patch-src_CMakeLists.txt,v 1.4 2016/02/07 01:05:11 ryoon Exp $
Don't pass -nodefaultlibs to compiler or the build fails for missing
symbols on PowerPC and possibly other platforms. I can't see any
@@ -18,12 +18,12 @@ http://sourceforge.net/p/silgraphite/bugs/56/
LINKER_LANGUAGE C)
if (CMAKE_COMPILER_IS_GNUCXX)
add_definitions(-Wdouble-promotion)
-@@ -126,23 +126,19 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Linu
+@@ -126,23 +126,17 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Linu
else (GRAPHITE2_ASAN)
target_link_libraries(graphite2 c gcc)
endif (GRAPHITE2_ASAN)
- include(Graphite)
- nolib_test(stdc++ $<TARGET_SONAME_FILE:graphite2>)
+- nolib_test(stdc++ $<TARGET_SONAME_FILE:graphite2>)
endif (${CMAKE_CXX_COMPILER} MATCHES ".*mingw.*")
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "")
- CREATE_LIBTOOL_FILE(graphite2 "/lib${LIB_SUFFIX}")
@@ -37,7 +37,7 @@ http://sourceforge.net/p/silgraphite/bugs/56/
LINKER_LANGUAGE C)
target_link_libraries(graphite2 c)
- include(Graphite)
- nolib_test(stdc++ $<TARGET_SONAME_FILE:graphite2>)
+- nolib_test(stdc++ $<TARGET_SONAME_FILE:graphite2>)
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "")
- CREATE_LIBTOOL_FILE(graphite2 "/lib${LIB_SUFFIX}")
endif (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")