Fix build on aarch64

This commit is contained in:
Sérgio M. Basto 2021-08-18 12:14:00 +01:00
parent 75b596bd9a
commit aca9686876
2 changed files with 3 additions and 2687 deletions

File diff suppressed because it is too large Load Diff

View File

@ -6,10 +6,10 @@ License: GPLv2+
URL: http://cyberelk.net/tim/libieee1284/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
Patch1: libieee1284-strict-aliasing.patch
Patch2: libieee1284-aarch64.patch
BuildRequires: gcc
BuildRequires: gcc
BuildRequires: xmlto
BuildRequires: make
BuildRequires: libtool
%description
The libieee1284 library is for communicating with parallel port devices.
@ -27,10 +27,8 @@ developing applications that use libieee1284.
# Fixed strict aliasing warnings (bug #605170).
%patch1 -p1 -b .strict-aliasing
# Add support for building on aarch64 (bug #925774).
%patch2 -p1 -b .aarch64
%build
autoreconf -iv
touch doc/interface.xml
%configure --without-python
%make_build