From a133c8890e3d88f49629be7bf0b827fd1f3d7c8c Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 26 Jun 2013 21:21:25 +0000 Subject: Fix build against newer glib. --- ham/grig/patches/patch-src_main.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ham/grig/patches/patch-src_main.c (limited to 'ham/grig/patches') 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 -- cgit v1.2.3