From: Jan Rękorajski Date: Sat, 27 Jun 2015 10:15:54 +0000 (+0200) Subject: - up to 0.43 X-Git-Tag: auto/th/gource-0.43-1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fgource.git;a=commitdiff_plain;h=f31d1480f4289ba0ddbc7590ee8b6f482eb85d41 - up to 0.43 - fixed GLU detection code - for use c++ to configure for GLM detection code --- 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 + # 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++])]) 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}