Compare commits

..

No commits in common. "rawhide" and "f40" have entirely different histories.

3 changed files with 5 additions and 56 deletions

View file

@ -1,24 +0,0 @@
diff -up serdisplib-1.97.9/src/serdisp_fctptr.c~ serdisplib-1.97.9/src/serdisp_fctptr.c
--- serdisplib-1.97.9/src/serdisp_fctptr.c~ 2010-02-21 20:49:29.000000000 +0100
+++ serdisplib-1.97.9/src/serdisp_fctptr.c 2024-06-26 11:21:13.672014507 +0200
@@ -58,7 +58,7 @@ struct usb_bus* (*fp_usb_get_busses)
int (*fp_usb_claim_interface) (usb_dev_handle* dev, int interface);
int (*fp_usb_bulk_read) (usb_dev_handle* dev, int ep, char* bytes, int size, int timeout);
-int (*fp_usb_bulk_write) (usb_dev_handle* dev, int ep, char* bytes, int size, int timeout);
+int (*fp_usb_bulk_write) (usb_dev_handle* dev, int ep, const char* bytes, int size, int timeout);
int (*fp_usb_control_msg) (usb_dev_handle* dev, int requesttype, int request,
int value, int index, char *bytes, int size, int timeout);
int (*fp_usb_clear_halt) (usb_dev_handle *dev, unsigned int ep);
diff -up serdisplib-1.97.9/include/serdisplib/serdisp_fctptr.h~ serdisplib-1.97.9/include/serdisplib/serdisp_fctptr.h
--- serdisplib-1.97.9/include/serdisplib/serdisp_fctptr.h~ 2010-02-21 20:49:28.000000000 +0100
+++ serdisplib-1.97.9/include/serdisplib/serdisp_fctptr.h 2024-06-26 11:23:53.806110999 +0200
@@ -76,7 +76,7 @@ extern struct usb_bus* (*fp_usb_get_buss
extern int (*fp_usb_claim_interface) (usb_dev_handle* dev, int interface);
extern int (*fp_usb_bulk_read) (usb_dev_handle* dev, int ep, char* bytes, int size, int timeout);
-extern int (*fp_usb_bulk_write) (usb_dev_handle* dev, int ep, char* bytes, int size, int timeout);
+extern int (*fp_usb_bulk_write) (usb_dev_handle* dev, int ep, const char* bytes, int size, int timeout);
extern int (*fp_usb_control_msg) (usb_dev_handle* dev, int requesttype, int request,
int value, int index, char *bytes, int size, int timeout);
extern int (*fp_usb_clear_halt) (usb_dev_handle *dev, unsigned int ep);

View file

@ -1,4 +0,0 @@
# These are all a bit meh warnings, ignore them
addFilter("W: no-documentation")
addFilter("W: no-manual-page-for-binary")
addFilter("E: incorrect-fsf-address")

View file

@ -1,13 +1,11 @@
Name: serdisplib
Version: 1.97.9
Release: 35%{?dist}
Release: 28%{?dist}
Summary: Library to drive serial displays with built-in controllers
# Automatically converted from old format: GPLv2+ - review is highly recommended.
License: GPL-2.0-or-later
License: GPLv2+
URL: http://serdisplib.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Patch0: serdisplib-configure-c99.patch
Patch1: serdisplib-1.97.9-build-fix.patch
Patch0: serdisplib-configure-c99.patch
BuildRequires: make gcc gd-devel SDL-devel
# serdisplib only supports the old libusb-0.1 API
BuildRequires: libusb-compat-0.1-devel
@ -33,7 +31,7 @@ developing applications that use %{name}.
%package tools
Summary: Serdisplib tools (testserdisp, multidisplay)
Summary: serdisplib tools (testserdisp, multidisplay)
Requires: %{name} = %{version}-%{release}
%description tools
@ -47,7 +45,7 @@ This package contains the tools for serdisplib
%build
%configure --enable-libusb --enable-libSDL --disable-statictools
# STATIC_LDFLAGS: work around broken non static utils linking
make %{?_smp_mflags} STATIC_LDFLAGS="$RPM_LD_FLAGS -lusb -lSDL -lpthread"
make %{?_smp_mflags} STATIC_LDFLAGS="-lusb -lSDL -lpthread"
%install
@ -74,27 +72,6 @@ rm $RPM_BUILD_ROOT%{_libdir}/libserdisp.a
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.97.9-35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.97.9-34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.97.9-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.97.9-32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Fri Jul 26 2024 Miroslav Suchý <msuchy@redhat.com> - 1.97.9-31
- convert license to SPDX
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.97.9-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Wed Jun 26 2024 Hans de Goede <hdegoede@redhat.com> - 1.97.9-29
- Fix FTBFS (rhbz#2261689)
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.97.9-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild