[packages/gtksourceview3] - fix build without ${V:N} non-POSIX sh extension

qboosh qboosh at pld-linux.org
Thu Oct 1 19:31:43 CEST 2015


commit d5fd6af8d239fcd07e7960ed0b3b73efc435cacf
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Oct 1 19:32:37 2015 +0200

    - fix build without ${V:N} non-POSIX sh extension

 gtksourceview3.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/gtksourceview3.spec b/gtksourceview3.spec
index ed3d953..501a40e 100644
--- a/gtksourceview3.spec
+++ b/gtksourceview3.spec
@@ -14,6 +14,7 @@ Source0:	http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/3.18/gtksourceview
 # Source0-md5:	8e99579d6a8b2fdae45b557f40df0176
 URL:		http://www.gnome.org/
 BuildRequires:	autoconf >= 2.64
+BuildRequires:	autoconf-archive >= 2015.09.25
 BuildRequires:	automake >= 1:1.13
 BuildRequires:	docbook-dtd412-xml
 BuildRequires:	gettext-tools >= 0.17
@@ -119,11 +120,14 @@ API GtkSourceView dla języka Vala.
 %prep
 %setup -q -n gtksourceview-%{version}
 
+# force new version from autoconf-archive (original one uses non-POSIX ${V:N} syntax)
+%{__rm} m4/ax_compiler_flags_cflags.m4
+
 %build
 %{__gtkdocize}
 %{__intltoolize}
 %{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gtksourceview3.git/commitdiff/d5fd6af8d239fcd07e7960ed0b3b73efc435cacf



More information about the pld-cvs-commit mailing list