diff options
author | joerg <joerg> | 2015-03-31 15:38:49 +0000 |
---|---|---|
committer | joerg <joerg> | 2015-03-31 15:38:49 +0000 |
commit | 94afaf2246a11a6e0b3da2e85332f0210f1a219b (patch) | |
tree | a7250a69fced9404bdbf35ed230036eccc3bc98c /games | |
parent | b7a3f528b7581336f431a180d6345ef8e11d684c (diff) | |
download | pkgsrc-94afaf2246a11a6e0b3da2e85332f0210f1a219b.tar.gz |
va_copy does not have const on the source list, so don't use const
structures containing the va_list either.
Diffstat (limited to 'games')
-rw-r--r-- | games/quarry/distinfo | 3 | ||||
-rw-r--r-- | games/quarry/patches/patch-src_gui-gtk_gtk-utils.c | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/games/quarry/distinfo b/games/quarry/distinfo index 281ac5c05f4..cc789a3921b 100644 --- a/games/quarry/distinfo +++ b/games/quarry/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2012/11/16 00:50:39 joerg Exp $ +$NetBSD: distinfo,v 1.3 2015/03/31 15:38:49 joerg Exp $ SHA1 (quarry-0.2.0.tar.gz) = 261683ed795db8309b2a830badff4d2f1f2cd860 RMD160 (quarry-0.2.0.tar.gz) = d931fa8a228f545c285c5481771bae91fa0787f8 @@ -12,6 +12,7 @@ SHA1 (patch-src_board_board.c) = a4ca50b94312ec6536dd61fd16cd705923c6402e SHA1 (patch-src_board_board.h) = fb7096efb0131bbeb23bdfc73bcc9192cae391e0 SHA1 (patch-src_gui-gtk_gtk-control-center.c) = a25b63b0fbcf2d5c8133ff58d7ebc2dff7c8dbc5 SHA1 (patch-src_gui-gtk_gtk-control-center.h) = f792f026b4793fee46e748bc6206ff309bc932d9 +SHA1 (patch-src_gui-gtk_gtk-utils.c) = 4f71cb66da1c0ffeb840d200dc2edabafb1ba14c SHA1 (patch-src_gui-gtk_quarry-text-buffer.c) = efbcdad5857cb61262d92ee6086f4c696601a0ce SHA1 (patch-src_gui-gtk_quarry-text-buffer.h) = 9ec5a88dfbd1fe24d324cbed907ff72de192d70c SHA1 (patch-src_gui-utils_time-control.c) = 2be7ce448f22ce88cbc25025943df3b306bd5e22 diff --git a/games/quarry/patches/patch-src_gui-gtk_gtk-utils.c b/games/quarry/patches/patch-src_gui-gtk_gtk-utils.c new file mode 100644 index 00000000000..61f5be56e09 --- /dev/null +++ b/games/quarry/patches/patch-src_gui-gtk_gtk-utils.c @@ -0,0 +1,22 @@ +$NetBSD: patch-src_gui-gtk_gtk-utils.c,v 1.1 2015/03/31 15:38:49 joerg Exp $ + +--- src/gui-gtk/gtk-utils.c.orig 2015-03-26 10:57:34.000000000 +0000 ++++ src/gui-gtk/gtk-utils.c +@@ -87,7 +87,7 @@ static void invoke_toolbar_button_callb + gpointer user_data); + static void set_toolbar_item_sensitive + (GtkWidget *button, +- const GtkUtilsToolbarCallbackArguments *arguments); ++ GtkUtilsToolbarCallbackArguments *arguments); + + static void set_widget_sensitivity_on_toggle + (GtkToggleButton *toggle_button, GtkWidget *widget); +@@ -1076,7 +1076,7 @@ gtk_utils_set_toolbar_buttons_sensitive + + static void + set_toolbar_item_sensitive (GtkWidget *button, +- const GtkUtilsToolbarCallbackArguments *arguments) ++ GtkUtilsToolbarCallbackArguments *arguments) + { + const GtkUtilsToolbarEntry *button_entry + = g_object_get_qdata (G_OBJECT (button), toolbar_button_entry_quark); |