Package: kbibtex / 0.4-4

no_wcast-align Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0342839..526299a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,6 +6,7 @@ set(MANDIR "share/man" CACHE STRING "Where to install manpages")
 
 find_package( Qt4 REQUIRED )
 find_package( KDE4 REQUIRED )
+string(REPLACE "-Wcast-align" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
 
 # FIXME may have to be cleaned up a little bit
 # Contributed by Jeremy Cribb <cribb.jeremy@gmail.com>