pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/scigraphica Python is normally multithreaded,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/73d470fc2d74
branches:  trunk
changeset: 511818:73d470fc2d74
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Apr 22 18:44:58 2006 +0000

description:
Python is normally multithreaded, so link against pthread.
Fix label at end of compound statement errors.

diffstat:

 graphics/scigraphica/Makefile         |   4 +++-
 graphics/scigraphica/distinfo         |   3 ++-
 graphics/scigraphica/patches/patch-ad |  20 ++++++++++++++++++++
 3 files changed, 25 insertions(+), 2 deletions(-)

diffs (62 lines):

diff -r 86096f4e981f -r 73d470fc2d74 graphics/scigraphica/Makefile
--- a/graphics/scigraphica/Makefile     Sat Apr 22 18:32:00 2006 +0000
+++ b/graphics/scigraphica/Makefile     Sat Apr 22 18:44:58 2006 +0000
@@ -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 @@
 LTCONFIG_OVERRIDE=     ${WRKSRC}/ltconfig
 
 PY_PATCHPLIST=         YES
+PTHREAD_AUTO_VARS=     yes
 
 .include "../../lang/python/application.mk"
 
@@ -35,5 +36,6 @@
 .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 -r 86096f4e981f -r 73d470fc2d74 graphics/scigraphica/distinfo
--- a/graphics/scigraphica/distinfo     Sat Apr 22 18:32:00 2006 +0000
+++ b/graphics/scigraphica/distinfo     Sat Apr 22 18:44:58 2006 +0000
@@ -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 @@
 SHA1 (patch-aa) = 5cd12c4adaa496bafc6bb68c57575a4e35d3913a
 SHA1 (patch-ab) = f96a2bf4d9ac22e9ec9c467b010f9f9cf4a642d5
 SHA1 (patch-ac) = c105e7f5ac410bbce44df667594b70cfdba825af
+SHA1 (patch-ad) = da24a288074ec93d1c734b57afc92af96a98df49
diff -r 86096f4e981f -r 73d470fc2d74 graphics/scigraphica/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/scigraphica/patches/patch-ad     Sat Apr 22 18:44:58 2006 +0000
@@ -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;
+     }
+   }
+ 



Home | Main Index | Thread Index | Old Index