# target adaption (no clue how this ever worked before!?) eval "$( declare -f build | \ sed ' s/x86_64-unknown-linux-gnu/i686-unknown-linux-gnu/g ' )" # 214:49.30 /build/firefox/src/firefox-99.0.1/modules/fdlibm/src/math_private.h:34:21: error: conflicting # declaration ?typedef __double_t double_t? # and # typedef __float_t float_t; # /usr/include/math.h:169:21: note: previous declaration as ?typedef long double float_t? # typedef long double float_t; source+=('firefox-102.9.0-fdlibm.patch') sha256sums+=('34913fa27bcf5556abad677b8e2d42497f6c17f6b5d6e4dee2f2d37987ac7f3c') eval "$( declare -f prepare | \ sed ' $ i patch -p1 -i "$srcdir/firefox-102.9.0-fdlibm.patch" ' )" # see FS32#138, ignoring failing test for now unset check # no simd optimization on non-pentium4 if [ "$CARCH" = 'i486' -o "$CARCH" = 'i686' ]; then eval "$( declare -f build | \ sed ' s/--enable-rust-simd/--disable-rust-simd/g ' )" fi # no rust on i486 if [ "$CARCH" = 'i486' ]; then makedepends=(${makedepends[@]//rust/}) fi # hard pinning rust version (as it fails with rust 1.50) # this rust version now needs llvm11 #makedepends=(${makedepends[@]//rust/}) #makedepends_i686+=(rust148 llvm11) #makedepends_pentium4+=(rust148 llvm11) # rust is linked against old versions of LLVM and Openssl # and cannot be rebuilt currently if [ "$CARCH" = 'pentium4' -o "$CARCH" = 'i686' ]; then makedepends+=(llvm14-libs) makedepends+=(openssl-1.1) fi if [ "$CARCH" = 'i486' ]; then makedepends+=(openssl-1.1) fi