Sync from SUSE:SLFO:Main linux-atm revision f8645f1ca9cca964be08dda6b26e8432
This commit is contained in:
parent
8143c40aac
commit
16998c6ee1
13
linux-atm-C99.patch
Normal file
13
linux-atm-C99.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: linux-atm-2.5.2/src/led/conn.c
|
||||||
|
===================================================================
|
||||||
|
--- linux-atm-2.5.2.orig/src/led/conn.c
|
||||||
|
+++ linux-atm-2.5.2/src/led/conn.c
|
||||||
|
@@ -405,7 +405,7 @@ Conn_t *accept_conn(Conn_t *conn)
|
||||||
|
{
|
||||||
|
Conn_t *new;
|
||||||
|
struct sockaddr_atmsvc addr;
|
||||||
|
- size_t len;
|
||||||
|
+ socklen_t len;
|
||||||
|
int fd;
|
||||||
|
char buff[MAX_ATM_ADDR_LEN+1];
|
||||||
|
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 12 09:56:48 UTC 2024 - Martin Jambor <mjambor@suse.com>
|
||||||
|
|
||||||
|
- Add linux-atm-C99.patch to fix a wrong type being passed to
|
||||||
|
functionaccept which violates C99 rules and causes compilation to
|
||||||
|
fail with GCC 14 (and IMHO can cause wrong behavior on big-endian
|
||||||
|
systems). [boo#1221006]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 2 17:51:26 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
Wed Jun 2 17:51:26 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package linux-atm
|
# spec file for package linux-atm
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 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
|
||||||
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%if %{undefined _firmwaredir}
|
%if %{undefined _firmwaredir}
|
||||||
%define _firmwaredir /lib/firmware
|
%define _firmwaredir /lib/firmware
|
||||||
%endif
|
%endif
|
||||||
@ -37,11 +38,14 @@ Patch2: linux-atm-2.5.2-fix-header-conflict.patch
|
|||||||
Patch3: linux-atm-2.5.2-remove-headers-crude-hack.patch
|
Patch3: linux-atm-2.5.2-remove-headers-crude-hack.patch
|
||||||
# PATCH-FIX-UPSTREAM fix-build-after-y2038-changes-in-glibc.patch -- fix build after y2038 changes in glibc
|
# PATCH-FIX-UPSTREAM fix-build-after-y2038-changes-in-glibc.patch -- fix build after y2038 changes in glibc
|
||||||
Patch4: fix-build-after-y2038-changes-in-glibc.patch
|
Patch4: fix-build-after-y2038-changes-in-glibc.patch
|
||||||
BuildRequires: bison
|
# PATCH-FIX-UPSTREAM linux-atm-C99.patch -- fix passing wrong type to accept
|
||||||
|
Patch5: linux-atm-C99.patch
|
||||||
|
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: libtool
|
BuildRequires: bison
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libtool
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Tools to support ATM (Asynchronous Transfer Mode) networking.
|
Tools to support ATM (Asynchronous Transfer Mode) networking.
|
||||||
|
Loading…
Reference in New Issue
Block a user