--disable-ipc is disallowed

Pan Tsu inyaoo at gmail.com
Thu Mar 31 05:41:54 UTC 2011


Mozilla devs recently disabled the option

  https://bugzilla.mozilla.org/show_bug.cgi?id=638755

mozilla-central (aka trunk) still builds fine on FreeBSD but I wonder
how long it'll remain so.

So, do you plan to fix IPC port[1], probably using some pieces from
www/chromium, or try keep --disable-ipc as long as possible?

[1] it was removed in r430

      http://trillian.chruetertee.ch/freebsd-gecko/changeset/430

%% build fix for 64446:422bbd8245a7
Index: www/firefox/Makefile
===================================================================
RCS file: /a/.cvsup/ports/www/firefox/Makefile,v
retrieving revision 1.239
diff -u -p -r1.239 Makefile
--- www/firefox/Makefile	24 Mar 2011 11:04:17 -0000	1.239
+++ www/firefox/Makefile	31 Mar 2011 05:16:04 -0000
@@ -54,5 +49,9 @@ OPTIONS=	DBUS "Enable D-BUS support" on 
 		PGO "Enable Profile-Guided Optimization" off \
 		SMB "Enable smb:// URI support using gnomevfs" off
 
+# XXX: maybe gcc46 specific
+CFLAGS+=	-fpermissive
+MOZ_OPTIONS+=	--disable-warnings-as-errors
+
 .include <bsd.port.pre.mk>
 
Index: www/firefox/files/patch-configure.in
===================================================================
RCS file: /a/.cvsup/ports/www/firefox/files/patch-configure.in,v
retrieving revision 1.2
diff -u -p -r1.2 patch-configure.in
--- www/firefox/files/patch-configure.in	22 Mar 2011 15:24:49 -0000	1.2
+++ www/firefox/files/patch-configure.in	28 Mar 2011 07:56:59 -0000
@@ -54,6 +54,19 @@
      ZLIB_CFLAGS="-I${ZLIB_DIR}/include"
      ZLIB_LIBS="-L${ZLIB_DIR}/lib ${ZLIB_LIBS}"
  fi
+@@ -5796,10 +5798,10 @@ MOZ_ARG_DISABLE_BOOL(ipc,
+     MOZ_IPC=1)
+ 
+ if test -z "$MOZ_IPC"; then
+-  AC_MSG_ERROR([--disable-ipc is no longer supported.])
++  else
++AC_DEFINE(MOZ_IPC)
+ fi
+ 
+-AC_DEFINE(MOZ_IPC)
+ AC_SUBST(MOZ_IPC)
+ 
+ dnl ========================================================
 @@ -6022,6 +6024,14 @@
        VPX_ASFLAGS="-f elf64 -rnasm -pnasm -DPIC"
        VPX_X86_ASM=1
Index: www/firefox/files/patch-xpcom_reflect_xptcall_src_md_unix_Makefile.in
===================================================================
RCS file: /a/.cvsup/ports/www/firefox/files/patch-xpcom_reflect_xptcall_src_md_unix_Makefile.in,v
retrieving revision 1.3
diff -u -p -r1.3 patch-xpcom_reflect_xptcall_src_md_unix_Makefile.in
--- www/firefox/files/patch-xpcom_reflect_xptcall_src_md_unix_Makefile.in	22 Mar 2011 15:24:49 -0000	1.3
+++ www/firefox/files/patch-xpcom_reflect_xptcall_src_md_unix_Makefile.in	28 Mar 2011 07:48:47 -0000
@@ -29,9 +29,9 @@
 +CPPSRCS		:= xptcinvoke_amd64_openbsd.cpp xptcstubs_amd64_openbsd.cpp
 +endif
 +#
- # BeOS/Intel (uses the same unixish_x86 code)
+ # Neutrino/Intel (uses the same unixish_x86 code)
  #
- ifeq ($(OS_ARCH)$(OS_TEST),BeOSBePC)
+ ifeq ($(OS_TARGET),NTO)
 @@ -158,9 +167,15 @@
  ASFILES		:= xptcinvoke_asm_osf1_alpha.s xptcstubs_asm_osf1_alpha.s
  endif
%%


More information about the freebsd-gecko mailing list