ottxor      15/03/16 16:11:55

  Added:                espresso-3.3.0-cython-0.22.patch
  Log:
  fixed build with cython-0.22 (bug #543136)
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
C2000586)

Revision  Changes    Path
1.1                  sci-physics/espresso/files/espresso-3.3.0-cython-0.22.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/espresso/files/espresso-3.3.0-cython-0.22.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/espresso/files/espresso-3.3.0-cython-0.22.patch?rev=1.1&content-type=text/plain

Index: espresso-3.3.0-cython-0.22.patch
===================================================================
>From 9e6caa3294b0f5f377c16550a07429b73c871ac3 Mon Sep 17 00:00:00 2001
From: Christoph Junghans <[email protected]>
Date: Thu, 12 Mar 2015 08:55:51 -0600
Subject: [PATCH] fix build with cython-0.22

---
 src/python/espressomd/particle_data.pxd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/python/espressomd/particle_data.pxd 
b/src/python/espressomd/particle_data.pxd
index fff022b..4cc39e8 100644
--- a/src/python/espressomd/particle_data.pxd
+++ b/src/python/espressomd/particle_data.pxd
@@ -185,5 +185,5 @@ cdef class ParticleHandle(object):
   cdef public int id
   cdef bint valid
   cdef Particle particleData
-  cdef int updateParticleData(self)
+  cdef int updateParticleData(self) except -1
 
-- 
2.0.5





Reply via email to