[Lunar-commits] <moonbase-other> xulrunner: Inserting a missing include and adding a if/then because of their
Dennis Veatch
stumbles at lunar-linux.org
Sat Jul 14 14:38:00 CEST 2012
commit 4417e3d39001d92f81e79f8ea5110aa9669e1ee7
Author: Dennis Veatch <stumbles at lunar-linux.org>
Date: Sat, 14 Jul 2012 05:38:00 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/4417e3d39001d92f81e79f8ea5110aa9669e1ee7
xulrunner: Inserting a missing include and adding a if/then because of their
insistence to check for kernel versions, see; https://bugzilla.mozilla.org/show_bug.cgi?id=661609
---
web/xulrunner/BUILD +9/-0
1 files changed, 9 insertions (+), 0 deletions (-)
--- a/web/xulrunner/BUILD
+++ b/web/xulrunner/BUILD
@@ -1,5 +1,13 @@
(
+# Inserting a missing header
+ sed -i "4i #include <cstddef>" gfx/ots/src/os2.cc &&
+
+# See https://lkml.org/lkml/2011/6/14/293 and https://bugzilla.mozilla.org/show_bug.cgi?id=661609
+ if [ `uname -r | cut -c1-3` == "3.4" ] ; then
+ cp security/coreconf/Linux2.6.mk security/coreconf/Linux3.4.mk
+ fi &&
+
OPTS+=" --enable-application=xulrunner \
--prefix=/usr \
--libdir=/usr/lib \
@@ -42,6 +50,7 @@
export MOZ_CO_PROJECT=xulrunner &&
export MOZILLA_OFFICIAL=1 &&
export BUILD_OFFICIAL=1 &&
+ export FREEBL_NO_DEPEND=0 &&
default_build
More information about the Lunar-commits
mailing list