package/sane-backends: add patch to fix compile for toolchains without thread support
authorPeter Seiderer <ps.report@gmx.net>
Wed, 31 Mar 2021 21:09:36 +0000 (23:09 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 4 Apr 2021 11:59:11 +0000 (13:59 +0200)
commitb025ab55aeeb339508f80825294e479ecdb28eb4
tree1439141d562360a7e366bd48dbc11f9955cd3211
parentbd1a3a29debdd43e07ad34b29283be5515539013
package/sane-backends: add patch to fix compile for toolchains without thread support

Fixes:

  - http://autobuild.buildroot.net/results/c9b0e41d66211bcab231b5db78c6eebe4b1d78ba

  genesys/scanner_interface_usb.cpp: In member function ‘virtual void genesys::ScannerInterfaceUsb::sleep_us(unsigned int)’:
  genesys/scanner_interface_usb.cpp:484:10: error: ‘std::this_thread’ has not been declared
    484 |     std::this_thread::sleep_for(std::chrono::microseconds{microseconds});
        |          ^~~~

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/sane-backends/0003-genesys-use-usleep-instead-of-std-this_thread-sleep_.patch [new file with mode: 0644]