diff options
author | Fusl <root@hallowe.lt> | 2018-01-10 05:49:49 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-01-27 13:49:10 +0000 |
commit | f5e725820c8ff11c3c6d0700cded67947e5559b3 (patch) | |
tree | d70900580a589760e56b43c528c3fc645124a304 /testing/motion/pthread.patch | |
parent | db2d992298ae659be6e0abfd74f45ca93c936382 (diff) | |
download | aports-f5e725820c8ff11c3c6d0700cded67947e5559b3.tar.bz2 aports-f5e725820c8ff11c3c6d0700cded67947e5559b3.tar.xz |
testing/motion: upgrade to 4.1.1 to solve a randomly happening SIGSEGV issue
Diffstat (limited to 'testing/motion/pthread.patch')
-rw-r--r-- | testing/motion/pthread.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/testing/motion/pthread.patch b/testing/motion/pthread.patch deleted file mode 100644 index 570849729b..0000000000 --- a/testing/motion/pthread.patch +++ /dev/null @@ -1,23 +0,0 @@ -configure doesn't generate proper pthread support - ---- motion-4.0.1/configure.ac -+++ ./configure.ac -@@ -188,7 +188,8 @@ - pthread_create(0,0,0,0); pthread_cleanup_pop(0); ], - [PTHREAD_LIB=yes]) - --if test x$PTHREAD_LIB != xyes; then -+# this test should fail but it doesn't on alpine -+if test x$PTHREAD_LIB = xyes; then - - if test "${FreeBSD}" != ""; then - TEMP_LIBS="$TEMP_LIBS -pthread" -@@ -213,7 +214,7 @@ - CFLAGS="$TEMP_CFLAGS" - LIBS="$TEMP_LIBS" - AC_LINK_IFELSE( -- [AC_LANG_PROGRAM([[#include <pthread.h>]], [[ pthread_setname_np(pthread_self(), "name")]])], -+ [AC_LANG_PROGRAM([[#include <pthread.h>]], [[ pthread_getname_np(pthread_self(), "name", 0)]])], - [AC_DEFINE([[HAVE_PTHREAD_SETNAME_NP]], [[1]], [Define if you have pthread_setname_np function.]) - AC_MSG_RESULT([[yes]])], - [AC_MSG_RESULT([[no]])] ) |