From be88ae4db9852f27db069160c1d12c79182d1229 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Thu, 15 Oct 2020 06:13:00 +0000 Subject: [PATCH] import brltty-5.6-30.el8 --- SOURCES/brltty-5.6-alsa-1.1.9-fix.patch | 26 +++++++++++++++++++++++++ SPECS/brltty.spec | 17 +++++++++++++--- 2 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 SOURCES/brltty-5.6-alsa-1.1.9-fix.patch diff --git a/SOURCES/brltty-5.6-alsa-1.1.9-fix.patch b/SOURCES/brltty-5.6-alsa-1.1.9-fix.patch new file mode 100644 index 0000000..f84abfb --- /dev/null +++ b/SOURCES/brltty-5.6-alsa-1.1.9-fix.patch @@ -0,0 +1,26 @@ +diff --git a/Programs/midi_alsa.c b/Programs/midi_alsa.c +index 3afb55d..aeaae5a 100644 +--- a/Programs/midi_alsa.c ++++ b/Programs/midi_alsa.c +@@ -18,7 +18,7 @@ + + #include "prologue.h" + +-#include ++#include + + #include "log.h" + #include "parse.h" +diff --git a/Programs/pcm_alsa.c b/Programs/pcm_alsa.c +index 7618bdc..bb7c927 100644 +--- a/Programs/pcm_alsa.c ++++ b/Programs/pcm_alsa.c +@@ -19,7 +19,7 @@ + #include "prologue.h" + + #define ALSA_PCM_NEW_HW_PARAMS_API +-#include ++#include + + #include "log.h" + #include "timing.h" diff --git a/SPECS/brltty.spec b/SPECS/brltty.spec index e3cf925..647ab27 100644 --- a/SPECS/brltty.spec +++ b/SPECS/brltty.spec @@ -33,7 +33,7 @@ Name: brltty Version: %{pkg_version} -Release: 28%{?dist} +Release: 30%{?dist} License: LGPLv2+ URL: http://brltty.app/ Source0: http://brltty.app/archive/%{name}-%{version}.tar.xz @@ -47,6 +47,7 @@ Patch3: 0001-Add-support-for-eSpeak-NG.patch Patch4: brltty-5.6-libs-add-ldflags.patch Patch5: brltty-5.6-ocaml-add-flags.patch Patch6: brltty-5.6-add-dracut-support.patch +Patch7: brltty-5.6-alsa-1.1.9-fix.patch Summary: Braille display driver for Linux/Unix BuildRequires: byacc, glibc-kernheaders, bluez-libs-devel, systemd BuildRequires: gettext, at-spi2-core-devel, alsa-lib-devel @@ -57,7 +58,6 @@ BuildRequires: espeak-ng-devel BuildRequires: /usr/bin/2to3 BuildRequires: autoconf -Requires: brlapi%{?_isa} = %{api_version}-%{release} # work around a bug in the install process: Requires(post): coreutils Requires(post): systemd @@ -130,7 +130,7 @@ This package provides the eSpeak-NG driver for BRLTTY. Version: %{api_version} License: LGPLv2+ Summary: Application Programming Interface for BRLTTY -Requires: %{name}%{?_isa} = %{pkg_version}-%{release} +Recommends: %{name} = %{pkg_version}-%{release} Requires(pre): glibc-common, shadow-utils Requires(post): coreutils, util-linux %description -n brlapi @@ -239,6 +239,7 @@ pushd python2 %patch4 -p1 -b .libs-add-ldflags %patch5 -p1 -b .ocaml-add-flags %patch6 -p1 -b .add-dracut-support +%patch7 -p1 -b .alsa-1.1.9-fix # remove packaged binary file rm -f Programs/brltty-ktb @@ -536,6 +537,16 @@ fi %config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/brltty/Initramfs/cmdline %changelog +* Fri Jul 10 2020 Artem Egorenkov - 5.6-30 +- brltty requires brlapi deleted (duplication of automatically determined dependency) +- isa macro deleted for brlapi requires brltty +- brlapi recommends brltty + Resolves: rhbz#1765611 + +* Wed Jul 8 2020 Artem Egorenkov - 5.6-29 +- Fixed build with alsa-1.1.9 + Resolves: rhbz#1854905 + * Tue Dec 11 2018 Jaroslav Škarvada - 5.6-28 - Do not package documentation for dracut module twice Related: rhbz#1655345