diff --git a/sbl-gcc14.patch b/sbl-gcc14.patch new file mode 100644 index 0000000..29b5a1f --- /dev/null +++ b/sbl-gcc14.patch @@ -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) + { + diff --git a/sbl.changes b/sbl.changes index 8c9bc45..a7fc1b5 100644 --- a/sbl.changes +++ b/sbl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Apr 21 16:41:04 UTC 2024 - Michael Gorse + +- Add sbl-gcc14.patch: fix an implicit declaration. + ------------------------------------------------------------------- Mon Feb 26 13:05:05 UTC 2024 - Dominique Leuenberger diff --git a/sbl.spec b/sbl.spec index 3003e65..216840d 100644 --- a/sbl.spec +++ b/sbl.spec @@ -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" \