Author: pierre
Date: Wed Feb  1 01:16:56 2017
New Revision: 18236

Log:
Fix firefox build with libevent-2.1.8

Modified:
   trunk/BOOK/xsoft/graphweb/firefox.xml

Modified: trunk/BOOK/xsoft/graphweb/firefox.xml
==============================================================================
--- trunk/BOOK/xsoft/graphweb/firefox.xml       Tue Jan 31 11:19:51 2017        
(r18235)
+++ trunk/BOOK/xsoft/graphweb/firefox.xml       Wed Feb  1 01:16:56 2017        
(r18236)
@@ -283,17 +283,19 @@
 
 <screen><userinput>patch -Np1 -i 
../firefox-&firefox-version;-system_graphite2_harfbuzz-1.patch</userinput></screen>
 
+    <para>
+      If you have installed version 2.1.8 or newer of libevent, fix a file:
+    </para>
+
+<screen><userinput>sed -e s/_EVENT_SIZEOF/EVENT__SIZEOF/ \
+    -i ipc/chromium/src/base/message_pump_libevent.cc</userinput></screen>
+
     <note><para>
       If you are compiling <application>Firefox</application> in chroot, make
       sure you have <envar>$SHELL</envar> environment variable set or prepend
       <envar>SHELL=/bin/sh</envar>.
     </para></note>
-<!--
-<screen><userinput>export CFLAGS_HOLD=$CFLAGS &amp;&amp;
-export CXXFLAGS_HOLD=$CXXFLAGS &amp;&amp;
-export CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse 
-fno-schedule-insns2" &amp;&amp;
-export CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse 
-fno-schedule-insns2" &amp;&amp;
--->
+
 <screen><userinput>make -f client.mk</userinput></screen>
 
     <para>
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to