aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2017-03-28 18:10:48 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2017-04-09 21:00:45 +0800
commitddf4affaaa43d7790a363b0c747e024364644ad3 (patch)
treed9fec25834e09f09493722f2a5f873e03ebdf866 /x11-themes
parent2aac22117187b8051de24dbfcd41f64a0d340f7f (diff)
downloadfreebsd-ports-gnome-ddf4affaaa43d7790a363b0c747e024364644ad3.tar.gz
freebsd-ports-gnome-ddf4affaaa43d7790a363b0c747e024364644ad3.tar.zst
freebsd-ports-gnome-ddf4affaaa43d7790a363b0c747e024364644ad3.zip
Unbreak after r436971.
Import an upstream commit to make sure some definitions passed via -D to the compiler are quoted correctly.
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/kde-gtk-config/files/patch-git_386f6af37
1 files changed, 37 insertions, 0 deletions
diff --git a/x11-themes/kde-gtk-config/files/patch-git_386f6af b/x11-themes/kde-gtk-config/files/patch-git_386f6af
new file mode 100644
index 000000000000..aefbfe9836e7
--- /dev/null
+++ b/x11-themes/kde-gtk-config/files/patch-git_386f6af
@@ -0,0 +1,37 @@
+commit 386f6af25a4f5276765a121f98dd00d0bf6a743d
+Author: David Faure <faure@kde.org>
+Date: Sun Jul 26 17:04:43 2015 +0200
+
+ set proper cmake min req, matching kdelibs4, before project; fix build accordingly
+
+--- CMakeLists.txt
++++ CMakeLists.txt
+@@ -1,5 +1,5 @@
++cmake_minimum_required(VERSION 2.8.9)
+ project(kdegtkconfig)
+-cmake_minimum_required(VERSION 2.6)
+ set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
+
+ find_package(KDE4 REQUIRED)
+--- gtk3proxies/CMakeLists.txt
++++ gtk3proxies/CMakeLists.txt
+@@ -2,7 +2,7 @@ find_package(GTK3 REQUIRED)
+
+ include_directories(${GTK3_INCLUDE_DIRS})
+
+-add_definitions("-DDATA_DIR=\\\"${DATA_INSTALL_DIR}/kcm-gtk-module/\\\"")
++add_definitions(-DDATA_DIR="\\\"${DATA_INSTALL_DIR}/kcm-gtk-module/\\\"")
+
+ add_executable(gtk3_preview preview3.c)
+ target_link_libraries(gtk3_preview ${GTK3_LIBRARY} ${GOBJECT2_LIBRARY} ${GLIB2_LIBRARY})
+--- gtkproxies/CMakeLists.txt
++++ gtkproxies/CMakeLists.txt
+@@ -6,7 +6,7 @@ add_executable(reload_gtk_apps reload.c)
+ target_link_libraries(reload_gtk_apps ${GTK2_LIBRARIES})
+ install(TARGETS reload_gtk_apps RUNTIME DESTINATION "${KDE4_LIBEXEC_INSTALL_DIR}")
+
+-add_definitions("-DDATA_DIR=\\\"${DATA_INSTALL_DIR}/kcm-gtk-module/\\\"")
++add_definitions(-DDATA_DIR="\\\"${DATA_INSTALL_DIR}/kcm-gtk-module/\\\"")
+
+ add_executable(gtk_preview preview.c)
+ target_link_libraries(gtk_preview ${GTK2_LIBRARIES} ${GTK2_GIOMM_LIBRARY})