summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJouni Kosonen <jouni.kosonen@tukesoft.com>2018-02-19 18:05:27 +0200
committerPatrice Clement <monsieurp@gentoo.org>2018-04-01 23:54:40 +0200
commite77c75e99ed8208c5eafdf74af09eb9631c8c160 (patch)
treea1f820c25f05cdc86282ff881e602645fd5cbcba /sci-libs/mathgl/files
parentmedia-sound/mpd: remove unused files. (diff)
downloadgentoo-e77c75e99ed8208c5eafdf74af09eb9631c8c160.tar.gz
gentoo-e77c75e99ed8208c5eafdf74af09eb9631c8c160.tar.bz2
gentoo-e77c75e99ed8208c5eafdf74af09eb9631c8c160.zip
sci-libs/mathgl: version bump to 2.4.1.
Closes: https://bugs.gentoo.org/596150 Closes: https://github.com/gentoo/gentoo/pull/7229
Diffstat (limited to 'sci-libs/mathgl/files')
-rw-r--r--sci-libs/mathgl/files/mathgl-2.4.1-mutex.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sci-libs/mathgl/files/mathgl-2.4.1-mutex.patch b/sci-libs/mathgl/files/mathgl-2.4.1-mutex.patch
new file mode 100644
index 000000000000..4ce7bb733114
--- /dev/null
+++ b/sci-libs/mathgl/files/mathgl-2.4.1-mutex.patch
@@ -0,0 +1,16 @@
+diff --git a/src/canvas.cpp b/src/canvas.cpp
+index ba4ffededb9b..7ea755d18265 100644
+--- a/src/canvas.cpp
++++ b/src/canvas.cpp
+@@ -1219,9 +1219,9 @@ void mglCanvas::Pop()
+ {
+ B = stack.back();
+ #if MGL_HAVE_PTHREAD
+- pthread_mutex_lock(&m);
++ pthread_mutex_lock(&mutexStk);
+ stack.pop_back();
+- pthread_mutex_unlock(&m);
++ pthread_mutex_unlock(&mutexStk);
+ #else
+ #pragma omp critical(stk)
+ stack.pop_back();