Wed Jun 26 21:21:26 2013 UTC ()
Fix build against newer glib.


(joerg)
diff -r1.7 -r1.8 pkgsrc/ham/grig/distinfo
diff -r0 -r1.1 pkgsrc/ham/grig/patches/patch-src_main.c

cvs diff -r1.7 -r1.8 pkgsrc/ham/grig/distinfo (expand / switch to unified diff)

--- pkgsrc/ham/grig/distinfo 2012/11/03 22:56:06 1.7
+++ pkgsrc/ham/grig/distinfo 2013/06/26 21:21:25 1.8
@@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
1$NetBSD: distinfo,v 1.7 2012/11/03 22:56:06 gdt Exp $ 1$NetBSD: distinfo,v 1.8 2013/06/26 21:21:25 joerg Exp $
2 2
3SHA1 (grig-0.8.0.tar.gz) = 4de0b484dcc868eddf82ead66ef6a337592b9aee 3SHA1 (grig-0.8.0.tar.gz) = 4de0b484dcc868eddf82ead66ef6a337592b9aee
4RMD160 (grig-0.8.0.tar.gz) = a4854280717ac38419848b70c8e4f457c3c2d7ca 4RMD160 (grig-0.8.0.tar.gz) = a4854280717ac38419848b70c8e4f457c3c2d7ca
5Size (grig-0.8.0.tar.gz) = 514072 bytes 5Size (grig-0.8.0.tar.gz) = 514072 bytes
 6SHA1 (patch-src_main.c) = 6939910340b89ec00247f920b4ffb2b487b079a3

File Added: pkgsrc/ham/grig/patches/Attic/patch-src_main.c
$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