From 04bf32b79360b80423083df9e78f5ff3fb6606f2 Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Wed, 22 May 2013 16:35:22 +0200
Subject: [PATCH] ORBit2: make this build with glib-2.36 (patch from pkgsrc).

---
 .../ORBit2/patches/patch-linc2_src_Makefile.in    | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/ORBit2/patches/patch-linc2_src_Makefile.in

diff --git a/srcpkgs/ORBit2/patches/patch-linc2_src_Makefile.in b/srcpkgs/ORBit2/patches/patch-linc2_src_Makefile.in
new file mode 100644
index 00000000000..e86dd8c304a
--- /dev/null
+++ b/srcpkgs/ORBit2/patches/patch-linc2_src_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-linc2_src_Makefile.in,v 1.1 2013/04/19 14:28:54 prlw1 Exp $
+
+Avoid compilation error caused by use of deprecated g_thread API
+
+--- linc2/src/Makefile.in.orig	2010-09-28 09:39:39.000000000 +0000
++++ linc2/src/Makefile.in
+@@ -244,7 +244,7 @@ noinst_LTLIBRARIES = liblinc.la
+ #	-I$(top_srcdir)/include    
+ INCLUDES = -I$(top_builddir)/linc2/include \
+ 	-I$(top_srcdir)/linc2/include $(LINC_CFLAGS) $(WARN_CFLAGS) \
+-	-DG_DISABLE_DEPRECATED $(am__append_1)
++	$(am__append_1)
+ liblinc_la_SOURCES = \
+ 	linc.c			\
+ 	linc-connection.c	\