diff options
author | David P <megver83@parabola.nu> | 2018-06-25 19:06:24 -0400 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2018-06-25 19:06:24 -0400 |
commit | 6fbb88b1315a31fc91af87edc1bfd02e6b27da33 (patch) | |
tree | b698b70f54fe5058ade2cb7d71c31548a3fd1762 /libre/linux-libre-pck | |
parent | 59cad02d19a88411cedbfc6f8ba21e4cf041321d (diff) | |
download | abslibre-6fbb88b1315a31fc91af87edc1bfd02e6b27da33.tar.gz abslibre-6fbb88b1315a31fc91af87edc1bfd02e6b27da33.tar.bz2 abslibre-6fbb88b1315a31fc91af87edc1bfd02e6b27da33.zip |
linux-libre-pck: add sed expresion to fix tuxonice warnings
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'libre/linux-libre-pck')
-rw-r--r-- | libre/linux-libre-pck/PKGBUILD | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libre/linux-libre-pck/PKGBUILD b/libre/linux-libre-pck/PKGBUILD index 1fc572877..c6210bffc 100644 --- a/libre/linux-libre-pck/PKGBUILD +++ b/libre/linux-libre-pck/PKGBUILD @@ -121,7 +121,14 @@ prepare() { # add PCK patch patch -p1 -i ../patch-${_pkgver}-${_pckpatchver}.patch - + + if [ "${CARCH}" = "x86_64" ]; then + # workaround to fix tuxonice_builtin.c warnings being treated as errors + sed -i \ + 's|sys_open|ksys_open|;s|sys_ioctl|ksys_ioctl|;s|sys_read|ksys_read|;s|sys_close|ksys_close|' \ + kernel/power/tuxonice_builtin.c + fi + if [ "${CARCH}" = "armv7h" ]; then # RCN patch (CM3 firmware deblobbed and AUFS/WireGuard removed) # Note: For stability reasons, AUFS has been removed in the RCN patch. |