diff --git a/anjuta-1.2.4a_literal-comparsion.patch b/anjuta-1.2.4a_literal-comparsion.patch new file mode 100644 index 0000000..191481c --- /dev/null +++ b/anjuta-1.2.4a_literal-comparsion.patch @@ -0,0 +1,11 @@ +--- src/aneditor.cxx ++++ src/aneditor.cxx +@@ -1807,7 +1807,7 @@ + } + } + SString mode = GetMode(language); +- if (mode.c_str() != "") ++ if (mode.c_str()[0] != '\0') + { + SString comment ; + comment += start_stream.c_str() ; diff --git a/anjuta.changes b/anjuta.changes index adf38c4..5a1b931 100644 --- a/anjuta.changes +++ b/anjuta.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Apr 23 10:35:58 CEST 2007 - pgajdos@suse.cz + +- fixed new gcc warnings +- literal-comparsion.patch + ------------------------------------------------------------------- Wed Apr 18 13:19:30 CEST 2007 - pgajdos@suse.cz diff --git a/anjuta.spec b/anjuta.spec index da7b717..1c20062 100644 --- a/anjuta.spec +++ b/anjuta.spec @@ -17,7 +17,7 @@ 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: 69 +Release: 70 Summary: GNOME IDE for C and C++ Source: anjuta-%{version}.tar.bz2 Source1: README.SuSE @@ -25,6 +25,7 @@ Patch: update_global_tags.patch Patch1: configure.patch Patch2: anjuta-64bit.patch Patch3: anjuta-1.2.4a_array-index.patch +Patch4: anjuta-1.2.4a_literal-comparsion.patch URL: http://anjuta.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -56,6 +57,7 @@ if [ "%_lib" != "lib" ] ; then fi %patch2 %patch3 +%patch4 cp -a %{S:1} . rm po/no.* sed -i "s/\(ALL_LINGUAS.*\) no /\1 /" configure.in @@ -122,6 +124,9 @@ fi %doc %{_mandir}/man?/*.* %changelog +* Mon Apr 23 2007 - pgajdos@suse.cz +- fixed new gcc warnings +- literal-comparsion.patch * Wed Apr 18 2007 - pgajdos@suse.cz - fixed 'array subscript is above array bounds' [#248868] - array-index.patch