diff options
author | Max Rees <maxcrees@me.com> | 2019-06-20 19:01:52 -0400 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2019-06-24 22:09:37 -0400 |
commit | 41ba180fc2dfcdb5516769593fdc06dacfc22e2d (patch) | |
tree | 42a148e851e4c063afbd645554bc1b180d49bf8f /user/exiv2/0000-pthread-init-fix.patch | |
parent | e1786dc80374f7ab320c11c3e79edabe034cb794 (diff) | |
download | packages-41ba180fc2dfcdb5516769593fdc06dacfc22e2d.tar.gz packages-41ba180fc2dfcdb5516769593fdc06dacfc22e2d.tar.bz2 packages-41ba180fc2dfcdb5516769593fdc06dacfc22e2d.tar.xz packages-41ba180fc2dfcdb5516769593fdc06dacfc22e2d.zip |
user/exiv2: [CVE] bump to 0.27.1, add tests
Diffstat (limited to 'user/exiv2/0000-pthread-init-fix.patch')
-rw-r--r-- | user/exiv2/0000-pthread-init-fix.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/user/exiv2/0000-pthread-init-fix.patch b/user/exiv2/0000-pthread-init-fix.patch deleted file mode 100644 index ac69b14c1..000000000 --- a/user/exiv2/0000-pthread-init-fix.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 620ef04e96f4c0d0894d976fc361588b6526a116 Mon Sep 17 00:00:00 2001 -From: clanmills <robin@clanmills.com> -Date: Tue, 20 Jun 2017 20:41:30 +0100 -Subject: [PATCH] https://github.com/Exiv2/exiv2/issues/9 Fix submitted. - ---- - src/actions.cpp | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -diff --git a/src/actions.cpp b/src/actions.cpp -index 0ebe8505..17444c5b 100644 ---- a/src/actions.cpp -+++ b/src/actions.cpp -@@ -2045,9 +2045,13 @@ namespace { - #else - /* Unix/Linux/Cygwin/MacOSX */ - #include <pthread.h> -+ /* This is the critical section object (statically allocated). */ - #if defined(__APPLE__) -- /* This is the critical section object (statically allocated). */ -- static pthread_mutex_t cs = PTHREAD_RECURSIVE_MUTEX_INITIALIZER; -+ #if defined(PTHREAD_RECURSIVE_MUTEX_INITIALIZER) -+ static pthread_mutex_t cs = PTHREAD_RECURSIVE_MUTEX_INITIALIZER; -+ #else -+ static pthread_mutex_t cs = PTHREAD_MUTEX_INITIALIZER; -+ #endif - #else - static pthread_mutex_t cs = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; - #endif |