]> git.pld-linux.org Git - packages/gource.git/commitdiff
- up to 0.43 auto/th/gource-0.43-1
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 27 Jun 2015 10:15:54 +0000 (12:15 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 27 Jun 2015 10:15:54 +0000 (12:15 +0200)
- fixed GLU detection code
- for use c++ to configure for GLM detection code

gl-ac.patch [new file with mode: 0644]
gource.spec

diff --git a/gl-ac.patch b/gl-ac.patch
new file mode 100644 (file)
index 0000000..827fdea
--- /dev/null
@@ -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++])])
index 2630c525e49981d6fa341d7c5eba7cd7adeac884..bff9e8ac2ed0eb887136f5f64184cd6199f83254 100644 (file)
@@ -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}
This page took 0.057583 seconds and 4 git commands to generate.