summaryrefslogtreecommitdiffstats
path: root/testing/firefox/getchar.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-10-15 14:23:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-10-15 14:24:50 +0000
commit446949693b3878bc159acd9da666fd43c3855d52 (patch)
tree78404934f12c58668b16fdcf87abe59d65d7a3bb /testing/firefox/getchar.patch
parent5eac8562d04c578359a31869ab1b6860d85a6fde (diff)
downloadaports-446949693b3878bc159acd9da666fd43c3855d52.tar.bz2
aports-446949693b3878bc159acd9da666fd43c3855d52.tar.xz
testing/firefox: upgrade to 33.0 and remove xulrunner
Diffstat (limited to 'testing/firefox/getchar.patch')
-rw-r--r--testing/firefox/getchar.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/firefox/getchar.patch b/testing/firefox/getchar.patch
new file mode 100644
index 000000000..981206b97
--- /dev/null
+++ b/testing/firefox/getchar.patch
@@ -0,0 +1,14 @@
+--- ./media/webrtc/trunk/webrtc/system_wrappers/source/spreadsortlib/spreadsort.hpp.orig
++++ ./media/webrtc/trunk/webrtc/system_wrappers/source/spreadsortlib/spreadsort.hpp
+@@ -21,6 +21,11 @@
+ #include "constants.hpp"
+ #include <cstring>
+
++/* prevent the getchar macro from stdio to take preference over the local var */
++#if defined(__UCLIBC__)
++#undef getchar
++#endif
++
+ namespace boost {
+ namespace detail {
+ //This only works on unsigned data types