mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
Step 2: base tools: devel/pkg-config
This commit is contained in:
parent
77fd7dc245
commit
ae4646ecf0
@ -32,6 +32,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"
|
||||
|
@ -7,3 +7,4 @@ Size (pkg-config-0.29.1.tar.gz) = 2013454 bytes
|
||||
SHA1 (patch-configure) = 6847644b9df3e3e2334f7c45bcbb2d3b7734d165
|
||||
SHA1 (patch-glib_configure) = 5080a19186a948ba305278cef91ec76a920429e4
|
||||
SHA1 (patch-glib_glib_gtimer.c) = ee877a6c148b148a86f9087960863cfa8305bbf7
|
||||
SHA1 (patch-zz-minix) = 423a32586781d9dcecb5e1004edf67d769608dc3
|
||||
|
16
devel/pkg-config/patches/patch-zz-minix
Normal file
16
devel/pkg-config/patches/patch-zz-minix
Normal 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
|
Loading…
x
Reference in New Issue
Block a user