wok-current diff qemacs-x11/receipt @ rev 20635

Add linux-ecryptfs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 08 18:37:33 2019 +0100 (2019-01-08)
parents 314b08d2fe81
children a78610b2eb47
line diff
     1.1 --- a/qemacs-x11/receipt	Wed Oct 04 18:35:02 2017 +0200
     1.2 +++ b/qemacs-x11/receipt	Tue Jan 08 18:37:33 2019 +0100
     1.3 @@ -14,14 +14,15 @@
     1.4  TAGS="editor"
     1.5  
     1.6  DEPENDS="xorg-libX11 xorg-libXext xorg-libXv libxcb xorg-libXau xorg-libXdmcp"
     1.7 -BUILD_DEPENDS="gcc3 xorg-libX11-dev xorg-libXext-dev xorg-libXv-dev"
     1.8 +BUILD_DEPENDS="xorg-libX11-dev xorg-libXext-dev xorg-libXv-dev"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12  {
    1.13 -	cd $src
    1.14 +	export CFLAGS="-Wno-error=unused-but-set-variable -O2"
    1.15 +	sed -i 's/\(define SAVED_DATA_SIZE \).*/\1 __builtin_offsetof(EditState,end_of_saved_data)/' qe.h
    1.16  	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.17 -	make CC=gcc-3 -j 1
    1.18 +	make -j 1
    1.19  }
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.