A new user interface for you! Read more...

File libkolabxml-1.0.1_no-maybe-uninitialized.patch of Package libkolabxml

diff -Ppru a/src/php/CMakeLists.txt b/src/php/CMakeLists.txt
--- a/src/php/CMakeLists.txt	2013-10-30 17:48:07.000000000 +0100
+++ b/src/php/CMakeLists.txt	2013-11-25 10:57:06.747767369 +0100
@@ -19,7 +19,7 @@ add_custom_target(generate_php_bindings
 if (APPLE)
     set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -flat_namespace -undefined suppress" )
 endif()
-set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-variable -Wno-unused-label -Wno-maybe-uninitialized -Wno-unused-function" )
+set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-variable -Wno-unused-label -Wno-unused-function" )
 
 # Try to find PHP5
 find_path(PHP_INCLUDE_DIR NAMES main/php.h PATH_SUFFIXES php php5)
diff -Ppru a/src/python/CMakeLists.txt b/src/python/CMakeLists.txt
--- a/src/python/CMakeLists.txt	2013-10-30 17:48:07.000000000 +0100
+++ b/src/python/CMakeLists.txt	2013-11-25 10:57:38.918321481 +0100
@@ -24,8 +24,6 @@ add_custom_command(OUTPUT ${KOLAB_SWIG_P
 
 SET_SOURCE_FILES_PROPERTIES(${KOLAB_SWIG_PYTHON_SOURCE_FILE} PROPERTIES GENERATED 1)
 
-set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-maybe-uninitialized" )
-
 #${PYTHON_INCLUDE_PATH} is for backwards compatibility (el6)
 include_directories(${PYTHON_INCLUDE_DIRS} ${PYTHON_INCLUDE_PATH})