]> git.pld-linux.org Git - packages/CEGUI.git/commitdiff
- fix install on x32
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 22 Jun 2015 23:30:03 +0000 (23:30 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 22 Jun 2015 23:30:03 +0000 (23:30 +0000)
CEGUI.spec
x32.patch [new file with mode: 0644]

index 5732e09dc9249a16ae0472c9539aef6071759e60..a92427cfceb97747a9ff01a99b1b2cc0021b6bde 100644 (file)
@@ -20,6 +20,7 @@ Source1:      http://downloads.sourceforge.net/crayzedsgui/cegui-docs-%{version}.tar.
 Patch0:                pthread.patch
 Patch1:                %{name}-glfw3.patch
 Patch2:                %{name}-python.patch
+Patch3:                x32.patch
 URL:           http://www.cegui.org.uk/
 BuildRequires: DevIL-devel
 %{?with_directfb:BuildRequires:        DirectFB-devel >= 1.2.0}
@@ -431,6 +432,7 @@ Wiązania Pythona do biblioteki CEGUI OpenGLRenderer.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 install -d build
diff --git a/x32.patch b/x32.patch
new file mode 100644 (file)
index 0000000..14dd1e3
--- /dev/null
+++ b/x32.patch
@@ -0,0 +1,13 @@
+--- cegui-0.8.4/CMakeLists.txt~        2015-06-22 20:36:23.000000000 +0000
++++ cegui-0.8.4/CMakeLists.txt 2015-06-22 21:21:28.758070773 +0000
+@@ -447,8 +447,8 @@
+ # set up install sub-directories
+ if (CMAKE_SIZEOF_VOID_P EQUAL 8 AND EXISTS "${CMAKE_INSTALL_PREFIX}/lib64")
+     set( CEGUI_LIB_INSTALL_DIR lib64 )
+-elseif (CMAKE_SIZEOF_VOID_P EQUAL 4 AND EXISTS "${CMAKE_INSTALL_PREFIX}/lib32")
+-    set( CEGUI_LIB_INSTALL_DIR lib32 )
++elseif (CMAKE_SIZEOF_VOID_P EQUAL 4 AND EXISTS "${CMAKE_INSTALL_PREFIX}/libx32")
++    set( CEGUI_LIB_INSTALL_DIR libx32 )
+ else()
+     set( CEGUI_LIB_INSTALL_DIR lib )
+ endif()
This page took 0.148861 seconds and 4 git commands to generate.