From cd701cc5409b5925ce9c13dce666b7b008da0966 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 18 Apr 2007 16:02:06 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/anjuta?expand=0&rev=2 --- anjuta-1.2.4a_array-index.patch | 11 +++++++++++ anjuta.changes | 6 ++++++ anjuta.spec | 9 +++++++-- 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 anjuta-1.2.4a_array-index.patch diff --git a/anjuta-1.2.4a_array-index.patch b/anjuta-1.2.4a_array-index.patch new file mode 100644 index 0000000..f6e9005 --- /dev/null +++ b/anjuta-1.2.4a_array-index.patch @@ -0,0 +1,11 @@ +--- src/anjuta-tools.c ++++ src/anjuta-tools.c +@@ -1871,7 +1871,7 @@ + { + len = strlen(s[2]); + if (len > 20) +- s[20] = '\0'; ++ s[2][20] = '\0'; + } + else + s[2] = g_strdup("Undefined"); diff --git a/anjuta.changes b/anjuta.changes index 4f430ed..adf38c4 100644 --- a/anjuta.changes +++ b/anjuta.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 18 13:19:30 CEST 2007 - pgajdos@suse.cz + +- fixed 'array subscript is above array bounds' [#248868] +- array-index.patch + ------------------------------------------------------------------- Thu Jan 4 11:41:16 CET 2007 - sbrabec@suse.cz diff --git a/anjuta.spec b/anjuta.spec index 2aadbdd..da7b717 100644 --- a/anjuta.spec +++ b/anjuta.spec @@ -17,13 +17,14 @@ Group: Development/Tools/IDE Autoreqprov: on Requires: automake autoconf libtool gettext alsa alsa-devel audiofile devhelp esound esound-devel gconf2 gconf2-devel gconf2-doc gnome-terminal gnome-vfs2 gnome-vfs2-devel gnome-vfs2-doc libart_lgpl libart_lgpl-devel libbonobo libbonobo-devel libbonobo-doc libbonoboui libbonoboui-devel libbonoboui-doc libglade2 libglade2-devel libglade2-doc libgnome libgnome-devel libgnome-doc libgnomecanvas libgnomecanvas-devel libgnomecanvas-doc libgnomeui libgnomeui-devel libgnomeui-doc libwnck libwnck-devel libxml2 libxml2-devel openssl openssl-devel orbit2 orbit2-devel popt popt-devel libgnomeprint libgnomeprint-devel libgnomeprint-doc libgnomeprintui libgnomeprintui-devel libgnomeprintui-doc yelp Version: 1.2.4a -Release: 57 +Release: 69 Summary: GNOME IDE for C and C++ Source: anjuta-%{version}.tar.bz2 Source1: README.SuSE Patch: update_global_tags.patch Patch1: configure.patch Patch2: anjuta-64bit.patch +Patch3: anjuta-1.2.4a_array-index.patch URL: http://anjuta.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -54,6 +55,7 @@ if [ "%_lib" != "lib" ] ; then %patch1 fi %patch2 +%patch3 cp -a %{S:1} . rm po/no.* sed -i "s/\(ALL_LINGUAS.*\) no /\1 /" configure.in @@ -119,7 +121,10 @@ fi %verify(not size md5 mtime) %{_localstatedir}/lib/anjuta/system.tags %doc %{_mandir}/man?/*.* -%changelog -n anjuta +%changelog +* Wed Apr 18 2007 - pgajdos@suse.cz +- fixed 'array subscript is above array bounds' [#248868] +- array-index.patch * Thu Jan 04 2007 - sbrabec@suse.cz - Prefix changed to /usr. - Spec file cleanup.