summaryrefslogtreecommitdiff
path: root/multimedia/libvpx/files
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/libvpx/files')
-rw-r--r--multimedia/libvpx/files/patch-build_make_configure.sh43
-rw-r--r--multimedia/libvpx/files/patch-configure4
-rw-r--r--multimedia/libvpx/files/patch-nestegg_halloc_src31
3 files changed, 17 insertions, 61 deletions
diff --git a/multimedia/libvpx/files/patch-build_make_configure.sh b/multimedia/libvpx/files/patch-build_make_configure.sh
index 3744618cef45..6f6705559b47 100644
--- a/multimedia/libvpx/files/patch-build_make_configure.sh
+++ b/multimedia/libvpx/files/patch-build_make_configure.sh
@@ -1,31 +1,18 @@
---- build/make/configure.sh.orig 2014-11-27 18:00:48 UTC
+--- build/make/configure.sh.orig 2015-04-03 18:49:19 UTC
+++ build/make/configure.sh
-@@ -799,7 +799,6 @@ process_common_toolchain() {
+@@ -379,6 +379,7 @@ write_common_config_banner() {
+ print_webm_license config.mk "##" ""
+ echo '# This file automatically generated by configure. Do not edit!' >> config.mk
+ echo "TOOLCHAIN := ${toolchain}" >> config.mk
++ echo "CLANG_NO_IAS=${CLANG_NO_IAS}" >> config.mk
- case ${tgt_cc} in
- gcc)
-- CROSS=${CROSS:-arm-none-linux-gnueabi-}
- link_with_cc=gcc
- setup_gnu_toolchain
- arch_int=${tgt_isa##armv}
-$FreeBSD$
-
---- build/make/configure.sh.orig 2014-12-03 18:11:14.000000000 +0100
-+++ build/make/configure.sh 2014-12-03 20:20:00.000000000 +0100
-@@ -382,6 +382,7 @@
- print_webm_license config.mk "##" ""
- echo '# This file automatically generated by configure. Do not edit!' >> config.mk
- echo "TOOLCHAIN := ${toolchain}" >> config.mk
-+ echo "CLANG_NO_IAS=${CLANG_NO_IAS}" >> config.mk
+ case ${toolchain} in
+ *-linux-rvct)
+@@ -831,7 +832,6 @@ process_common_toolchain() {
- case ${toolchain} in
- *-linux-rvct)
-@@ -1019,7 +1019,7 @@ EOF
- bits=32
- enabled x86_64 && bits=64
- check_cpp <<EOF && bits=x32
--#ifndef __ILP32__
-+#if !defined(__ILP32__) || !defined(__x86_64__)
- #error "not x32"
- #endif
- EOF
+ case ${tgt_cc} in
+ gcc)
+- CROSS=${CROSS:-arm-none-linux-gnueabi-}
+ link_with_cc=gcc
+ setup_gnu_toolchain
+ arch_int=${tgt_isa##armv}
diff --git a/multimedia/libvpx/files/patch-configure b/multimedia/libvpx/files/patch-configure
index ee19d6047367..778cf700f478 100644
--- a/multimedia/libvpx/files/patch-configure
+++ b/multimedia/libvpx/files/patch-configure
@@ -1,9 +1,9 @@
--- configure.orig
+++ configure
-@@ -149,6 +149,7 @@
- all_platforms="${all_platforms} universal-darwin11-gcc"
+@@ -164,6 +164,7 @@ all_platforms="${all_platforms} universa
all_platforms="${all_platforms} universal-darwin12-gcc"
all_platforms="${all_platforms} universal-darwin13-gcc"
+ all_platforms="${all_platforms} universal-darwin14-gcc"
+all_platforms="${all_platforms} ia64-linux-gcc"
all_platforms="${all_platforms} generic-gnu"
diff --git a/multimedia/libvpx/files/patch-nestegg_halloc_src b/multimedia/libvpx/files/patch-nestegg_halloc_src
deleted file mode 100644
index cfe19e7c7e36..000000000000
--- a/multimedia/libvpx/files/patch-nestegg_halloc_src
+++ /dev/null
@@ -1,31 +0,0 @@
-
-$FreeBSD$
-
-Fix build on modern gcc which defines max_align_t for C11
-It renames the locale definition to avoid the name clash.
-
---- nestegg/halloc/src/align.h.orig
-+++ nestegg/halloc/src/align.h
-@@ -30,7 +30,7 @@
- void (*q)(void);
- };
-
--typedef union max_align max_align_t;
-+typedef union max_align halloc_max_align_t;
-
- #endif
-
-
-$FreeBSD$
-
---- nestegg/halloc/src/halloc.c.orig
-+++ nestegg/halloc/src/halloc.c
-@@ -30,7 +30,7 @@
- #endif
- hlist_item_t siblings; /* 2 pointers */
- hlist_head_t children; /* 1 pointer */
-- max_align_t data[1]; /* not allocated, see below */
-+ halloc_max_align_t data[1]; /* not allocated, see below */
-
- } hblock_t;
-