fixed URL; closes #1 [release 0.19.0-4mamba;Fri Nov 29 2024]
This commit is contained in:
parent
ad2c4a33b4
commit
891706a5f6
14
libbraille-0.19.0-gcc-14.patch
Normal file
14
libbraille-0.19.0-gcc-14.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff -urp libbraille-0.19.0.orig/backend/baum/brl.c libbraille-0.19.0/backend/baum/brl.c
|
||||
--- libbraille-0.19.0.orig/backend/baum/brl.c 2006-03-03 18:31:25.000000000 -0600
|
||||
+++ libbraille-0.19.0/backend/baum/brl.c 2024-04-21 12:02:18.174577670 -0500
|
||||
@@ -29,8 +29,8 @@
|
||||
static char (*drvinit_func) (brli_term *term, const char *pathname);
|
||||
static char (*drvclose_func) (brli_term *term);
|
||||
static int (*write_func) (brli_term *term, char *bytes, int size);
|
||||
-static int (*read_byte_func) (brli_term *term, char *byte, int timeout);
|
||||
-static int (*read_bytes_func) (brli_term *term, char *bytes, int size, int timeout);
|
||||
+static int (*read_byte_func) (brli_term *term, unsigned char *byte, int timeout);
|
||||
+static int (*read_bytes_func) (brli_term *term, unsigned char *bytes, int size, int timeout);
|
||||
|
||||
#define ESCAPE 0x1B
|
||||
#define TSP_DATA_SIZE 5
|
@ -1,19 +1,18 @@
|
||||
Name: libbraille
|
||||
Version: 0.19.0
|
||||
Release: 3mamba
|
||||
Release: 4mamba
|
||||
Summary: A library which makes it possible to easily develop for Braille displays
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://libbraille.org/
|
||||
URL: https://libbraille.org/
|
||||
Source: http://prdownloads.sourceforge.net/libbraille/libbraille-%{version}.tar.gz
|
||||
Patch0: libbraille-0.19.0-gcc-14.patch
|
||||
License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libudev-devel
|
||||
BuildRequires: libusb-compat-devel
|
||||
BuildRequires: libusb-devel
|
||||
## AUTOBUILDREQ-END
|
||||
|
||||
%description
|
||||
@ -33,6 +32,7 @@ This package contains static libraries and header files needed for development.
|
||||
%prep
|
||||
%setup -q
|
||||
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub libltdl/config.sub
|
||||
%patch 0 -p1 -b .gcc-14
|
||||
|
||||
%build
|
||||
%configure
|
||||
@ -60,12 +60,14 @@ sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub libltdl/config.sub
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}
|
||||
%{_libdir}/libbraille.a
|
||||
%{_libdir}/libbraille.la
|
||||
%{_libdir}/libbraille.so
|
||||
%{_includedir}/*.h
|
||||
%doc ChangeLog README TODO
|
||||
|
||||
%changelog
|
||||
* Fri Nov 29 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.19.0-4mamba
|
||||
- fixed URL; closes #1
|
||||
|
||||
* Sat May 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.19.0-3mamba
|
||||
- rebuilt with aarch64 build fix and debug package
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user