diff options
author | CoprDistGit <infra@openeuler.org> | 2025-08-06 12:21:54 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-08-06 12:21:54 +0000 |
commit | 7ce9374948d79011224a28523a428ad4e6874c91 (patch) | |
tree | 5a017e3558108b1a78b3803fc6afa333978bd7d7 /gnuplot-4.6.4-singlethread.patch | |
parent | 495c6a9d7a708b98fe40a23f4c39d1abe6904c99 (diff) |
automatic import of gnuplotopeneuler25.03
Diffstat (limited to 'gnuplot-4.6.4-singlethread.patch')
-rw-r--r-- | gnuplot-4.6.4-singlethread.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gnuplot-4.6.4-singlethread.patch b/gnuplot-4.6.4-singlethread.patch new file mode 100644 index 0000000..f492d50 --- /dev/null +++ b/gnuplot-4.6.4-singlethread.patch @@ -0,0 +1,15 @@ +diff -up wrk/src/wxterminal/wxt_gui.h.wrk wrk/src/wxterminal/wxt_gui.h +--- wrk/src/wxterminal/wxt_gui.h.wrk 2014-04-15 17:45:55.184153975 +0200 ++++ wrk/src/wxterminal/wxt_gui.h 2014-04-15 17:48:08.151643628 +0200 +@@ -155,8 +155,9 @@ extern "C" { + * already has its event loop, we may or may not be multithreaded */ + #ifndef WXT_MONOTHREADED + #if defined(__WXGTK__) +-# define WXT_MULTITHREADED +-#elif defined(__WXMSW__) || defined(__WXMAC__) ++//avoid a crash when unlocking a not-locked mutex, do not use threads ++//# define WXT_MULTITHREADED ++//#elif defined(__WXMSW__) || defined(__WXMAC__) + # define WXT_MONOTHREADED + #else + # error "wxt does not know if this platform has to be single- or multi-threaded" |