pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/gok Remove some useless C99isms to fix the build ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4ed7114c28a5
branches:  trunk
changeset: 482774:4ed7114c28a5
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Tue Nov 02 22:51:33 2004 +0000

description:
Remove some useless C99isms to fix the build under NetBSD 1.6.2.
Should fix bug PR/27188 and problem shown in kristerw@'s bulk build.

diffstat:

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

diffs (40 lines):

diff -r d4d67e4a0c08 -r 4ed7114c28a5 misc/gok/distinfo
--- a/misc/gok/distinfo Tue Nov 02 22:51:28 2004 +0000
+++ b/misc/gok/distinfo Tue Nov 02 22:51:33 2004 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.5 2004/10/28 19:11:50 jmmv Exp $
+$NetBSD: distinfo,v 1.6 2004/11/02 22:51:33 jmmv Exp $
 
 SHA1 (gok-0.11.12.tar.bz2) = 94a19d66cf2ce7b869997fff717377d305bbf868
 Size (gok-0.11.12.tar.bz2) = 1352249 bytes
+SHA1 (patch-aa) = 30be5556bd104e2eeb30fee75c86256dbce27567
diff -r d4d67e4a0c08 -r 4ed7114c28a5 misc/gok/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gok/patches/patch-aa Tue Nov 02 22:51:33 2004 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.1 2004/11/02 22:51:33 jmmv Exp $
+
+--- gok/main.c.orig    2004-10-13 15:36:18.000000000 +0200
++++ gok/main.c
+@@ -608,8 +608,8 @@ gok_main_open(gint argc, gchar *argv[])
+               
+               fprintf (stderr, "\nGOK Actions:\n");
+               if (error == NULL) {
+-                      list = g_slist_sort (list, (GCompareFunc)comparebasenames);
+-                      GSList* listhead = list;
++                      GSList* listhead;
++                      listhead = list = g_slist_sort (list, (GCompareFunc)comparebasenames);
+                       while (list) {
+                               fprintf(stderr,"%s\n",g_path_get_basename(list->data));
+                               g_free(list->data);
+@@ -636,8 +636,8 @@ gok_main_open(gint argc, gchar *argv[])
+               fprintf (stderr, "\nGOK Access Methods:\n");
+               if (error == NULL) {
+                       gchar* base;
+-                      list = g_slist_sort (list, (GCompareFunc)comparebasenames);
+-                      GSList* listhead = list;
++                      GSList* listhead;
++                      listhead = list = g_slist_sort (list, (GCompareFunc)comparebasenames);
+                       while (list) {
+                               base = g_path_get_basename(list->data);
+                               fprintf(stderr,"%s\n",base);



Home | Main Index | Thread Index | Old Index