void-packages/srcpkgs/firefox/patches/fix-gcc-tests.patch
Duncaen 8dc53ede03 firefox: update to 47.0.1.
There are some issues with the configure scripts as they have changed
there something, the pregenerated configure scripts were renamed to
`old-configure` and `configure` is now a shell script which executes
`configure.py`.

The new patch `disable-hunspell_hooks.patch` is needed for musl, it
shouldnt be needed but somehow STATIC_HUNSPELL is defined even tough we
use --enable-system-hunspell.

Test build went through on glibc and musl x86_64, this realese is
already a month old and 46 has some secruity issues, I skip more
testing.
2016-07-06 16:10:29 +02:00

11 lines
595 B
Diff

--- old-configure.orig 2015-05-29 18:30:41.474423097 +0200
+++ old-configure 2015-05-29 18:30:53.451550589 +0200
@@ -11311,8 +11311,8 @@ ac_have_llvm_pr8927="no"
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+ac_compile='${CC-cc} -c conftest.$ac_ext 1>&5'
+ac_link='${CC-cc} -o conftest${ac_exeext} conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross