diff options
author | rillig <rillig@pkgsrc.org> | 2005-12-18 20:49:48 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-12-18 20:49:48 +0000 |
commit | 8499cf374055c688354be7acb7e0e4331fbdddc1 (patch) | |
tree | 2c80391989e51cbbce9b0faf681cd9dab383f4cb /x11 | |
parent | 29221450fc2b4231192c340b4e03d82782e1cc05 (diff) | |
download | pkgsrc-8499cf374055c688354be7acb7e0e4331fbdddc1.tar.gz |
Added patch-aa for ISO C90 compatibility.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gtk2-engines/distinfo | 3 | ||||
-rw-r--r-- | x11/gtk2-engines/patches/patch-aa | 24 |
2 files changed, 26 insertions, 1 deletions
diff --git a/x11/gtk2-engines/distinfo b/x11/gtk2-engines/distinfo index 1606490d0b3..f5ea0772376 100644 --- a/x11/gtk2-engines/distinfo +++ b/x11/gtk2-engines/distinfo @@ -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 --git a/x11/gtk2-engines/patches/patch-aa b/x11/gtk2-engines/patches/patch-aa new file mode 100644 index 00000000000..6c86a998d6e --- /dev/null +++ b/x11/gtk2-engines/patches/patch-aa @@ -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); |