summaryrefslogtreecommitdiff
path: root/ham/grig
diff options
context:
space:
mode:
authorjoerg <joerg>2013-06-26 21:21:25 +0000
committerjoerg <joerg>2013-06-26 21:21:25 +0000
commitaf2474f9c0e091f0609408cf935a43cb4a1454af (patch)
treeaaf7f19102f12f5e7247fbd399229e906445e150 /ham/grig
parent280056d29113dcf74c2a5da24fcb82bf566b0038 (diff)
downloadpkgsrc-af2474f9c0e091f0609408cf935a43cb4a1454af.tar.gz
Fix build against newer glib.
Diffstat (limited to 'ham/grig')
-rw-r--r--ham/grig/distinfo3
-rw-r--r--ham/grig/patches/patch-src_main.c21
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