OBS User unknown 2007-06-18 22:12:35 +00:00 committed by Git OBS Bridge
parent 401d1774ac
commit 5633abe4a7
3 changed files with 46 additions and 1 deletions

36
abuild.patch Normal file
View File

@ -0,0 +1,36 @@
I: Program is using uninitialized variables.
Note the difference between "is used" and "may be used"
W: anjuta uninitialized-variable breakpoints.c: 668
W: anjuta uninitialized-variable project_dbase_gui.c: 1313
Index: anjuta-1.2.4a/src/breakpoints.c
===================================================================
--- anjuta-1.2.4a.orig/src/breakpoints.c
+++ anjuta-1.2.4a/src/breakpoints.c
@@ -665,7 +665,6 @@ on_bk_properties_clicked (GtkWidget *but
valid = gtk_tree_selection_get_selected (selection, &model, &iter);
if (!valid)
{
- g_object_unref (gxml);
return;
}
gtk_tree_model_get (model, &iter, DATA_COLUMN, &bid, -1);
Index: anjuta-1.2.4a/src/project_dbase_gui.c
===================================================================
--- anjuta-1.2.4a.orig/src/project_dbase_gui.c
+++ anjuta-1.2.4a/src/project_dbase_gui.c
@@ -1304,9 +1304,13 @@ static void
on_prj_import_confirm_yes (GtkButton * button, const gchar* filename,
gpointer user_data)
{
- PrjModule selMod ;
+ /* the second argument to project_dbase_import_file_real is ignored,
+ so zeroing this out silence warnings is safe. */
+ PrjModule selMod;
ProjectDBase *p = user_data;
+ memset (&selMod, 0, sizeof (selMod));
+
gtk_widget_hide (p->fileselection_add_file);
if (!filename)
return;

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 18 15:05:07 CDT 2007 - maw@suse.de
- Add abuild.patch (#241836).
-------------------------------------------------------------------
Mon Apr 23 10:35:58 CEST 2007 - pgajdos@suse.cz

View File

@ -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: 70
Release: 101
Summary: GNOME IDE for C and C++
Source: anjuta-%{version}.tar.bz2
Source1: README.SuSE
@ -26,6 +26,7 @@ Patch1: configure.patch
Patch2: anjuta-64bit.patch
Patch3: anjuta-1.2.4a_array-index.patch
Patch4: anjuta-1.2.4a_literal-comparsion.patch
Patch5: abuild.patch
URL: http://anjuta.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -58,6 +59,7 @@ fi
%patch2
%patch3
%patch4
%patch5 -p1
cp -a %{S:1} .
rm po/no.*
sed -i "s/\(ALL_LINGUAS.*\) no /\1 /" configure.in
@ -124,6 +126,8 @@ fi
%doc %{_mandir}/man?/*.*
%changelog
* Mon Jun 18 2007 - maw@suse.de
- Add abuild.patch (#241836).
* Mon Apr 23 2007 - pgajdos@suse.cz
- fixed new gcc warnings
- literal-comparsion.patch