summaryrefslogtreecommitdiff
path: root/ham/grig/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-06-26 21:21:25 +0000
committerjoerg <joerg@pkgsrc.org>2013-06-26 21:21:25 +0000
commita133c8890e3d88f49629be7bf0b827fd1f3d7c8c (patch)
treeaaf7f19102f12f5e7247fbd399229e906445e150 /ham/grig/patches
parent6ccfa7de3a8decb99c14fc72e01e5a69f8586e0d (diff)
downloadpkgsrc-a133c8890e3d88f49629be7bf0b827fd1f3d7c8c.tar.gz
Fix build against newer glib.
Diffstat (limited to 'ham/grig/patches')
-rw-r--r--ham/grig/patches/patch-src_main.c21
1 files changed, 21 insertions, 0 deletions
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