wok rev 21421
flashrom: fix build (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 24 18:02:37 2019 +0200 (2019-04-24) |
parents | 11bdc6e2a324 |
children | bd59b88e9b9c |
files | flashrom/receipt |
line diff
1.1 --- a/flashrom/receipt Wed Apr 24 16:41:38 2019 +0100 1.2 +++ b/flashrom/receipt Wed Apr 24 18:02:37 2019 +0200 1.3 @@ -18,7 +18,7 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - sed -i 's|.*libusb_set_debug.*\( .*\)|#if LIBUSB_API_VERSION >= 0x01000106\ 1.8 + sed -i 's|.*libusb_set_debug.*\( 3.*\)|#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