wok rev 21419
php: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 24 17:27:05 2019 +0200 (2019-04-24) |
parents | 58b5793034e8 |
children | 11bdc6e2a324 |
files | flashrom/receipt libzim-dev/receipt libzim/receipt php/receipt |
line diff
1.1 --- a/flashrom/receipt Wed Apr 24 15:11:08 2019 +0100 1.2 +++ b/flashrom/receipt Wed Apr 24 17:27:05 2019 +0200 1.3 @@ -18,7 +18,8 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - sed -i 's|\(libusb_set_\)debug(NULL|\1option(NULL, LIBUSB_OPTION_LOG_LEVEL|' \ 1.8 + sed -i 's|.*libusb_set_debug.*\( .*\)|#if LIBUSB_API_VERSION >= 0x01000106\ 1.9 + libusb_set_option(NULL, LIBUSB_OPTION_LOG_LEVEL,\1\n#else\n&\n#endif|' \ 1.10 ch341a_spi.c 1.11 sed -i 's|uname -m|echo i486|' Makefile 1.12 make -j 1 PREFIX=/usr &&
2.1 --- a/libzim-dev/receipt Wed Apr 24 15:11:08 2019 +0100 2.2 +++ b/libzim-dev/receipt Wed Apr 24 17:27:05 2019 +0200 2.3 @@ -6,7 +6,7 @@ 2.4 SHORT_DESC="Read and write method for ZIM files used by Wikipedia, development files." 2.5 MAINTAINER="pascal.bellard@slitaz.org" 2.6 LICENSE="GPL2" 2.7 -WEB_SITE="http://www.openzim.org/wiki/Zimlib" 2.8 +WEB_SITE="https://www.openzim.org/wiki/Zimlib" 2.9 WANTED="libzim" 2.10 2.11 DEPENDS="libzim pkg-config"
3.1 --- a/libzim/receipt Wed Apr 24 15:11:08 2019 +0100 3.2 +++ b/libzim/receipt Wed Apr 24 17:27:05 2019 +0200 3.3 @@ -8,7 +8,7 @@ 3.4 MAINTAINER="pascal.bellard@slitaz.org" 3.5 LICENSE="GPL2" 3.6 TARBALL="$SOURCE-$VERSION.tar.gz" 3.7 -WEB_SITE="http://www.openzim.org/wiki/Zimlib" 3.8 +WEB_SITE="https://www.openzim.org/wiki/Zimlib" 3.9 WGET_URL="http://download.openzim.org/archive/$TARBALL" 3.10 3.11 DEPENDS="liblzma"
4.1 --- a/php/receipt Wed Apr 24 15:11:08 2019 +0100 4.2 +++ b/php/receipt Wed Apr 24 17:27:05 2019 +0200 4.3 @@ -92,6 +92,7 @@ 4.4 # Rules to configure and make the package. 4.5 compile_rules() 4.6 { 4.7 + sed -i 's|IMG_FMT_I420|VPX_&|;s|PLANE_|VPX_&|' ext/gd/libgd/webpimg.c 4.8 sed -i 's/pam_start/pam_nostart/' configure 4.9 ./configure $ARCH_ARGS $CONFIGURE_ARGS && \ 4.10 make $MAKEFLAGS && make -j1 INSTALL_ROOT=$DESTDIR install