wok-next rev 19705
clucene, lame, tcsh: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 26 19:08:44 2017 +0200 (2017-04-26) |
parents | 89ef578db39d |
children | 8cf349cc0a47 |
files | clucene/receipt lame/receipt tcsh/receipt |
line diff
1.1 --- a/clucene/receipt Wed Apr 26 13:01:09 2017 +0200 1.2 +++ b/clucene/receipt Wed Apr 26 19:08:44 2017 +0200 1.3 @@ -15,7 +15,8 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - cd $src 1.8 + sed -i 's|LuceneBase(){};|LuceneBase()\n#if __cplusplus >= 201103L\nnoexcept(false)\n#endif\n{};|' \ 1.9 + src/CLucene/debug/lucenebase.h 1.10 ./configure \ 1.11 --prefix=/usr \ 1.12 --libdir=/usr/lib \
2.1 --- a/lame/receipt Wed Apr 26 13:01:09 2017 +0200 2.2 +++ b/lame/receipt Wed Apr 26 19:08:44 2017 +0200 2.3 @@ -21,7 +21,7 @@ 2.4 # Rules to configure and make the package. 2.5 compile_rules() 2.6 { 2.7 - export LDFLAGS="$LDFLAGS -ltinfo" 2.8 + export CFLAGS="$CFLAGS -msse" 2.9 ./configure \ 2.10 --prefix=/usr \ 2.11 --infodir=/usr/share/info \
3.1 --- a/tcsh/receipt Wed Apr 26 13:01:09 2017 +0200 3.2 +++ b/tcsh/receipt Wed Apr 26 19:08:44 2017 +0200 3.3 @@ -18,6 +18,7 @@ 3.4 # Rules to configure and make the package. 3.5 compile_rules() 3.6 { 3.7 + sed -i 's/(__ANDROID__)/& \&\& !defined(__GLIBC__)/' sh.proc.c 3.8 mkdir -p $DESTDIR/usr/bin 3.9 touch $DESTDIR/usr/bin/tcsh 3.10 ./configure $CONFIGURE_ARGS &&