Accepting request 1169553 from home:mgorse:factory
- Add sbl-gcc14.patch: fix an implicit declaration. OBS-URL: https://build.opensuse.org/request/show/1169553 OBS-URL: https://build.opensuse.org/package/show/hardware/sbl?expand=0&rev=39
This commit is contained in:
parent
be54780b0d
commit
2529882be5
11
sbl-gcc14.patch
Normal file
11
sbl-gcc14.patch
Normal 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)
|
||||||
|
{
|
||||||
|
|
@ -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>
|
Mon Feb 26 13:05:05 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
5
sbl.spec
5
sbl.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package sbl
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -32,6 +32,8 @@ Patch4: sbl-libdir.patch
|
|||||||
Patch5: sbl-init-scripts.patch
|
Patch5: sbl-init-scripts.patch
|
||||||
Patch6: sbl-sppkdev.patch
|
Patch6: sbl-sppkdev.patch
|
||||||
Patch7: sbl-orca-python3.patch
|
Patch7: sbl-orca-python3.patch
|
||||||
|
# PAtCH-FIX-UPSTREAM sbl-gcc14.patch
|
||||||
|
Patch8: sbl-gcc14.patch
|
||||||
BuildRequires: bluez-devel
|
BuildRequires: bluez-devel
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libusb-devel
|
BuildRequires: libusb-devel
|
||||||
@ -66,6 +68,7 @@ this python module enables orca to use brld for braille output
|
|||||||
%patch -P 5 -p1
|
%patch -P 5 -p1
|
||||||
%patch -P 6 -p1
|
%patch -P 6 -p1
|
||||||
%patch -P 7 -p1
|
%patch -P 7 -p1
|
||||||
|
%patch -P 8 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} CFLAGS="%{optflags} -fcommon -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE" \
|
make %{?_smp_mflags} CFLAGS="%{optflags} -fcommon -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE" \
|
||||||
|
Loading…
Reference in New Issue
Block a user