fixed URL; closes #1 [release 0.19.0-4mamba;Fri Nov 29 2024]

This commit is contained in:
Silvan Calarco 2024-11-29 18:47:45 +01:00
parent ad2c4a33b4
commit 891706a5f6
2 changed files with 21 additions and 5 deletions

View 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

View File

@ -1,19 +1,18 @@
Name: libbraille Name: libbraille
Version: 0.19.0 Version: 0.19.0
Release: 3mamba Release: 4mamba
Summary: A library which makes it possible to easily develop for Braille displays Summary: A library which makes it possible to easily develop for Braille displays
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> 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 Source: http://prdownloads.sourceforge.net/libbraille/libbraille-%{version}.tar.gz
Patch0: libbraille-0.19.0-gcc-14.patch
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libudev-devel
BuildRequires: libusb-compat-devel BuildRequires: libusb-compat-devel
BuildRequires: libusb-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
%description %description
@ -33,6 +32,7 @@ This package contains static libraries and header files needed for development.
%prep %prep
%setup -q %setup -q
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub libltdl/config.sub sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub libltdl/config.sub
%patch 0 -p1 -b .gcc-14
%build %build
%configure %configure
@ -60,12 +60,14 @@ sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub libltdl/config.sub
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_includedir} %dir %{_includedir}
%{_libdir}/libbraille.a %{_libdir}/libbraille.a
%{_libdir}/libbraille.la
%{_libdir}/libbraille.so %{_libdir}/libbraille.so
%{_includedir}/*.h %{_includedir}/*.h
%doc ChangeLog README TODO %doc ChangeLog README TODO
%changelog %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 * Sat May 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.19.0-3mamba
- rebuilt with aarch64 build fix and debug package - rebuilt with aarch64 build fix and debug package