From cff998162718d26753df7f73ce997e00c6a82032 Mon Sep 17 00:00:00 2001 From: joerg Date: Sat, 22 Apr 2006 18:44:58 +0000 Subject: Python is normally multithreaded, so link against pthread. Fix label at end of compound statement errors. --- graphics/scigraphica/Makefile | 4 +++- graphics/scigraphica/distinfo | 3 ++- graphics/scigraphica/patches/patch-ad | 20 ++++++++++++++++++++ 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 graphics/scigraphica/patches/patch-ad (limited to 'graphics/scigraphica') diff --git a/graphics/scigraphica/Makefile b/graphics/scigraphica/Makefile index 444f87ef046..7a117e317fa 100644 --- a/graphics/scigraphica/Makefile +++ b/graphics/scigraphica/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.34 2006/04/17 13:46:35 wiz Exp $ +# $NetBSD: Makefile,v 1.35 2006/04/22 18:44:58 joerg Exp $ # DISTNAME= scigraphica-0.8.0 @@ -26,6 +26,7 @@ USE_LIBTOOL= YES LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig PY_PATCHPLIST= YES +PTHREAD_AUTO_VARS= yes .include "../../lang/python/application.mk" @@ -35,5 +36,6 @@ PY_PATCHPLIST= YES .include "../../textproc/libxml/buildlink3.mk" .include "../../x11/gtk/buildlink3.mk" .include "../../x11/gtk+extra/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/scigraphica/distinfo b/graphics/scigraphica/distinfo index 3e2fcda48bd..24f55b99096 100644 --- a/graphics/scigraphica/distinfo +++ b/graphics/scigraphica/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2005/02/24 08:45:13 agc Exp $ +$NetBSD: distinfo,v 1.8 2006/04/22 18:44:58 joerg Exp $ SHA1 (scigraphica-0.8.0.tar.gz) = 7a3b932f4e5de39bbf815c0e5629005e3c209421 RMD160 (scigraphica-0.8.0.tar.gz) = f0f38cdc877ffe6ed16e655efac324c7c36f0f9f @@ -6,3 +6,4 @@ Size (scigraphica-0.8.0.tar.gz) = 841199 bytes SHA1 (patch-aa) = 5cd12c4adaa496bafc6bb68c57575a4e35d3913a SHA1 (patch-ab) = f96a2bf4d9ac22e9ec9c467b010f9f9cf4a642d5 SHA1 (patch-ac) = c105e7f5ac410bbce44df667594b70cfdba825af +SHA1 (patch-ad) = da24a288074ec93d1c734b57afc92af96a98df49 diff --git a/graphics/scigraphica/patches/patch-ad b/graphics/scigraphica/patches/patch-ad new file mode 100644 index 00000000000..fa410f5235b --- /dev/null +++ b/graphics/scigraphica/patches/patch-ad @@ -0,0 +1,20 @@ +$NetBSD: patch-ad,v 1.1 2006/04/22 18:44:58 joerg Exp $ + +--- src/python/python_config.c.orig 2006-04-22 18:26:55.000000000 +0000 ++++ src/python/python_config.c +@@ -236,6 +236,7 @@ void config_apply(GtkWidget *widget, gpo + } + break; + default: ++ break; + } + } + #ifdef WITH_GNOME +@@ -610,6 +611,7 @@ void sg_create_config_dialog(sg_config_i + break; + + default: ++ break; + } + } + -- cgit v1.2.3