summaryrefslogtreecommitdiff
path: root/sci-libs/plplot/files/plplot-5.15.0_p15-fixPython.patch
blob: 1c0a9fe674300af2553718c813be359eeef64791 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/bindings/python/plplotc.i	2026-06-06 15:07:35.176696756 +0200
+++ b/bindings/python/plplotc.i	2026-06-06 15:08:19.222247311 +0200
@@ -1217,7 +1217,7 @@
         {                     // grab the Global Interpreter Lock to be sure threads don't mess us up
             MY_BLOCK_THREADS
             // build the argument list
-#ifdef PL_HAVE_PTHREAD
+#if 1
             px = PyArray_SimpleNewFromData( 1, &nn, NPY_PLFLT, (void *) x );
             py = PyArray_SimpleNewFromData( 1, &nn, NPY_PLFLT, (void *) y );
 #else