File fix-lib-suffix.patch of Package alure

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -30,6 +30,14 @@
 SET(LIB_MINOR_VERSION "2")
 SET(LIB_VERSION "${LIB_MAJOR_VERSION}.${LIB_MINOR_VERSION}")
 
+IF(CMAKE_SIZEOF_VOID_P EQUAL 4)
+    SET(LIB_SUFFIX "")
+    SET(PACK_ARCH "")
+ELSE(CMAKE_SIZEOF_VOID_P EQUAL 4)
+    SET(LIB_SUFFIX 64)
+    SET(PACK_ARCH .x86_64)
+ENDIF(CMAKE_SIZEOF_VOID_P EQUAL 4)
+
 
 INCLUDE_DIRECTORIES(include "${ALURE_BINARY_DIR}")
 
openSUSE Build Service is sponsored by