Step 2: base tools: devel/pkg-config

This commit is contained in:
2014-04-17 11:14:40 +02:00
committed by Lionel Sambuc
parent 81e08e7930
commit 17152d9302
3 changed files with 22 additions and 0 deletions

View File

@@ -30,6 +30,11 @@ post-configure:
cd ${WRKSRC}/glib; \
${GREP} -v HAVE_DTRACE config.h >config.h.new; \
${MV} config.h.new config.h
.if ${OS_VARIANT} == "Minix"
USE_GNU_ICONV= yes
.include "../../devel/pth/buildlink3.mk"
.endif
.endif
.if ${OS_VARIANT} == "SCOOSR5"

View File

@@ -5,3 +5,4 @@ RMD160 (pkg-config-0.28.tar.gz) = 233f0b667cfb8f2e6a5647984d6389a770132173
Size (pkg-config-0.28.tar.gz) = 1931203 bytes
SHA1 (patch-configure) = 286dcc405ae8f4d4c6e8598960ed03ba5822dfb1
SHA1 (patch-glib_glib_gtimer.c) = abd8b5fa7d3a748385b91d47728531da37e1b4e5
SHA1 (patch-zz-minix) = 423a32586781d9dcecb5e1004edf67d769608dc3

View File

@@ -0,0 +1,16 @@
$NetBSD$
--- glib/glib/gthread-posix.c.orig Tue Oct 2 05:49:07 2012
+++ glib/glib/gthread-posix.c
@@ -1143,7 +1143,11 @@ g_system_thread_new (GThreadFunc thread_func,
void
g_thread_yield (void)
{
+#ifdef __minix
+ return;
+#else
sched_yield ();
+#endif
}
void