wok-current diff gcc/receipt @ rev 25628

add libffi dep for git, required by git-remote-https
author Stanislas Leduc <shann@slitaz.org>
date Tue Sep 05 19:41:41 2023 +0000 (10 months ago)
parents 35db2ca0cb06
children a23978bfa665
line diff
     1.1 --- a/gcc/receipt	Wed May 24 17:43:17 2023 +0000
     1.2 +++ b/gcc/receipt	Tue Sep 05 19:41:41 2023 +0000
     1.3 @@ -1,19 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gcc"
     1.7 -VERSION="8.3.0"
     1.8 +VERSION="6.3.0"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="The GNU Compiler Collection."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15  WEB_SITE="http://gcc.gnu.org/"
    1.16  WGET_URL="ftp://gcc.gnu.org/pub/gcc/releases/gcc-$VERSION/$TARBALL"
    1.17  TAGS="compiler C"
    1.18  #HOST_ARCH="i486 arm"
    1.19  
    1.20  DEPENDS="binutils libgomp libobjc gcc-lib-base mpc-library elfutils"
    1.21 -BUILD_DEPENDS="mpc-library mpfr-dev gmp-dev elfutils-dev gc-dev"
    1.22 +BUILD_DEPENDS="mpc-library mpfr-dev gmp-dev elfutils-dev"
    1.23  
    1.24  # Handle cross compilation (native i486/ARM gcc)
    1.25  case "$ARCH" in
    1.26 @@ -50,6 +50,9 @@
    1.27  
    1.28  	#sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
    1.29  
    1.30 +	# Allow build gcc 6.3.0 from gcc > 6.3.0
    1.31 +	patch -p1 < $stuff/gcc-6.3.0-ubsan.patch
    1.32 +
    1.33  	mkdir -p ../gcc-build && cd ../gcc-build
    1.34  
    1.35  	# This is the default GCC and we want a native build to cross compile after.