mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-23 00:54:26 +01:00
Merge pull request #483 from mayeut/fix-get-expat
fix: crosstool-ng expat dowload
This commit is contained in:
commit
58c9889c7f
@ -47,6 +47,7 @@ ENV XCC_PREFIX=/usr/xcc
|
|||||||
# for users.
|
# for users.
|
||||||
COPY \
|
COPY \
|
||||||
imagefiles/install-crosstool-ng-toolchain.sh \
|
imagefiles/install-crosstool-ng-toolchain.sh \
|
||||||
|
imagefiles/crosstool-ng-expat.patch \
|
||||||
manylinux2014-aarch64/crosstool-ng.config \
|
manylinux2014-aarch64/crosstool-ng.config \
|
||||||
/dockcross/
|
/dockcross/
|
||||||
|
|
||||||
|
@ -32,6 +32,7 @@ ENV XCC_PREFIX=/usr/xcc
|
|||||||
# for users.
|
# for users.
|
||||||
COPY \
|
COPY \
|
||||||
imagefiles/install-crosstool-ng-toolchain.sh \
|
imagefiles/install-crosstool-ng-toolchain.sh \
|
||||||
|
imagefiles/crosstool-ng-expat.patch \
|
||||||
crosstool-ng.config \
|
crosstool-ng.config \
|
||||||
/dockcross/
|
/dockcross/
|
||||||
|
|
||||||
|
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 \
|
curl -# -LO \
|
||||||
"https://github.com/crosstool-ng/crosstool-ng/archive/crosstool-ng-${REV}.tar.gz"
|
"https://github.com/crosstool-ng/crosstool-ng/archive/crosstool-ng-${REV}.tar.gz"
|
||||||
tar -xf "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}"
|
cd "crosstool-ng-crosstool-ng-${REV}"
|
||||||
|
|
||||||
# Bootstrap and install the tool.
|
# Bootstrap and install the tool.
|
||||||
|
Loading…
Reference in New Issue
Block a user