# HG changeset patch # User Pascal Bellard # Date 1507303421 -7200 # Node ID c5ecec879e432bd1fb4d3feba19fe1c654faadf3 # Parent 12f7ed32ddff6acf87316774324b4f5e65d00c6f qemacs: does not need gcc3 diff -r 12f7ed32ddff -r c5ecec879e43 qemacs-tiny/receipt --- a/qemacs-tiny/receipt Thu Oct 05 23:51:00 2017 +0300 +++ b/qemacs-tiny/receipt Fri Oct 06 17:23:41 2017 +0200 @@ -18,7 +18,6 @@ # Rules to configure and make the package. compile_rules() { - cd $src export CFLAGS="-Wno-error=unused-but-set-variable -O2" sed -i 's/\(define SAVED_DATA_SIZE \).*/\1 __builtin_offsetof(EditState,end_of_saved_data)/' qe.h ./configure --prefix=/usr --enable-tiny && diff -r 12f7ed32ddff -r c5ecec879e43 qemacs-x11/receipt --- a/qemacs-x11/receipt Thu Oct 05 23:51:00 2017 +0300 +++ b/qemacs-x11/receipt Fri Oct 06 17:23:41 2017 +0200 @@ -14,14 +14,15 @@ TAGS="editor" DEPENDS="xorg-libX11 xorg-libXext xorg-libXv libxcb xorg-libXau xorg-libXdmcp" -BUILD_DEPENDS="gcc3 xorg-libX11-dev xorg-libXext-dev xorg-libXv-dev" +BUILD_DEPENDS="xorg-libX11-dev xorg-libXext-dev xorg-libXv-dev" # Rules to configure and make the package. compile_rules() { - cd $src + export CFLAGS="-Wno-error=unused-but-set-variable -O2" + sed -i 's/\(define SAVED_DATA_SIZE \).*/\1 __builtin_offsetof(EditState,end_of_saved_data)/' qe.h ./configure --prefix=/usr $CONFIGURE_ARGS && - make CC=gcc-3 -j 1 + make -j 1 } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 12f7ed32ddff -r c5ecec879e43 qemacs/receipt --- a/qemacs/receipt Thu Oct 05 23:51:00 2017 +0300 +++ b/qemacs/receipt Fri Oct 06 17:23:41 2017 +0200 @@ -12,13 +12,15 @@ TAGS="editor" DEPENDS="" -BUILD_DEPENDS="gcc3" +BUILD_DEPENDS="" # Rules to configure and make the package. compile_rules() { + export CFLAGS="-Wno-error=unused-but-set-variable -O2" + sed -i 's/\(define SAVED_DATA_SIZE \).*/\1 __builtin_offsetof(EditState,end_of_saved_data)/' qe.h ./configure --prefix=/usr --disable-x11 $CONFIGURE_ARGS && - make CC=gcc-3 -j 1 + make -j 1 } # Rules to gen a SliTaz package suitable for Tazpkg.