summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-03-19 06:30:18 +0000
committerTim Harder <radhermit@gentoo.org>2012-03-19 06:30:18 +0000
commite87874ebad5efcbc38bbdf8b24f2cb52c440689a (patch)
treeb3d63fcd7e6b257d31d9396f9c3f5e2a84615580 /x11-terms/sakura/files
parentNew snapshot wrt #407307 by Cyprien Nicolas (diff)
downloadhistorical-e87874ebad5efcbc38bbdf8b24f2cb52c440689a.tar.gz
historical-e87874ebad5efcbc38bbdf8b24f2cb52c440689a.tar.bz2
historical-e87874ebad5efcbc38bbdf8b24f2cb52c440689a.zip
Version bump.
Package-Manager: portage-2.2.0_alpha90/cvs/Linux x86_64
Diffstat (limited to 'x11-terms/sakura/files')
-rw-r--r--x11-terms/sakura/files/sakura-3.0.3-cflags.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11-terms/sakura/files/sakura-3.0.3-cflags.patch b/x11-terms/sakura/files/sakura-3.0.3-cflags.patch
new file mode 100644
index 000000000000..39addf3985c4
--- /dev/null
+++ b/x11-terms/sakura/files/sakura-3.0.3-cflags.patch
@@ -0,0 +1,15 @@
+--- sakura-3.0.3/CMakeLists.txt
++++ sakura-3.0.3/CMakeLists.txt
+@@ -35,12 +35,6 @@
+ ADD_DEFINITIONS (-DDATADIR=\\\"${CMAKE_INSTALL_PREFIX}/share\\\")
+ ADD_DEFINITIONS (-DBUILDTYPE=\\\"${CMAKE_BUILD_TYPE}\\\")
+
+-IF (${CMAKE_BUILD_TYPE} MATCHES "Debug")
+- SET (CMAKE_C_FLAGS "-Wall ")
+-ELSE (${CMAKE_BUILD_TYPE} NOT MATCHES "Debug")
+- SET (CMAKE_C_FLAGS "-O2 -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED")
+-ENDIF (${CMAKE_BUILD_TYPE} MATCHES "Debug")
+-
+ INCLUDE_DIRECTORIES (. ${GTK_INCLUDE_DIRS} ${VTE_INCLUDE_DIRS})
+ LINK_DIRECTORIES (${GTK_LIBRARY_DIRS} ${VTE_LIBRARY_DIRS})
+ LINK_LIBRARIES (${GTK_LIBRARIES} ${VTE_LIBRARIES} m)