# HG changeset patch # User Pascal Bellard # Date 1556036781 -7200 # Node ID 02f84d387161701ffe3b014a0a76ad4930cca3dc # Parent 60881e583eec180ed79a4fcca78ea6dd73bba4d3 conntrack-tools, flashrom: fix build diff -r 60881e583eec -r 02f84d387161 conntrack-tools/receipt --- a/conntrack-tools/receipt Tue Apr 23 17:08:19 2019 +0100 +++ b/conntrack-tools/receipt Tue Apr 23 18:26:21 2019 +0200 @@ -19,6 +19,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i '/enum ip_conntrack_info {/,/};/d' include/helper.h ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ diff -r 60881e583eec -r 02f84d387161 flashrom/receipt --- a/flashrom/receipt Tue Apr 23 17:08:19 2019 +0100 +++ b/flashrom/receipt Tue Apr 23 18:26:21 2019 +0200 @@ -18,6 +18,8 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|\(libusb_set_\)debug(NULL|\1option(NULL, LIBUSB_OPTION_LOG_LEVEL|' \ + ch341a_spi.c sed -i 's|uname -m|echo i486|' Makefile make -j 1 PREFIX=/usr && make PREFIX=/usr DESTDIR=$DESTDIR install