pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/gok Fix a C99-ism to make this pkg build with gcc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0a28dd550390
branches:  trunk
changeset: 483487:0a28dd550390
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Fri Nov 12 22:10:16 2004 +0000

description:
Fix a C99-ism to make this pkg build with gcc 2.95.

diffstat:

 misc/gok/distinfo         |   3 ++-
 misc/gok/patches/patch-aa |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 05dab0d375c8 -r 0a28dd550390 misc/gok/distinfo
--- a/misc/gok/distinfo Fri Nov 12 21:21:08 2004 +0000
+++ b/misc/gok/distinfo Fri Nov 12 22:10:16 2004 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.7 2004/11/05 14:11:41 jmmv Exp $
+$NetBSD: distinfo,v 1.8 2004/11/12 22:10:16 kristerw Exp $
 
 SHA1 (gok-0.11.15.tar.bz2) = 546ccca602a6d9f993657484ba4a05b9a788a45d
 Size (gok-0.11.15.tar.bz2) = 1355428 bytes
+SHA1 (patch-aa) = 48aa6d30bcb91fb02049d5efbcf8f5c33bb13e04
diff -r 05dab0d375c8 -r 0a28dd550390 misc/gok/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gok/patches/patch-aa Fri Nov 12 22:10:16 2004 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.3 2004/11/12 22:10:16 kristerw Exp $
+
+--- gok/gok-keyboard.c.orig    Fri Nov 12 22:40:44 2004
++++ gok/gok-keyboard.c Fri Nov 12 22:42:15 2004
+@@ -2518,9 +2518,10 @@
+                       }
+                       else if ((pKeyboard->search_type == GOK_SPY_SEARCH_ACTIONABLE) && !did_actionkeys) 
+                       {
++                              AccessibleAction *action;
+                               gint action_count, i;
+                               did_actionkeys = TRUE;
+-                              AccessibleAction *action = 
++                              action = 
+                                       Accessible_getAction (pNodeAccessible->paccessible);
+                               if (!action) 
+                                       break;



Home | Main Index | Thread Index | Old Index