rpms/wxGTK/devel wxGTK-2.8.4-bad-g_free.patch, NONE, 1.1 wxGTK.spec, 1.32, 1.33

Matthew Miller (mattdm) fedora-extras-commits at redhat.com
Tue Jul 17 02:25:49 UTC 2007


Author: mattdm

Update of /cvs/extras/rpms/wxGTK/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25617

Modified Files:
	wxGTK.spec 
Added Files:
	wxGTK-2.8.4-bad-g_free.patch 
Log Message:
* Mon Jul 16 2007 Matthew Miller <mattdm at mattdm.org> - 2.8.4-4
- patch from svn to fix rh bug #247414


wxGTK-2.8.4-bad-g_free.patch:

--- NEW FILE wxGTK-2.8.4-bad-g_free.patch ---
--- wxWidgets/trunk/src/gtk/button.cpp	2007/04/23 15:16:06	45602
+++ wxWidgets/trunk/src/gtk/button.cpp	2007/06/18 06:03:50	46513
@@ -71,7 +71,7 @@
             right_border += default_border->right;
             top_border += default_border->top;
             bottom_border += default_border->bottom;
-            g_free( default_border );
+            gtk_border_free( default_border );
         }
         win->MoveWindow(
             win->m_x - top_border,
--- wxWidgets/trunk/src/gtk/window.cpp	2007/05/30 13:55:09	46249
+++ wxWidgets/trunk/src/gtk/window.cpp	2007/06/18 06:03:50	46513
@@ -2738,7 +2738,7 @@
                 right_border += default_border->right;
                 top_border += default_border->top;
                 bottom_border += default_border->bottom;
-                g_free( default_border );
+                gtk_border_free( default_border );
             }
         }
 


Index: wxGTK.spec
===================================================================
RCS file: /cvs/extras/rpms/wxGTK/devel/wxGTK.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- wxGTK.spec	12 Jul 2007 14:40:23 -0000	1.32
+++ wxGTK.spec	17 Jul 2007 02:25:16 -0000	1.33
@@ -6,7 +6,7 @@
 
 Name:           wxGTK
 Version:        2.8.4
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        GTK2 port of the wxWidgets GUI library
 # The wxWindows licence is the LGPL with a specific exemption allowing
 # distribution of derived binaries under any terms. (This will eventually
@@ -15,6 +15,9 @@
 Group:          System Environment/Libraries
 URL:            http://www.wxwidgets.org/
 Source0:        http://dl.sf.net/wxwindows/%{name}-%{version}.tar.bz2
+# http://svn.wxwidgets.org/viewvc/wx?view=rev&revision=46513
+Patch0:         wxGTK-2.8.4-bad-g_free.patch
+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gtk2-devel, zlib-devel >= 1.1.4
@@ -95,6 +98,7 @@
 %prep
 %setup -q
 
+%patch0 -p2 -b .badfree
 
 sed -i -e 's|/usr/lib\b|%{_libdir}|' wx-config.in configure
 
@@ -223,6 +227,9 @@
 %endif
 
 %changelog
+* Mon Jul 16 2007 Matthew Miller <mattdm at mattdm.org> - 2.8.4-4
+- patch from svn to fix rh bug #247414
+
 * Thu Jul 12 2007 Matthew Miller <mattdm at mattdm.org> - 2.8.4-3
 - include libwx_gtk2u_media, since I'm now listing the
   buildreqs properly.




More information about the scm-commits mailing list