# HG changeset patch # User Pascal Bellard # Date 1556121757 -7200 # Node ID 5f978b12981b4f571fb94b977cfd8f9e6c3ca12f # Parent 11bdc6e2a324e79fef412108f106e067a2404e93 flashrom: fix build (again) diff -r 11bdc6e2a324 -r 5f978b12981b flashrom/receipt --- a/flashrom/receipt Wed Apr 24 16:41:38 2019 +0100 +++ b/flashrom/receipt Wed Apr 24 18:02:37 2019 +0200 @@ -18,7 +18,7 @@ # Rules to configure and make the package. compile_rules() { - sed -i 's|.*libusb_set_debug.*\( .*\)|#if LIBUSB_API_VERSION >= 0x01000106\ + sed -i 's|.*libusb_set_debug.*\( 3.*\)|#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