aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xulrunner/getchar.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-09-03 14:47:28 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-09-03 14:47:28 +0000
commit67f0d66bcc7f22d53d3b00a97fc0c98eaf411430 (patch)
tree6d2d398432c47101e23f1edeaa7b00c394fbc8ea /testing/xulrunner/getchar.patch
parent6bf481e6ab8edac1c66698dcc1a6eee048b75f0d (diff)
downloadaports-67f0d66bcc7f22d53d3b00a97fc0c98eaf411430.tar.bz2
aports-67f0d66bcc7f22d53d3b00a97fc0c98eaf411430.tar.xz
testing/xulrunner: add xulrunner-32.0
Diffstat (limited to 'testing/xulrunner/getchar.patch')
-rw-r--r--testing/xulrunner/getchar.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/xulrunner/getchar.patch b/testing/xulrunner/getchar.patch
new file mode 100644
index 0000000000..981206b971
--- /dev/null
+++ b/testing/xulrunner/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