pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/paragui Require native threads since this isn't pt...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/90d6c9b0482d
branches:  trunk
changeset: 459923:90d6c9b0482d
user:      jmc <jmc%pkgsrc.org@localhost>
date:      Mon Aug 11 18:32:50 2003 +0000

description:
Require native threads since this isn't pth aware and uses SDL which is pth
aware. This means SDL_Init tries to pth_init() which fails since pthread
calls from paragui have already implicitly called pth_init().
XXX - pth probably needs to handle this better by not returning -1 on
multiple init calls.

diffstat:

 x11/paragui/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 01a8133b1d61 -r 90d6c9b0482d x11/paragui/Makefile
--- a/x11/paragui/Makefile      Mon Aug 11 18:27:27 2003 +0000
+++ b/x11/paragui/Makefile      Mon Aug 11 18:32:50 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2003/07/26 21:41:29 jmmv Exp $
+# $NetBSD: Makefile,v 1.5 2003/08/11 18:32:50 jmc Exp $
 #
 
 DISTNAME=              paragui-1.0.4
@@ -16,6 +16,7 @@
 LIBTOOL_OVERRIDE=      ${WRKSRC}/libtool ${WRKSRC}/src/physfs/libtool
 PKGCONFIG_OVERRIDE+=   ${WRKSRC}/paragui.pc.in
 GNU_CONFIGURE=         yes
+PTHREAD_OPTS+=         require native
 
 .include "../../devel/SDL/buildlink2.mk"
 .include "../../devel/physfs/buildlink2.mk"



Home | Main Index | Thread Index | Old Index