SHA256
1
0
forked from pool/sbl

Accepting request 1169560 from hardware

- Add sbl-gcc14.patch: fix an implicit  declaration. (forwarded request 1169553 from mgorse)

OBS-URL: https://build.opensuse.org/request/show/1169560
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sbl?expand=0&rev=47
This commit is contained in:
Ana Guerrero 2024-04-24 13:13:10 +00:00 committed by Git OBS Bridge
commit af7d03cdaf
3 changed files with 20 additions and 1 deletions

11
sbl-gcc14.patch Normal file
View File

@ -0,0 +1,11 @@
diff -urp sbl-3.5.0.20130317.git7a75bc29.orig/sbl/selkey.c sbl-3.5.0.20130317.git7a75bc29/sbl/selkey.c
--- sbl-3.5.0.20130317.git7a75bc29.orig/sbl/selkey.c 2013-03-17 09:02:27.000000000 -0500
+++ sbl-3.5.0.20130317.git7a75bc29/sbl/selkey.c 2024-04-21 11:40:00.013681365 -0500
@@ -1,5 +1,7 @@
#include "selkey.h"
+void reset_speech ();
+
int selkey (keymap_file keymap, int brl, int kbd)
{

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Apr 21 16:41:04 UTC 2024 - Michael Gorse <mgorse@suse.com>
- Add sbl-gcc14.patch: fix an implicit declaration.
-------------------------------------------------------------------
Mon Feb 26 13:05:05 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package sbl
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -32,6 +32,8 @@ Patch4: sbl-libdir.patch
Patch5: sbl-init-scripts.patch
Patch6: sbl-sppkdev.patch
Patch7: sbl-orca-python3.patch
# PAtCH-FIX-UPSTREAM sbl-gcc14.patch
Patch8: sbl-gcc14.patch
BuildRequires: bluez-devel
BuildRequires: gcc-c++
BuildRequires: libusb-devel
@ -66,6 +68,7 @@ this python module enables orca to use brld for braille output
%patch -P 5 -p1
%patch -P 6 -p1
%patch -P 7 -p1
%patch -P 8 -p1
%build
make %{?_smp_mflags} CFLAGS="%{optflags} -fcommon -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE" \