# HG changeset patch # User Pascal Bellard # Date 1556119625 -7200 # Node ID fe96d104d02ed307696e5349549ed55c1335c9c8 # Parent 58b5793034e80352f068f4a3769d4cde6dcac29d php: fix build diff -r 58b5793034e8 -r fe96d104d02e flashrom/receipt --- a/flashrom/receipt Wed Apr 24 15:11:08 2019 +0100 +++ b/flashrom/receipt Wed Apr 24 17:27:05 2019 +0200 @@ -18,7 +18,8 @@ # Rules to configure and make the package. compile_rules() { - sed -i 's|\(libusb_set_\)debug(NULL|\1option(NULL, LIBUSB_OPTION_LOG_LEVEL|' \ + sed -i 's|.*libusb_set_debug.*\( .*\)|#if LIBUSB_API_VERSION >= 0x01000106\ + libusb_set_option(NULL, LIBUSB_OPTION_LOG_LEVEL,\1\n#else\n&\n#endif|' \ ch341a_spi.c sed -i 's|uname -m|echo i486|' Makefile make -j 1 PREFIX=/usr && diff -r 58b5793034e8 -r fe96d104d02e libzim-dev/receipt --- a/libzim-dev/receipt Wed Apr 24 15:11:08 2019 +0100 +++ b/libzim-dev/receipt Wed Apr 24 17:27:05 2019 +0200 @@ -6,7 +6,7 @@ SHORT_DESC="Read and write method for ZIM files used by Wikipedia, development files." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" -WEB_SITE="http://www.openzim.org/wiki/Zimlib" +WEB_SITE="https://www.openzim.org/wiki/Zimlib" WANTED="libzim" DEPENDS="libzim pkg-config" diff -r 58b5793034e8 -r fe96d104d02e libzim/receipt --- a/libzim/receipt Wed Apr 24 15:11:08 2019 +0100 +++ b/libzim/receipt Wed Apr 24 17:27:05 2019 +0200 @@ -8,7 +8,7 @@ MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="http://www.openzim.org/wiki/Zimlib" +WEB_SITE="https://www.openzim.org/wiki/Zimlib" WGET_URL="http://download.openzim.org/archive/$TARBALL" DEPENDS="liblzma" diff -r 58b5793034e8 -r fe96d104d02e php/receipt --- a/php/receipt Wed Apr 24 15:11:08 2019 +0100 +++ b/php/receipt Wed Apr 24 17:27:05 2019 +0200 @@ -92,6 +92,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|IMG_FMT_I420|VPX_&|;s|PLANE_|VPX_&|' ext/gd/libgd/webpimg.c sed -i 's/pam_start/pam_nostart/' configure ./configure $ARCH_ARGS $CONFIGURE_ARGS && \ make $MAKEFLAGS && make -j1 INSTALL_ROOT=$DESTDIR install