diff options
author | h.udo <hudokkow@gmail.com> | 2018-02-20 22:28:46 +0000 |
---|---|---|
committer | h.udo <hudokkow@gmail.com> | 2018-02-20 22:28:46 +0000 |
commit | 34ce080ebea899dc64783acc2b2a103645194cf2 (patch) | |
tree | 55805f841fcd89f18c6dc372061ff85309021a61 /lib/cpluff/patches/0010-configure-Fix-build-with-xcode5.patch | |
parent | 9447e594586a6645a186614742303f98e4851227 (diff) |
[c-pluff] Add patches folder for reference and keep track of changes
Diffstat (limited to 'lib/cpluff/patches/0010-configure-Fix-build-with-xcode5.patch')
-rw-r--r-- | lib/cpluff/patches/0010-configure-Fix-build-with-xcode5.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/cpluff/patches/0010-configure-Fix-build-with-xcode5.patch b/lib/cpluff/patches/0010-configure-Fix-build-with-xcode5.patch new file mode 100644 index 0000000000..1ab98d10c4 --- /dev/null +++ b/lib/cpluff/patches/0010-configure-Fix-build-with-xcode5.patch @@ -0,0 +1,34 @@ +From 763a3322e981e0493106b87ae1c86c0054f0da2d Mon Sep 17 00:00:00 2001 +From: "h.udo" <hudokkow@gmail.com> +Date: Thu, 20 Oct 2016 15:22:30 +0100 +Subject: [PATCH 10/12] [configure] Fix build with xcode5 + +--- + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 3ada0ae..d9a1771 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -119,7 +119,7 @@ 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); +@@ -138,7 +138,7 @@ int main(int argc, char *argv[]) { + [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; + } +-- +2.14.1 + |