Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=a33b40b2161b22f5168048359deb151570c3c624

commit a33b40b2161b22f5168048359deb151570c3c624
Author: crazy <[EMAIL PROTECTED]>
Date:   Sun Sep 23 02:49:06 2007 +0200

wxgtk-u8-2.6.4-3-i686
* fixed g_free() issues

diff --git a/source/xlib-extra/wxgtk-u8/FrugalBuild 
b/source/xlib-extra/wxgtk-u8/FrugalBuild
index ca1adc9..39ecc96 100644
--- a/source/xlib-extra/wxgtk-u8/FrugalBuild
+++ b/source/xlib-extra/wxgtk-u8/FrugalBuild
@@ -4,18 +4,20 @@

pkgname=wxgtk-u8
pkgver=2.6.4
-pkgrel=2
+pkgrel=3
pkgdesc="GTK+ implementation of wxWidgets API for GUI unicode'"
_F_sourceforge_dirname="wxwindows"
_F_sourceforge_name="wxGTK"
_F_sourceforge_ext=".tar.bz2"
Finclude sourceforge
url="http://www.wxwidgets.org/";
-depends=('gtk+2>=2.12.0' 'wxgtk>=2.6.4-2')
+source=($source g_free.patch)
+depends=('gtk+2>=2.12.0' 'wxgtk>=2.6.4-3')
groups=('xlib-extra')
archs=('i686' 'x86_64')
options=('scriptlet')
-sha1sums=('f2cad3189b8c5d3b5ca3f8f592bafdb183be7dd2')
+sha1sums=('f2cad3189b8c5d3b5ca3f8f592bafdb183be7dd2' \
+          'd5526f171231febd957e84574a55a2e2a8cbbfe6')
## FIXME: this package is not needed at all it could be done as 'subpkg' from 
wxgtk
##        or maybe we should use the 'all' tarball and Fsplit things .. -- 
crazy --
build()
diff --git a/source/xlib-extra/wxgtk-u8/g_free.patch 
b/source/xlib-extra/wxgtk-u8/g_free.patch
new file mode 100644
index 0000000..ca0fb43
--- /dev/null
+++ b/source/xlib-extra/wxgtk-u8/g_free.patch
@@ -0,0 +1,24 @@
+diff -Naurp wxGTK-2.6.4/src/gtk/button.cpp wxGTK-2.6.4-p/src/gtk/button.cpp
+--- wxGTK-2.6.4/src/gtk/button.cpp     2007-03-20 16:50:07.000000000 +0100
++++ wxGTK-2.6.4-p/src/gtk/button.cpp   2007-09-23 01:53:30.000000000 +0200
+@@ -89,7 +89,7 @@ gtk_button_style_set_callback( GtkWidget
+             right_border += default_border->right;
+             top_border += default_border->top;
+             bottom_border += default_border->bottom;
+-            g_free( default_border );
++            gtk_border_free( default_border );
+         }
+ #else
+         left_border = 6;
+diff -Naurp wxGTK-2.6.4/src/gtk/window.cpp wxGTK-2.6.4-p/src/gtk/window.cpp
+--- wxGTK-2.6.4/src/gtk/window.cpp     2007-03-20 16:50:07.000000000 +0100
++++ wxGTK-2.6.4-p/src/gtk/window.cpp   2007-09-23 01:53:30.000000000 +0200
+@@ -3273,7 +3273,7 @@ void wxWindowGTK::DoSetSize( int x, int
+                 right_border += default_border->right;
+                 top_border += default_border->top;
+                 bottom_border += default_border->bottom;
+-                g_free( default_border );
++                gtk_border_free( default_border );
+             }
+ #else
+             left_border = 6;
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to