hwdb: use curl instead of wget, and regenerate patch after successful update
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 18 Apr 2017 21:28:14 +0000 (17:28 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 24 Apr 2017 01:47:29 +0000 (21:47 -0400)
commit734005fe75777b5784033ee9ccbed6acd414b30f
tree28f1cf41abf5afd5be8ccc235974785128878917
parentf6e49d4e52dbd8f67e76689103a59d524423cbf1
hwdb: use curl instead of wget, and regenerate patch after successful update

libcurl is already our build dependency, so using curl reduces the deps
a bit, and curl also has a more modern codebase.

Regenerating the patch makes it more likely that the patch will apply
in the future.

Also, update URLs which return 302 to the new location.

(Patch suggested by Igor Gnatenko.)
tools/meson-hwdb-update.sh