install_wifi_firmwares: fix build of b43-fwcutter

byteswap.h was removed from glibc in current versions, so point to an
older git revision to get it.
This commit is contained in:
Adrien Destugues
2020-02-01 09:28:39 +01:00
parent e8a484b0f6
commit 3aba70f980
+2 -2
View File
@@ -260,11 +260,11 @@ function BuildBroadcomFWCutter()
# Download additonal files for building b43-fwcutter.
cd b43-fwcutter-012
local baseURL='https://git.haiku-os.org/haiku/plain/src/system/libroot/posix/glibc'
DownloadFileIfNotCached ${baseURL}/string/byteswap.h byteswap.h $dir
DownloadFileIfNotCached ${baseURL}/string/byteswap.h?id=c039c51d778367e9aa15db18d185e9d627706b46 byteswap.h $dir
if [ $result -gt 0 ]; then
return $result
fi
DownloadFileIfNotCached ${baseURL}/include/arch/x86/bits/byteswap.h byteswap.h $dir/bits
DownloadFileIfNotCached ${baseURL}/include/arch/x86/bits/byteswap.h?id=c039c51d778367e9aa15db18d185e9d627706b46 byteswap.h $dir/bits
if [ $result -gt 0 ]; then
return $result
fi