mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-10 21:19:26 +02:00
fix: crosstool-ng expat dowload
expat shall now be downloaded from github rather than sourceforge. This commit patches crosstool-ng 1.23.0 to do this.
This commit is contained in:
11
imagefiles/crosstool-ng-expat.patch
Normal file
11
imagefiles/crosstool-ng-expat.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- crosstool-ng-crosstool-ng-1.23.0/scripts/build/companion_libs/210-expat.sh 2021-04-05 13:55:31.047130000 +0000
|
||||
+++ crosstool-ng-crosstool-ng-1.23.0/scripts/build/companion_libs/210-expat.sh.new 2021-04-05 13:57:13.841170000 +0000
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
do_expat_get() {
|
||||
CT_GetFile "expat-${CT_EXPAT_VERSION}" .tar.gz \
|
||||
- http://downloads.sourceforge.net/project/expat/expat/${CT_EXPAT_VERSION}
|
||||
+ https://github.com/libexpat/libexpat/releases/download/R_${CT_EXPAT_VERSION//./_}
|
||||
}
|
||||
|
||||
do_expat_extract() {
|
@ -61,6 +61,7 @@ REV=1.23.0
|
||||
curl -# -LO \
|
||||
"https://github.com/crosstool-ng/crosstool-ng/archive/crosstool-ng-${REV}.tar.gz"
|
||||
tar -xf "crosstool-ng-${REV}.tar.gz"
|
||||
patch crosstool-ng-crosstool-ng-1.23.0/scripts/build/companion_libs/210-expat.sh -i /dockcross/crosstool-ng-expat.patch
|
||||
cd "crosstool-ng-crosstool-ng-${REV}"
|
||||
|
||||
# Bootstrap and install the tool.
|
||||
|
Reference in New Issue
Block a user