From 40a012c1ee1bdb01cb6e030c485783cffa3abc46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 19 Mar 2019 15:47:25 +0100 Subject: [PATCH] librtas: fix big endian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- srcpkgs/librtas/patches/fix-endian_h.patch | 20 ++++++++++++++++++++ srcpkgs/librtas/template | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/librtas/patches/fix-endian_h.patch diff --git a/srcpkgs/librtas/patches/fix-endian_h.patch b/srcpkgs/librtas/patches/fix-endian_h.patch new file mode 100644 index 0000000000..c27a3a1dc9 --- /dev/null +++ b/srcpkgs/librtas/patches/fix-endian_h.patch @@ -0,0 +1,20 @@ +--- librtas_src/librtas.h 2018-06-15 01:49:01.000000000 +0200 ++++ librtas_src/librtas.h 2019-03-19 15:35:14.839592813 +0100 +@@ -27,6 +27,7 @@ + #include + #include + #include ++#include /* required for BE arches */ + + #define RTAS_KERNEL_INT -1001 /* No Kernel Interface to Firmware */ + #define RTAS_KERNEL_IMP -1002 /* No Kernel Implementation of Function */ +--- librtasevent_src/librtasevent.h 2018-06-15 01:49:01.000000000 +0200 ++++ librtasevent_src/librtasevent.h 2019-03-19 15:37:53.055600976 +0100 +@@ -49,6 +49,7 @@ + + #include + #include ++#include + + struct rtas_event; + diff --git a/srcpkgs/librtas/template b/srcpkgs/librtas/template index 602ad206e3..65951b25fe 100644 --- a/srcpkgs/librtas/template +++ b/srcpkgs/librtas/template @@ -1,7 +1,7 @@ # Template file for 'librtas' pkgname=librtas version=2.0.2 -revision=1 +revision=2 archs="ppc ppc-musl ppc64*" build_style=gnu-configure hostmakedepends="automake libtool"