File fix_nogil.patch of Package python-pcl

From d8b1fea115eee3688eab2b225ceb8847278d6516 Mon Sep 17 00:00:00 2001
From: Jochen Sprickerhof <github@jochen.sprickerhof.de>
Date: Tue, 9 Oct 2018 18:16:51 +0200
Subject: [PATCH] Mark PCLBase as nogil to fix compilation (#231)

* Mark PCLBase as nogil to fix compilation

Closes: #192
---
 pcl/pcl_defs.pxd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pcl/pcl_defs.pxd b/pcl/pcl_defs.pxd
index 881f707..1117ee6 100644
--- a/pcl/pcl_defs.pxd
+++ b/pcl/pcl_defs.pxd
@@ -509,7 +509,7 @@ ctypedef shared_ptr[vector[int]] IndicesPtr_t;
 # pcl_base.h
 # template <typename PointT>
 # class PCLBase
-cdef extern from "pcl/pcl_base.h" namespace "pcl":
+cdef extern from "pcl/pcl_base.h" namespace "pcl" nogil:
     cdef cppclass PCLBase[PointT]:
         PCLBase ()
         # PCLBase (const PCLBase& base)
openSUSE Build Service is sponsored by