pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/gtk2-engines Added patch-aa for ISO C90 compatibil...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4ae1c143cf30
branches:  trunk
changeset: 504675:4ae1c143cf30
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Dec 18 20:49:48 2005 +0000

description:
Added patch-aa for ISO C90 compatibility.

diffstat:

 x11/gtk2-engines/distinfo         |   3 ++-
 x11/gtk2-engines/patches/patch-aa |  24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r e66759f4bea0 -r 4ae1c143cf30 x11/gtk2-engines/distinfo
--- a/x11/gtk2-engines/distinfo Sun Dec 18 20:28:34 2005 +0000
+++ b/x11/gtk2-engines/distinfo Sun Dec 18 20:49:48 2005 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.10 2005/08/26 16:33:40 drochner Exp $
+$NetBSD: distinfo,v 1.11 2005/12/18 20:49:48 rillig Exp $
 
 SHA1 (gtk-engines-2.6.5.tar.bz2) = b7cddde1c5cd8b8f9bbc86c5383652f592ce265e
 RMD160 (gtk-engines-2.6.5.tar.bz2) = 657176a1c538ef98f879de5c87a579c7af815316
 Size (gtk-engines-2.6.5.tar.bz2) = 477897 bytes
+SHA1 (patch-aa) = c5bcbc3c491f5aa1be0d711cf946b40407587b22
diff -r e66759f4bea0 -r 4ae1c143cf30 x11/gtk2-engines/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/gtk2-engines/patches/patch-aa Sun Dec 18 20:49:48 2005 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.5 2005/12/18 20:49:48 rillig Exp $
+
+Keywords: c90
+
+--- engines/crux/src/crux-draw.c.orig  Sun Aug 21 14:52:40 2005
++++ engines/crux/src/crux-draw.c       Sun Dec 18 21:25:44 2005
+@@ -2323,6 +2323,8 @@ draw_extension (GtkStyle *style,
+     GdkRectangle rect;
+ 
+     eazel_theme_data *theme_data;
++    GtkWidget* parent_widget;
++    gint relative_x;
+ 
+     g_return_if_fail (style != NULL);
+     g_return_if_fail (window != NULL);
+@@ -2334,8 +2336,6 @@ draw_extension (GtkStyle *style,
+           detail, state_type, shadow_type, x, y, width, height);
+ 
+       /* Get x relative to parent widget, not window */
+-      GtkWidget* parent_widget;
+-      gint relative_x;
+       if (widget != NULL)
+       {
+               parent_widget = gtk_widget_get_parent(widget);



Home | Main Index | Thread Index | Old Index