aboutsummaryrefslogtreecommitdiffstats
path: root/main/xulrunner/getchar.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-12-17 15:03:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-12-17 15:03:52 +0000
commit60a4a411107ea85ae1c88ed4b1a3bec5840dfad0 (patch)
tree05bcc208c8748093cad9be69fa4e7199b0aa0038 /main/xulrunner/getchar.patch
parent29108eff93d25510d7095cc147a7cea36b4e0c6a (diff)
downloadaports-60a4a411107ea85ae1c88ed4b1a3bec5840dfad0.tar.bz2
aports-60a4a411107ea85ae1c88ed4b1a3bec5840dfad0.tar.xz
main/xulrunner: upgrade to 17.0.1
Diffstat (limited to 'main/xulrunner/getchar.patch')
-rw-r--r--main/xulrunner/getchar.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/main/xulrunner/getchar.patch b/main/xulrunner/getchar.patch
new file mode 100644
index 0000000000..f50db879c8
--- /dev/null
+++ b/main/xulrunner/getchar.patch
@@ -0,0 +1,14 @@
+--- ./media/webrtc/trunk/src/system_wrappers/source/spreadsortlib/spreadsort.hpp.orig
++++ ./media/webrtc/trunk/src/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