aboutsummaryrefslogtreecommitdiffstats
path: root/main/firefox/getchar.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/firefox/getchar.patch')
-rw-r--r--main/firefox/getchar.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/main/firefox/getchar.patch b/main/firefox/getchar.patch
new file mode 100644
index 0000000000..981206b971
--- /dev/null
+++ b/main/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