diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-07-10 22:36:47 -0300 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-07-10 22:36:47 -0300 |
commit | 1f6b0107dfa00f4051bd572807629702142e997f (patch) | |
tree | 45cad1013af7dde1664ea94e6ab9b474e07ebe5f /cross/xtensa-unknown-elf-gcc | |
parent | 02cf852ce456d02931638113ededb875aed249e0 (diff) |
xtensa-unknown-elf-{binutils,gcc}: add ath9k_htc patch
Diffstat (limited to 'cross/xtensa-unknown-elf-gcc')
-rw-r--r-- | cross/xtensa-unknown-elf-gcc/PKGBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/cross/xtensa-unknown-elf-gcc/PKGBUILD b/cross/xtensa-unknown-elf-gcc/PKGBUILD index 270dc6299..76328723c 100644 --- a/cross/xtensa-unknown-elf-gcc/PKGBUILD +++ b/cross/xtensa-unknown-elf-gcc/PKGBUILD @@ -7,9 +7,9 @@ _pkgname=gcc _target="xtensa-unknown-elf" _sysroot="/usr/$CHOST/${_target}" -pkgname=${_target}-gcc +pkgname=${_target}-${_pkgname} pkgver=4.8.1 -pkgrel=1.2 +pkgrel=1.3 pkgdesc="The GNU Compiler Collection for the Xtensa architecture" arch=('i686' 'x86_64' 'mips64el') license=('GPL' 'LGPL' 'FDL' 'custom') @@ -17,14 +17,20 @@ url="http://gcc.gnu.org" makedepends=("${_target}-binutils>=2.23" 'libmpc' 'cloog' 'gcc-ada' 'doxygen') checkdepends=('dejagnu' 'inetutils') options=('!libtool' '!emptydirs') -source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2) -md5sums=('3b2386c114cd74185aa3754b58a79304') +source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2 + https://raw.github.com/qca/open-ath9k-htc-firmware/1.3.2/local/patches/gcc.patch) + +md5sums=('3b2386c114cd74185aa3754b58a79304' + '81372ee980289a9f6df01dad31c64a63') _basedir=gcc-${pkgver} prepare() { cd ${srcdir}/${_basedir} + # open-ath9k-htc-firmware patch + patch -p1 -i ${srcdir}/gcc.patch + # Do not run fixincludes sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in |