diff options
author | joerg <joerg@pkgsrc.org> | 2013-06-26 21:21:25 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-06-26 21:21:25 +0000 |
commit | 2bcbdb07a4dd62ab182f5a971ef360d32fb8c757 (patch) | |
tree | aaf7f19102f12f5e7247fbd399229e906445e150 | |
parent | c5eb337062b0eab0157eceddd076e3c5ed274d7d (diff) | |
download | pkgsrc-2bcbdb07a4dd62ab182f5a971ef360d32fb8c757.tar.gz |
Fix build against newer glib.
-rw-r--r-- | ham/grig/distinfo | 3 | ||||
-rw-r--r-- | ham/grig/patches/patch-src_main.c | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/ham/grig/distinfo b/ham/grig/distinfo index 48a98887ce6..175fd923d7c 100644 --- a/ham/grig/distinfo +++ b/ham/grig/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.7 2012/11/03 22:56:06 gdt Exp $ +$NetBSD: distinfo,v 1.8 2013/06/26 21:21:25 joerg Exp $ SHA1 (grig-0.8.0.tar.gz) = 4de0b484dcc868eddf82ead66ef6a337592b9aee RMD160 (grig-0.8.0.tar.gz) = a4854280717ac38419848b70c8e4f457c3c2d7ca Size (grig-0.8.0.tar.gz) = 514072 bytes +SHA1 (patch-src_main.c) = 6939910340b89ec00247f920b4ffb2b487b079a3 diff --git a/ham/grig/patches/patch-src_main.c b/ham/grig/patches/patch-src_main.c new file mode 100644 index 00000000000..922eaa1558d --- /dev/null +++ b/ham/grig/patches/patch-src_main.c @@ -0,0 +1,21 @@ +$NetBSD: patch-src_main.c,v 1.1 2013/06/26 21:21:26 joerg Exp $ + +--- src/main.c.orig 2013-06-26 20:34:46.000000000 +0000 ++++ src/main.c +@@ -177,16 +177,6 @@ main (int argc, char *argv[]) + + g_free (fname); + +- +- /* initialize threads; according to glib docs, this call will terminate +- the program if threads are not supported... then why doesn''t it work +- on FreeBSD? +- */ +- if (!g_thread_supported ()) +- g_thread_init (NULL); +- +- +- + /* decode command line arguments; this part of the code only sets the + global flags and variables, whereafter we check each variable in + descending priority order. This way it is easy to exit the program |