summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2018-12-29 10:30:14 +0100
committerMichel Zou2018-12-29 10:30:14 +0100
commite34975feea5a0ebbceeb621b47d79d01bd8c6491 (patch)
tree4e2809eca70cd8bc8d8aadb44f29c7cacab84a2b
parent98f528626e1c33db515f46aa640ab799b7f05fcb (diff)
downloadaur-e34975feea5a0ebbceeb621b47d79d01bd8c6491.tar.gz
update patch
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 4 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f830ae96e98..4d3744e2cb8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -19,17 +19,13 @@ pkgbase = psp-gcc
options = !strip
options = staticlibs
source = http://ftp.gnu.org/pub/gnu/gcc/gcc-4.9.3/gcc-4.9.3.tar.bz2
- source = gcc-4.9.3-PSP.patch
source = https://gmplib.org/download/gmp/gmp-5.1.3.tar.lz
source = https://ftp.gnu.org/gnu/mpc/mpc-1.0.2.tar.gz
source = http://www.mpfr.org/mpfr-3.1.2/mpfr-3.1.2.tar.bz2
- source = patch-gcc_cp_cfns.h
sha256sums = 2332b2a5a321b57508b9031354a8503af6fdfb868b8c1748d33028d100a8b67e
- sha256sums = 40c43fd1aacdb62dce19459708d633cee035cd25ddd2839d3065f150f5ba327f
sha256sums = 9a6bde619a9dcdcb68a856be1b32a097a2a04fec2ce6d6fe0877d941f9309c50
sha256sums = b561f54d8a479cee3bc891ee52735f18ff86712ba30f036f8b8537bae380c488
sha256sums = 79c73f60af010a30a5c27a955a1d2d01ba095b72537dab0ecaad57f5a7bb1b6b
- sha256sums = ad3771c065bdb67141228032dbf8bfd62f9a2b4d0b846cbcdb27b1f0eedf2ee6
pkgname = psp-gcc
diff --git a/PKGBUILD b/PKGBUILD
index eee96b436e5..3dcbcb3187d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,24 +11,20 @@ conflicts=('psp-gcc-base')
provides=('psp-gcc-base')
options=('!buildflags' '!strip' 'staticlibs')
source=("http://ftp.gnu.org/pub/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.bz2"
- "gcc-$pkgver-PSP.patch"
"https://gmplib.org/download/gmp/gmp-5.1.3.tar.lz"
"https://ftp.gnu.org/gnu/mpc/mpc-1.0.2.tar.gz"
- "http://www.mpfr.org/mpfr-3.1.2/mpfr-3.1.2.tar.bz2"
- "patch-gcc_cp_cfns.h")
+ "http://www.mpfr.org/mpfr-3.1.2/mpfr-3.1.2.tar.bz2")
sha256sums=('2332b2a5a321b57508b9031354a8503af6fdfb868b8c1748d33028d100a8b67e'
- '40c43fd1aacdb62dce19459708d633cee035cd25ddd2839d3065f150f5ba327f'
'9a6bde619a9dcdcb68a856be1b32a097a2a04fec2ce6d6fe0877d941f9309c50'
'b561f54d8a479cee3bc891ee52735f18ff86712ba30f036f8b8537bae380c488'
- '79c73f60af010a30a5c27a955a1d2d01ba095b72537dab0ecaad57f5a7bb1b6b'
- 'ad3771c065bdb67141228032dbf8bfd62f9a2b4d0b846cbcdb27b1f0eedf2ee6')
+ '79c73f60af010a30a5c27a955a1d2d01ba095b72537dab0ecaad57f5a7bb1b6b')
prepare ()
{
cd "$srcdir/gcc-$pkgver"
rm -f gcc/config/mips/allegrex.md gcc/config/mips/psp.h libgcc/config/mips/t-allegrex
- patch -p1 -i "$srcdir"/gcc-$pkgver-PSP.patch
- patch -p0 -i "$srcdir"/patch-gcc_cp_cfns.h
+ curl -L https://raw.githubusercontent.com/pspdev/psptoolchain/master/patches/gcc-$pkver-PSP.patch | patch -p1
+ curl -L https://raw.githubusercontent.com/pspdev/psptoolchain/master/patches/patch-gcc_cp_cfns.h | patch -p0
ln -sf "$srcdir"/gmp-5.1.3 gmp
ln -sf "$srcdir"/mpc-1.0.2 mpc
ln -sf "$srcdir"/mpfr-3.1.2 mpfr