diff --git a/anjuta-3.20.0-gcc-6.1.0.patch b/anjuta-3.20.0-gcc-6.1.0.patch new file mode 100644 index 0000000..38dd807 --- /dev/null +++ b/anjuta-3.20.0-gcc-6.1.0.patch @@ -0,0 +1,12 @@ +--- anjuta-3.20.0/plugins/build-basic-autotools/executer.c.orig 2016-07-24 20:28:00.297104311 +0200 ++++ anjuta-3.20.0/plugins/build-basic-autotools/executer.c 2016-07-24 20:34:04.117336443 +0200 +@@ -376,8 +376,7 @@ + { + gchar *oldcmd = cmd; + +- cmd = g_strdup_printf (plugin->commands[IANJUTA_BUILDABLE_COMMAND_EXECUTE], +- oldcmd); ++ cmd = g_strdup_printf ("%s", plugin->commands[IANJUTA_BUILDABLE_COMMAND_EXECUTE]); + + g_free (oldcmd); + } else { diff --git a/anjuta.spec b/anjuta.spec index 1c3365e..84a8dfd 100644 --- a/anjuta.spec +++ b/anjuta.spec @@ -1,6 +1,6 @@ %define majver %(echo %version|cut -d. -f1-2) Name: anjuta -Version: 3.18.2 +Version: 3.20.0 Release: 1mamba Summary: Integrated development environment for C and C++ Group: Graphical Desktop/Applications/Development @@ -10,6 +10,7 @@ Packager: Automatic Build System URL: http://anjuta.sourceforge.net/ Source: ftp://ftp.gnome.org/pub/GNOME/sources/anjuta/%{majver}/anjuta-%{version}.tar.xz Patch0: anjuta-3.8.3-gcc-4.8.patch +Patch1: anjuta-3.20.0-gcc-6.1.0.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glade-devel @@ -144,11 +145,13 @@ Documentation for Anjuta DevStudio provided in DocBook format. #-D -T #:<< ___EOF #%patch0 -p1 +%patch1 -p1 %build #:<< ____EOF %configure \ - CFLAGS="-O2" CXXFLAGS="-O2" FFLAGS="-O2" \ + CFLAGS="%{optflags} -O2 -Wno-error=format-nonliteral -Wno-error=format-y2k" \ + CXXFLAGS="%{optflags} -O2" FFLAGS="-O2" \ --disable-gtk-doc \ --disable-scrollkeeper \ --host= @@ -260,6 +263,9 @@ fi %doc %{_docdir}/anjuta/TODO %changelog +* Sun May 08 2016 Automatic Build System 3.20.0-1mamba +- automatic version update by autodist + * Tue Jan 19 2016 Automatic Build System 3.18.2-1mamba - automatic version update by autodist