summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-06-29 05:52:14 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-06-29 05:52:14 -0300
commit87169a2093f4b2b990fd53e48b2ce98a571ef1cb (patch)
tree4384f7f5bddb389191ee269f1939164dcf2903c2 /libre
parent60b4c7e440c3b522586acd0d53125c7db0144950 (diff)
linux-libre-firmware: fixing type and sed path
Diffstat (limited to 'libre')
-rw-r--r--libre/linux-libre-firmware/PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/libre/linux-libre-firmware/PKGBUILD b/libre/linux-libre-firmware/PKGBUILD
index 34465d446..4b46592d0 100644
--- a/libre/linux-libre-firmware/PKGBUILD
+++ b/libre/linux-libre-firmware/PKGBUILD
@@ -1,4 +1,4 @@
-ç# Maintainer: André Silva <emulatorman@lavabit.com>
+# Maintainer: André Silva <emulatorman@lavabit.com>
# Contributor: Márcio Silva <coadde@lavabit.com>
pkgname=linux-libre-firmware
@@ -47,11 +47,12 @@ prepare() {
cd $srcdir/open-ath9k-htc-firmware
# disable build error
- sed -i 's|GMP,|GMP,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warning,|' Makefile
- sed -i 's|MPFR,|MPFR,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warning,|' Makefile
- sed -i 's|MPC,|MPC,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warning,|' Makefile
- sed -i 's|BINUTILS,|BINUTILS,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warning,|' Makefile
- sed -i 's|GCC,|GCC,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warning,|' Makefile
+ sed -i 's|GMP,|GMP,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warnings,|;
+ s|MPFR,|MPFR,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warnings,|;
+ s|MPC,|MPC,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warnings,|;
+ s|BINUTILS,|BINUTILS,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warnings,|;
+ s|GCC,|GCC,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warnings,|;
+ ' Makefile
# prepare toolchain to compile ath9k-htc firmware
make toolchain