]> git.pld-linux.org Git - packages/GLM.git/commitdiff
- updated to 0.9.6.3 auto/th/GLM-0.9.6.3-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 30 May 2015 07:22:39 +0000 (09:22 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 30 May 2015 07:22:39 +0000 (09:22 +0200)
- added opt patch (avoid adding unwanted options, incl. -m64)

GLM-opt.patch [new file with mode: 0644]
GLM.spec

diff --git a/GLM-opt.patch b/GLM-opt.patch
new file mode 100644 (file)
index 0000000..79eab42
--- /dev/null
@@ -0,0 +1,11 @@
+--- glm/CMakeLists.txt.orig    2015-02-14 00:51:28.000000000 +0100
++++ glm/CMakeLists.txt 2015-05-30 09:11:37.100401554 +0200
+@@ -129,8 +129,6 @@
+ if(CMAKE_COMPILER_IS_GNUCXX)\r
+       #add_definitions(-S)\r
+       #add_definitions(-s)\r
+-      add_definitions(-m64)\r
+-      add_definitions(-O2)\r
\r
+       #add_definitions(-fprofile-arcs -ftest-coverage) gcov\r
+       #ctest_enable_coverage()\r
index 61bbf13f07cbef790cab1afe427c44d9098e73e4..dc0605fbe65072efce4cda4cc033becba967568f 100644 (file)
--- a/GLM.spec
+++ b/GLM.spec
@@ -6,12 +6,13 @@
 Summary:       OpenGL Mathematics (GLM) - C++ mathematics library for GLSL
 Summary(pl.UTF-8):     OpenGL Mathematics (GLM) - biblioteka matematyczna C++ dla GLSL
 Name:          GLM
-Version:       0.9.5.4
+Version:       0.9.6.3
 Release:       1
 License:       MIT
 Group:         Development/Libraries
 Source0:       http://downloads.sourceforge.net/ogl-math/glm-%{version}.7z
-# Source0-md5: 7e4ab2f9a229aece8b337228542fd919
+# Source0-md5: 044224370047034c3d9340550e0ed52a
+Patch0:                %{name}-opt.patch
 URL:           http://glm.g-truc.net/
 BuildRequires: cmake
 %if %{with p7zip}
@@ -40,6 +41,7 @@ graficznych opartych na specyfikacji OpenGL Shading Language (GLSL).
 %else
 %setup -q -n glm
 %endif
+%patch0 -p1
 
 %build
 mkdir build
@@ -51,7 +53,6 @@ cd build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-#install -d $RPM_BUILD_ROOT
 
 %{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
This page took 0.11785 seconds and 4 git commands to generate.