python/dbus-python: rename package to normalize it
[oi-userland.git] / components / library / graphite2 / patches / graphite2-debian-04-non-linux.patch
blobd30757722e034f0ee6ab785fbcc627703c7822b5
1 --- src/CMakeLists.txt.orig 2018-05-19 16:44:36.921088002 +0000
2 +++ src/CMakeLists.txt 2018-05-19 16:45:54.194593270 +0000
3 @@ -110,7 +110,7 @@
4 LT_VERSION_REVISION ${GRAPHITE_API_REVISION}
5 LT_VERSION_AGE ${GRAPHITE_API_AGE})
7 -if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
8 +if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "k.*BSD" OR ${CMAKE_SYSTEM_NAME} STREQUAL "GNU" OR ${CMAKE_SYSTEM_NAME} STREQUAL "SunOS")
9 set_target_properties(graphite2 PROPERTIES
10 COMPILE_FLAGS "-Wall -Wextra -Wno-unknown-pragmas -Wendif-labels -Wshadow -Wctor-dtor-privacy -Wnon-virtual-dtor -fno-rtti -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden"
11 LINK_FLAGS "-nodefaultlibs ${GRAPHITE_LINK_FLAGS}"
12 --- tests/examples/CMakeLists.txt 2018-12-20 07:28:50.000000000 +0000
13 +++ tests/examples/CMakeLists.txt.new 2019-03-10 09:54:56.769138941 +0000
14 @@ -23,7 +23,7 @@ macro(test_example TESTNAME SRCFILE)
15 set_tests_properties(${TESTNAME} PROPERTIES TIMEOUT 3)
16 endmacro()
18 -if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
19 +if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "k.*BSD" OR ${CMAKE_SYSTEM_NAME} STREQUAL "GNU" OR ${CMAKE_SYSTEM_NAME} STREQUAL "SunOS")
20 find_package(Freetype)
21 if (${FREETYPE_FOUND})
22 include_directories(${FREETYPE_INCLUDE_DIRS})
23 --- tests/vm/CMakeLists.txt 2018-12-20 07:28:50.000000000 +0000
24 +++ tests/vm/CMakeLists.txt.new 2019-03-10 09:53:08.842323164 +0000
25 @@ -29,7 +29,7 @@ if (CMAKE_COMPILER_IS_GNUCXX OR CMAKE_C
26 target_link_libraries(vm-test-direct vm-test-common)
27 endif()
29 -if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
30 +if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "k.*BSD" OR ${CMAKE_SYSTEM_NAME} STREQUAL "GNU" OR ${CMAKE_SYSTEM_NAME} STREQUAL "SunOS")
31 add_definitions(-fno-rtti -fno-exceptions)
32 if ("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
33 add_definitions(-DNDEBUG -fomit-frame-pointer)