ports/multimedia/kodi/files/patch-lib_cpluff_configure.ac
Thomas Zander abdce43352 Update to upstream version 16.0
Detailed maintainer log:
- pulseaudio removed from default option: because otherwise kodi will select
  pulseaudio first and it's really not needed.
- texturepacker disabled: because it's so heavily broken in upstream. not
  really important. it will be back in 17.0 with the new cmake build system.
- switch to swig3, like all linux distrib (no change)

PR:		208456
Submitted by:	mickael.maillot@gmail.com (maintainer)
2016-04-16 18:08:55 +00:00

30 lines
763 B
Text

--- lib/cpluff/configure.ac.orig 2016-02-20 15:21:19 UTC
+++ lib/cpluff/configure.ac
@@ -109,12 +109,12 @@ if test "$enable_threads" != no; then
AC_LINK_IFELSE(
[AC_LANG_SOURCE([#include <pthread.h>
-int main(int argc, char **argv) {
+[int main(int argc, char **argv) {
pthread_mutex_t mutex;
pthread_mutex_init(&mutex, NULL);
return 0;
-}
+}]
])], [AC_MSG_RESULT([yes])
cp_threads=Posix], AC_MSG_RESULT([no]))
fi
@@ -126,10 +126,10 @@ cp_threads=Posix], AC_MSG_RESULT([no]))
AC_LINK_IFELSE(
[AC_LANG_SOURCE([#include <windows.h>
-int main(int argc, char **argv) {
+[int main(int argc, char **argv) {
CreateMutex(NULL, FALSE, NULL);
return 0;
-}
+}]
])], [AC_MSG_RESULT([yes])
cp_threads=Windows], AC_MSG_RESULT([no]))
fi