2 Commits

3 changed files with 22 additions and 2 deletions

12
initviocons-gcc15.patch Normal file
View File

@@ -0,0 +1,12 @@
--- initviocons-0.5/main.c 2025-03-05 09:53:18.279710271 +0100
+++ initviocons-0.5/main.c 2025-03-05 09:52:56.278462753 +0100
@@ -132,7 +132,7 @@ static struct {
};
void usage(void);
-void strascii();
+void strascii(register unsigned char *p);
void settermmode(int);
int readreply(int, char *, int, int);
int termsend(int, char *, char *);

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Mar 5 09:06:39 UTC 2025 - pgajdos@suse.com
- fix build with gcc15
+ initviocons-gcc15.patch
-------------------------------------------------------------------
Tue Nov 7 21:45:56 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package initviocons
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,8 @@ License: GPL-2.0-or-later
Group: System/Console
URL: http://svn.poeml.de/viewcvs/initviocons/
Source: initviocons-%{version}.tar.bz2
# build with gcc15
Patch0: initviocons-gcc15.patch
BuildRequires: automake
%description
@@ -37,7 +39,7 @@ additionally checks for the presence of more than one terminal
connected on the same line. See %{_sysconfdir}/profile for a usage example.
%prep
%setup -q -n initviocons-%{version}
%autosetup -p1 -n initviocons-%{version}
%build
autoreconf -fi