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