summaryrefslogtreecommitdiffstats
path: root/testing/firefox/getchar.patch
diff options
context:
space:
mode:
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