pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/quarry va_copy does not have const on the source...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/530d65bac986
branches:  trunk
changeset: 649077:530d65bac986
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Mar 31 15:38:49 2015 +0000

description:
va_copy does not have const on the source list, so don't use const
structures containing the va_list either.

diffstat:

 games/quarry/distinfo                              |   3 ++-
 games/quarry/patches/patch-src_gui-gtk_gtk-utils.c |  22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (43 lines):

diff -r f6da12b776b9 -r 530d65bac986 games/quarry/distinfo
--- a/games/quarry/distinfo     Tue Mar 31 15:27:37 2015 +0000
+++ b/games/quarry/distinfo     Tue Mar 31 15:38:49 2015 +0000
@@ -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.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 -r f6da12b776b9 -r 530d65bac986 games/quarry/patches/patch-src_gui-gtk_gtk-utils.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/quarry/patches/patch-src_gui-gtk_gtk-utils.c        Tue Mar 31 15:38:49 2015 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index