1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/multimedia/kodi/files/patch-clang
Jan Beich 1bc0763f37 - Rename XBMC to Kodi following upstream
- Update to 14.0

Changes:	http://kodi.tv/introducing-kodi-14/
PR:		196299
Differential Revision:	https://reviews.freebsd.org/D1900
Submitted by:	mickael.maillot@gmail.com (maintainer)
Reviewed by:	bapt
2015-02-28 15:06:54 +00:00

33 lines
824 B
Plaintext

diff --git lib/cpluff/configure.ac lib/cpluff/configure.ac
index bb69d19a..4316766 100644
--- lib/cpluff/configure.ac
+++ 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