aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/xulrunner/APKBUILD6
-rw-r--r--testing/xulrunner/fix-mozilla-portability-cluelessness-libpr0n-edition.patch14
2 files changed, 18 insertions, 2 deletions
diff --git a/testing/xulrunner/APKBUILD b/testing/xulrunner/APKBUILD
index bb05a9f7d9..647789fe09 100644
--- a/testing/xulrunner/APKBUILD
+++ b/testing/xulrunner/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=xulrunner
pkgver=1.9.2.13
-pkgrel=0
+pkgrel=1
pkgdesc="runtime environment for xul-based applications"
url="http://developer.mozilla.org/en/XULRunner"
arch="all"
@@ -52,7 +52,9 @@ source="http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/${pkgver}
mozjs-c99math.patch
ipc-chromium-uclibc.patch
- ipc-chromium-execinfo.patch"
+ ipc-chromium-execinfo.patch
+
+ fix-mozilla-portability-cluelessness-libpr0n-edition.patch"
_xulrunner_version="${pkgver%.*}"
_builddir="${srcdir}/mozilla-${_xulrunner_version}"
diff --git a/testing/xulrunner/fix-mozilla-portability-cluelessness-libpr0n-edition.patch b/testing/xulrunner/fix-mozilla-portability-cluelessness-libpr0n-edition.patch
new file mode 100644
index 0000000000..4fc112a072
--- /dev/null
+++ b/testing/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;