diff options
author | amet <amet.nospam@gmail.com> | 2013-10-12 22:47:53 +0400 |
---|---|---|
committer | amet <amet.nospam@gmail.com> | 2013-10-16 21:48:05 +0400 |
commit | bb197152acd3d8c0e8c1c09d41bd07712120745c (patch) | |
tree | df496b17ccf5418d233a575554189f4219a8534a /tools | |
parent | 05856e19e73d42f6e671369b777164afa43cc9f7 (diff) |
[xcode5] fix libmpeg3 build
Diffstat (limited to 'tools')
-rw-r--r-- | tools/depends/target/libmpeg2/04-clang-fix.patch | 10 | ||||
-rw-r--r-- | tools/depends/target/libmpeg2/Makefile | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tools/depends/target/libmpeg2/04-clang-fix.patch b/tools/depends/target/libmpeg2/04-clang-fix.patch new file mode 100644 index 0000000000..2f92e5c29e --- /dev/null +++ b/tools/depends/target/libmpeg2/04-clang-fix.patch @@ -0,0 +1,10 @@ +--- /configure.ac 2013-10-09 22:39:08.000000000 +0400 ++++ /configure.ac 2013-06-24 20:34:58.000000000 +0400 +@@ -149,7 +149,6 @@ AC_CHECK_GENERATE_INTTYPES([include]) + + dnl Checks for typedefs, structures, and compiler characteristics. + AC_C_CONST +-AC_C_ALWAYS_INLINE + AC_C_RESTRICT + AC_C_BUILTIN_EXPECT + AC_C_BIGENDIAN
\ No newline at end of file diff --git a/tools/depends/target/libmpeg2/Makefile b/tools/depends/target/libmpeg2/Makefile index 800d647097..15dbd8cbe8 100644 --- a/tools/depends/target/libmpeg2/Makefile +++ b/tools/depends/target/libmpeg2/Makefile @@ -28,6 +28,8 @@ ifeq ($(OS),ios) cd $(PLATFORM); patch -p0 < ../02-neon.patch cd $(PLATFORM); patch -p1 < ../03-config-fix.patch endif + cd $(PLATFORM); patch -p1 < ../04-clang-fix.patch + cd $(PLATFORM); $(AUTORECONF) -vif cd $(PLATFORM); $(CONFIGURE) $(LIBDYLIB): $(PLATFORM) |