[arch-commits] Commit in python-vpython/trunk (PKGBUILD python-visual_gcc43.diff)

Kevin Piche kevin at archlinux.org
Mon Jul 7 13:16:34 EDT 2008


    Date: Monday, July 7, 2008 @ 13:16:33
  Author: kevin
Revision: 4469

upgpkg: python-vpython 3.2.9-4
    Rebuilt for boost 1.35.0 and patch for gcc 4.3

Added:
  python-vpython/trunk/python-visual_gcc43.diff
Modified:
  python-vpython/trunk/PKGBUILD

--------------------------+
 PKGBUILD                 |   11 +++++++----
 python-visual_gcc43.diff |   12 ++++++++++++
 2 files changed, 19 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-07 17:10:58 UTC (rev 4468)
+++ PKGBUILD	2008-07-07 17:16:33 UTC (rev 4469)
@@ -3,20 +3,23 @@
 # Contributor: Comete <la_comete at tiscali.fr>
 pkgname=python-vpython
 pkgver=3.2.9
-pkgrel=3
+pkgrel=4
 pkgdesc="A Python module that offers real-time 3D output, and is easily usable by novice programmers"
 arch=(i686 x86_64)
 url="http://www.vpython.org"
 depends=('gtk' 'python' 'gtkglarea' 'pkgconfig' 'python-numeric'
-'boost>=1.34.0' 'tk')
+'boost>=1.35.0' 'tk')
 license=('custom')
-source=(http://vpython.org/download/visual-$pkgver.tar.bz2 'idlepath.patch')
-md5sums=('58e46ecb628a4fdbb5c58540b6cbede1' '5739f4792c2594cfd5d2862025b6eedc')
+source=(http://vpython.org/download/visual-$pkgver.tar.bz2 idlepath.patch
+python-visual_gcc43.diff)
+md5sums=('58e46ecb628a4fdbb5c58540b6cbede1' '5739f4792c2594cfd5d2862025b6eedc'
+         '46f7ec82b10ad24c0298f49a4998b73e')
 replaces=(vpython)
 
 build() {
   cd $startdir/src/visual-$pkgver
   patch -Np1 -i ../idlepath.patch || return 1
+  patch -Np1 -i ../python-visual_gcc43.diff || return 1
   pythondir=`python -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
   unset PYTHONPATH							# ignore developers PYTHONPATH
   ./configure --prefix=/usr --with-example-dir=$pythondir/visual/demos

Added: python-visual_gcc43.diff
===================================================================
--- python-visual_gcc43.diff	                        (rev 0)
+++ python-visual_gcc43.diff	2008-07-07 17:16:33 UTC (rev 4469)
@@ -0,0 +1,12 @@
+diff -Nru --exclude changelog python-visual-3.2.9/include/platlinux.h python-visual-3.2.9/include/platlinux.h
+--- python-visual-3.2.9/include/platlinux.h	2005-06-25 17:08:57.000000000 +0530
++++ python-visual-3.2.9/include/platlinux.h	2008-03-23 15:13:48.000000000 +0530
+@@ -24,7 +24,7 @@
+ 	pthread_mutex_t mtx;
+   
+  public:
+-	typedef lock<mutex> lock;
++	typedef visual::lock<mutex> lock;
+ 
+ 	mutex(int spincount=0, int count=1);
+ 	~mutex();





More information about the arch-commits mailing list