diff options
author | jmmv <jmmv@pkgsrc.org> | 2004-11-02 22:51:33 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2004-11-02 22:51:33 +0000 |
commit | 6263c9cb0b433bf50b8d4b5e5756513ab679a0e9 (patch) | |
tree | 6f6b8adf66e297a6922254997f1bc8fbf011f32b /misc/gok | |
parent | 1e6a0d86644ed8ad9dd2865ec1e75e75fab77ded (diff) | |
download | pkgsrc-6263c9cb0b433bf50b8d4b5e5756513ab679a0e9.tar.gz |
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 (limited to 'misc/gok')
-rw-r--r-- | misc/gok/distinfo | 3 | ||||
-rw-r--r-- | misc/gok/patches/patch-aa | 26 |
2 files changed, 28 insertions, 1 deletions
diff --git a/misc/gok/distinfo b/misc/gok/distinfo index 162e2e3d8a3..55b0ad0a14d 100644 --- a/misc/gok/distinfo +++ b/misc/gok/distinfo @@ -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 --git a/misc/gok/patches/patch-aa b/misc/gok/patches/patch-aa new file mode 100644 index 00000000000..253ea4b06ac --- /dev/null +++ b/misc/gok/patches/patch-aa @@ -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); |