glibc: files/glibc-patches: use a github mirror that doesn't lose patches.

This commit is contained in:
Leah Neukirchen 2017-10-10 16:28:22 +02:00
parent c486b5b56f
commit 4629713040
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
# glibc-patches VERSION - fetch glibc upstream patches
version=${1?no version given}
curl -sL "http://repo.or.cz/glibc.git/patch/glibc-${version}..release/${version}/master" | sed '/^Subject/s,/[0-9]*\],],' | csplit -f glibc-upstream- -b '%02d.patch' - '/^From /' '{*}'
curl -sL "https://github.com/bminor/glibc/compare/glibc-${version}...release/${version}/master.patch" | sed '/^Subject/s,/[0-9]*\],],' | csplit -f glibc-upstream- -b '%02d.patch' - '/^From /' '{*}'
rm glibc-upstream-00.patch