wok rev 21413

conntrack-tools, flashrom: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 23 18:26:21 2019 +0200 (24 months ago)
parents 60881e583eec
children a478df728515
files conntrack-tools/receipt flashrom/receipt
line diff
     1.1 --- a/conntrack-tools/receipt	Tue Apr 23 17:08:19 2019 +0100
     1.2 +++ b/conntrack-tools/receipt	Tue Apr 23 18:26:21 2019 +0200
     1.3 @@ -19,6 +19,7 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 +	sed -i '/enum ip_conntrack_info {/,/};/d' include/helper.h
     1.8  	./configure \
     1.9  		--prefix=/usr \
    1.10  		--mandir=/usr/share/man \
     2.1 --- a/flashrom/receipt	Tue Apr 23 17:08:19 2019 +0100
     2.2 +++ b/flashrom/receipt	Tue Apr 23 18:26:21 2019 +0200
     2.3 @@ -18,6 +18,8 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 +	sed -i 's|\(libusb_set_\)debug(NULL|\1option(NULL, LIBUSB_OPTION_LOG_LEVEL|' \
     2.8 +		ch341a_spi.c
     2.9  	sed -i 's|uname -m|echo i486|' Makefile
    2.10  	make -j 1 PREFIX=/usr &&
    2.11  	make PREFIX=/usr DESTDIR=$DESTDIR install