aboutsummaryrefslogtreecommitdiffstats
path: root/main/xulrunner/fix-mozilla-portability-cluelessness-libpr0n-edition.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/xulrunner/fix-mozilla-portability-cluelessness-libpr0n-edition.patch')
-rw-r--r--main/xulrunner/fix-mozilla-portability-cluelessness-libpr0n-edition.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/main/xulrunner/fix-mozilla-portability-cluelessness-libpr0n-edition.patch b/main/xulrunner/fix-mozilla-portability-cluelessness-libpr0n-edition.patch
new file mode 100644
index 0000000000..4fc112a072
--- /dev/null
+++ b/main/xulrunner/fix-mozilla-portability-cluelessness-libpr0n-edition.patch
@@ -0,0 +1,14 @@
+--- mozilla-1.9.2.orig/gfx/qcms/qcmstypes.h
++++ mozilla-1.9.2/gfx/qcms/qcmstypes.h
+@@ -7,9 +7,9 @@
+
+ /* prtypes.h defines IS_LITTLE_ENDIAN and IS_BIG ENDIAN */
+
+-#if defined (__SVR4) && defined (__sun)
++#if 1
+ /* int_types.h gets included somehow, so avoid redefining the types differently */
+-#include <sys/int_types.h>
++#include <stdint.h>
+ #else
+ typedef PRInt8 int8_t;
+ typedef PRUint8 uint8_t;