[packages/GLM] - updated to 0.9.6.3 - added opt patch (avoid adding unwanted options, incl. -m64)

qboosh qboosh at pld-linux.org
Sat May 30 09:21:16 CEST 2015


commit 72741b95b2dc35d01410dfce1fa67c4e1da66d18
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat May 30 09:22:39 2015 +0200

    - updated to 0.9.6.3
    - added opt patch (avoid adding unwanted options, incl. -m64)

 GLM-opt.patch | 11 +++++++++++
 GLM.spec      |  7 ++++---
 2 files changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/GLM.spec b/GLM.spec
index 61bbf13..dc0605f 100644
--- 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
diff --git a/GLM-opt.patch b/GLM-opt.patch
new file mode 100644
index 0000000..79eab42
--- /dev/null
+++ b/GLM-opt.patch
@@ -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)
+ 	#add_definitions(-S)
+ 	#add_definitions(-s)
+-	add_definitions(-m64)
+-	add_definitions(-O2)
+ 
+ 	#add_definitions(-fprofile-arcs -ftest-coverage) gcov
+ 	#ctest_enable_coverage()
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/GLM.git/commitdiff/72741b95b2dc35d01410dfce1fa67c4e1da66d18



More information about the pld-cvs-commit mailing list