wok diff qemacs/receipt @ rev 20595

xfi, xfw, cryptkeeper: dirty hack
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 16 10:41:06 2018 +0100 (2018-12-16)
parents 314b08d2fe81
children a78610b2eb47
line diff
     1.1 --- a/qemacs/receipt	Wed Oct 04 18:35:02 2017 +0200
     1.2 +++ b/qemacs/receipt	Sun Dec 16 10:41:06 2018 +0100
     1.3 @@ -12,13 +12,15 @@
     1.4  TAGS="editor"
     1.5  
     1.6  DEPENDS=""
     1.7 -BUILD_DEPENDS="gcc3"
     1.8 +BUILD_DEPENDS=""
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12  {
    1.13 +	export CFLAGS="-Wno-error=unused-but-set-variable -O2"
    1.14 +	sed -i 's/\(define SAVED_DATA_SIZE \).*/\1 __builtin_offsetof(EditState,end_of_saved_data)/' qe.h
    1.15  	./configure --prefix=/usr --disable-x11 $CONFIGURE_ARGS &&
    1.16 -	make CC=gcc-3 -j 1
    1.17 +	make -j 1
    1.18  }
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.