From b772ee11ddb2892f2b559e6cbebd8915bb0a8dfb Mon Sep 17 00:00:00 2001 From: Memphiz Date: Sat, 11 Apr 2015 15:14:32 +0200 Subject: [depends/nettle] - disable build of testsuite (doesn't compile with clang from xcode6.3) --- tools/depends/target/nettle/01-disable_testsuite.patch | 11 +++++++++++ tools/depends/target/nettle/Makefile | 1 + 2 files changed, 12 insertions(+) create mode 100644 tools/depends/target/nettle/01-disable_testsuite.patch diff --git a/tools/depends/target/nettle/01-disable_testsuite.patch b/tools/depends/target/nettle/01-disable_testsuite.patch new file mode 100644 index 0000000000..97b1d47f97 --- /dev/null +++ b/tools/depends/target/nettle/01-disable_testsuite.patch @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2015-04-11 15:11:40.000000000 +0200 ++++ Makefile.in 2015-04-11 15:11:47.000000000 +0200 +@@ -16,7 +16,7 @@ + + OPT_ASM_SOURCES = @OPT_ASM_SOURCES@ + +-SUBDIRS = tools testsuite examples ++SUBDIRS = tools examples + + include config.make + diff --git a/tools/depends/target/nettle/Makefile b/tools/depends/target/nettle/Makefile index df823eacf2..ff6e12023e 100644 --- a/tools/depends/target/nettle/Makefile +++ b/tools/depends/target/nettle/Makefile @@ -29,6 +29,7 @@ $(TARBALLS_LOCATION)/$(ARCHIVE): $(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS) rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM) cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) + cd $(PLATFORM); patch -p0 < ../01-disable_testsuite.patch cd $(PLATFORM); $(CONFIGURE) $(LIBDYLIB): $(PLATFORM) -- cgit v1.2.3 From 6351f45881ba2a1e7787e3cce8b56a10f7e23585 Mon Sep 17 00:00:00 2001 From: Memphiz Date: Sat, 11 Apr 2015 18:46:13 +0200 Subject: [depends/libffi] - pass the "don't use std asm" only to the CCASFLAGS - fixes configure failing to detect working c compiler in xcode6.3 --- tools/depends/target/libffi/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/depends/target/libffi/Makefile b/tools/depends/target/libffi/Makefile index 3a4ed476a3..fa4ee815bf 100644 --- a/tools/depends/target/libffi/Makefile +++ b/tools/depends/target/libffi/Makefile @@ -10,7 +10,7 @@ ARCHIVE=$(SOURCE).tar.gz # configuration settings CONFIGURE= ./configure --prefix=$(PREFIX) --disable-shared --disable-builddir ifeq ($(OS), ios) -CONFIGURE+=CFLAGS=-no-integrated-as +CONFIGURE+=CCASFLAGS=-no-integrated-as endif -- cgit v1.2.3 From a3fea90f7051a23abfac43fc1e07f9ab4aefbcb6 Mon Sep 17 00:00:00 2001 From: Memphiz Date: Sat, 11 Apr 2015 01:09:08 +0200 Subject: [osx/ios] - fix compilation with newest apple clang (xcode6.3) - disable forward declaration of boost containers (those broke compilation with c++11 and latest apple clang) --- xbmc/guilib/GUIFontCache.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xbmc/guilib/GUIFontCache.cpp b/xbmc/guilib/GUIFontCache.cpp index 1359b2ba2c..33e1d0076d 100644 --- a/xbmc/guilib/GUIFontCache.cpp +++ b/xbmc/guilib/GUIFontCache.cpp @@ -23,6 +23,13 @@ #include "GUIFontTTF.h" #include "GraphicContext.h" +#if defined(TARGET_DARWIN ) +// apple clang with c++11 doesn't like +// the forwards declarations of boost +// disable them ... +#define BOOST_DETAIL_NO_CONTAINER_FWD 1 +#endif + #include "boost/multi_index_container.hpp" #include "boost/multi_index/sequenced_index.hpp" #include "boost/multi_index/hashed_index.hpp" -- cgit v1.2.3 From 870caca29c51c5cbb8695ab9996083f262c93eb4 Mon Sep 17 00:00:00 2001 From: Memphiz Date: Sat, 11 Apr 2015 01:11:52 +0200 Subject: [osx/ios] - mention xcode 6.3 support in osx and ios readme --- docs/README.ios | 1 + docs/README.osx | 2 ++ 2 files changed, 3 insertions(+) diff --git a/docs/README.ios b/docs/README.ios index c0ea872169..f8609c57b5 100644 --- a/docs/README.ios +++ b/docs/README.ios @@ -67,6 +67,7 @@ constellations of Xcode and osx versions (to be updated once we know more): 1. Xcode 6.0.1 against iOS SDK 8.0 on 10.9.x (Mavericks) 2. Xcode 6.1.0 against iOS SDK 8.1 on 10.10.x (Yosemite) +3. Xcode 6.3.0 against iOS SDK 8.3 on 10.10.x (Yosemite) ----------------------------------------------------------------------------- 3.2 Install Cross libs and runtime environment diff --git a/docs/README.osx b/docs/README.osx index a42c435191..c6570f249d 100644 --- a/docs/README.osx +++ b/docs/README.osx @@ -64,6 +64,8 @@ constellations of Xcode and osx versions (to be updated once we know more): 1. XCode 6.0.1 against OSX SDK 10.9 (M) 2. XCode 6.1.0 against OSX SDK 10.10 (Y) +3. XCode 6.2.0 against OSX SDK 10.10 (Y) +4. XCode 6.3.0 against OSX SDK 10.10 (Y) ----------------------------------------------------------------------------- 3.2 Install Kodi build depends -- cgit v1.2.3