[packages/gource] - up to 0.43 - fixed GLU detection code - for use c++ to configure for GLM detection code

baggins baggins at pld-linux.org
Sat Jun 27 12:16:37 CEST 2015


commit f31d1480f4289ba0ddbc7590ee8b6f482eb85d41
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Jun 27 12:15:54 2015 +0200

    - up to 0.43
    - fixed GLU detection code
    - for use c++ to configure for GLM detection code

 gl-ac.patch | 11 +++++++++++
 gource.spec | 13 +++++++++----
 2 files changed, 20 insertions(+), 4 deletions(-)
---
diff --git a/gource.spec b/gource.spec
index 2630c52..bff9e8a 100644
--- a/gource.spec
+++ b/gource.spec
@@ -1,11 +1,12 @@
 Summary:	Software version control visualization
 Summary(pl.UTF-8):	Narzędzie wizualizujące kontrolę wersji
 Name:		gource
-Version:	0.40
-Release:	5
+Version:	0.43
+Release:	1
 License:	GPL v3+
-Source0:	http://gource.googlecode.com/files/%{name}-%{version}.tar.gz
-# Source0-md5:	89c608a7aa3c901661eb1f2db6117492
+Source0:	https://github.com/acaudwell/Gource/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	d2b601782692301f6d8ecc97dc85d3f7
+Patch0:		gl-ac.patch
 URL:		http://gource.googlecode.com/
 Group:		X11/Applications
 BuildRequires:	GLM
@@ -46,9 +47,13 @@ CVS i SVN.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__aclocal}
+%{__autoconf}
 %configure \
+	CC=%{__cxx} \
 	--with-tinyxml \
 	--enable-ttf-font-dir=%{_datadir}/fonts/TTF
 %{__make}
diff --git a/gl-ac.patch b/gl-ac.patch
new file mode 100644
index 0000000..827fdea
--- /dev/null
+++ b/gl-ac.patch
@@ -0,0 +1,11 @@
+--- gource-0.40/m4/ax_check_glu.m4~	2013-04-24 03:58:51.000000000 +0200
++++ gource-0.40/m4/ax_check_glu.m4	2015-06-27 12:04:05.304524114 +0200
+@@ -131,7 +131,7 @@
+ # else
+ #   include <OpenGL/glu.h>
+ # endif]],
+-                                        [[GLvoid (*func)(...); gluTessCallback(0, 0, func)]])],
++                                        [[GLvoid (*func)(); gluTessCallback(0, 0, func)]])],
+                                         [ax_cv_varargs_glu_tesscb=yes])
+                       CXXFLAGS=$ax_save_CXXFLAGS
+                       AC_LANG_POP([C++])])
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gource.git/commitdiff/f31d1480f4289ba0ddbc7590ee8b6f482eb85d41



More information about the pld-cvs-commit mailing list