diff --git a/general.ent b/general.ent
index 1d2fa6d95a..602fea7772 100644
--- a/general.ent
+++ b/general.ent
@@ -1,12 +1,12 @@
-
+
-
+
diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml
index bd52066d20..4234654c31 100644
--- a/introduction/welcome/changelog.xml
+++ b/introduction/welcome/changelog.xml
@@ -43,12 +43,21 @@
-->
+
+ July 3rd, 2016
+
+
+ [dj] - Added firefox-47.0.1-gcc6-1.patch. Fixes
+ #8015.
+
+
+
+
July 2nd, 2016
- [dj] - Update to Firefox-47.0.1. Fixes
- #8015.
+ [dj] - Update to Firefox-47.0.1.
[dj] - Update to Thunderbird-45.2.0. Fixes
diff --git a/xsoft/graphweb/firefox.xml b/xsoft/graphweb/firefox.xml
index a1235a170f..58533f2349 100644
--- a/xsoft/graphweb/firefox.xml
+++ b/xsoft/graphweb/firefox.xml
@@ -72,6 +72,12 @@
Additional Downloads
+
+
+ Required patch if using gcc-6 or later
+
+
+
Required patch if using gtk+-3.20 or later (do not use with earlier versions)
@@ -275,6 +281,12 @@ EOF
commands:
+
+ Fix an issue with GCC-6.0 and higher:
+
+
+patch -Np1 -i ../firefox-&firefox-version;-gcc6-1.patch
+
If you are using gtk+-3.20 or later, apply a patch to restore the
slider on scrollbars:
@@ -297,16 +309,10 @@ EOF
SHELL=/bin/sh.
-sed -e '/#include/i\
- print OUT "#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS\\n"\;' \
- -i nsprpub/config/make-system-wrappers.pl
-
-sed -e '/#include/a\
- print OUT "#undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS\\n"\;' \
- -i nsprpub/config/make-system-wrappers.pl
-
-CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
-CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
+export CFLAGS_HOLD=$CFLAGS &&
+export CXXFLAGS_HOLD=$CXXFLAGS &&
+export CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2" &&
+export CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2" &&
make -f client.mk
@@ -322,7 +328,11 @@ make -f client.mk
chown -R 0:0 /usr/lib/firefox-&firefox-version; &&
mkdir -pv /usr/lib/mozilla/plugins &&
-ln -sfv ../../mozilla/plugins /usr/lib/firefox-&firefox-version;/browser
+ln -sfv ../../mozilla/plugins /usr/lib/firefox-&firefox-version;/browser &&
+
+export CFLAGS=$CFLAGS_HOLD &&
+export CXXFLAGS=$CXXFLAGS_HOLD &&
+unset CFLAGS_HOLD CXXFLAGS_HOLD