summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2012-07-16 22:34:27 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2012-07-16 22:34:27 +0000
commitc98bbcaa36f21a8de85427f26519dfe9e4a8ec21 (patch)
tree94f35bb17045e78ba105f8b8a05a3366ae424a37 /app-text/apvlv/files/apvlv-0.1.4-cmake.patch
parentBased on 2.6.32.59 + genpatches-2.6.32-48 + grsecurity-2.9.1-2.6.32.59-201207... (diff)
downloadgentoo-2-c98bbcaa36f21a8de85427f26519dfe9e4a8ec21.tar.gz
gentoo-2-c98bbcaa36f21a8de85427f26519dfe9e4a8ec21.tar.bz2
gentoo-2-c98bbcaa36f21a8de85427f26519dfe9e4a8ec21.zip
Version bump
(Portage version: 2.2.0_alpha118/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'app-text/apvlv/files/apvlv-0.1.4-cmake.patch')
-rw-r--r--app-text/apvlv/files/apvlv-0.1.4-cmake.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/app-text/apvlv/files/apvlv-0.1.4-cmake.patch b/app-text/apvlv/files/apvlv-0.1.4-cmake.patch
new file mode 100644
index 000000000000..43c11596b8b0
--- /dev/null
+++ b/app-text/apvlv/files/apvlv-0.1.4-cmake.patch
@@ -0,0 +1,32 @@
+diff -ruN apvlv-0.1.4-Source/src/CMakeLists.txt my/src/CMakeLists.txt
+--- apvlv-0.1.4-Source/src/CMakeLists.txt 2012-06-13 05:44:28.000000000 +0200
++++ my/src/CMakeLists.txt 2012-07-17 00:32:53.782141814 +0200
+@@ -1,23 +1,18 @@
+ IF (WIN32)
+ ADD_DEFINITIONS (-D_CRT_SECURE_NO_WARNINGS)
+ ELSE (WIN32)
+- SET (CMAKE_CXX_FLAGS "-Wall -fno-strict-aliasing")
+-
+- OPTION (APVLV_ENABLE_DEBUG "If build binary with debug infomations." OFF)
+- IF (APVLV_ENABLE_DEBUG)
+- SET (CMAKE_CXX_FLAGS "-D_DEBUG -g ${CMAKE_CXX_FLAGS}")
+- ELSE (APVLV_ENABLE_DEBUG)
+- SET (CMAKE_CXX_FLAGS "-O2 ${CMAKE_CXX_FLAGS}")
+- ENDIF (APVLV_ENABLE_DEBUG)
++ SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -fno-strict-aliasing")
+ ENDIF (WIN32)
+
+ FIND_PACKAGE (PkgConfig)
+
+-PKG_CHECK_MODULES (FREETYPE2 freetype2 REQUIRED)
+ PKG_CHECK_MODULES (GTK2 gtk+-2.0 REQUIRED)
+ PKG_CHECK_MODULES (GLIB2 glib-2.0 REQUIRED)
+ PKG_CHECK_MODULES (GTHREAD2 gthread-2.0 REQUIRED)
+-PKG_CHECK_MODULES (WEBKIT1 webkit-1.0 QUIET)
++
++IF (APVLV_WITH_HTML)
++ PKG_CHECK_MODULES (WEBKIT1 webkit-1.0 REQUIRED)
++ENDIF (APVLV_WITH_HTML)
+ INCLUDE_DIRECTORIES (${FREETYPE2_INCLUDE_DIRS}
+ ${GTK2_INCLUDE_DIRS}
+ ${GLIB2_INCLUDE_DIRS}