Files
python-pcl/fix_nogil.patch
Dirk Stoecker 7e8c62622a Accepting request 650210 from home:dstoecker
- copy NOGIL patch from upstream
- Add visualization18.patch to support visualization component

OBS-URL: https://build.opensuse.org/request/show/650210
OBS-URL: https://build.opensuse.org/package/show/science/python-pcl?expand=0&rev=2
2018-11-19 14:18:18 +00:00

26 lines
824 B
Diff

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)