From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] linux-atm: Update to 2.5.2 Date: Wed, 22 Feb 2023 09:51:39 +0000 Message-ID: <92FD4D8E-DE41-4EC5-AC57-3403B8A3AFBA@ipfire.org> In-Reply-To: <20230221132159.762733-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6588584573717443715==" List-Id: --===============6588584573717443715== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hey Stefan, One of these patches has HTML content. I suppose this isn=E2=80=99t correct. -Michael > On 21 Feb 2023, at 13:21, Stefan Schantl wrot= e: >=20 > Signed-off-by: Stefan Schantl > --- > linux-atm/linux-atm.nm | 9 +- > ...string-formatting-to-build-with-gcc7.patch | 11 + > .../linux-atm-2.5.1-disable-zntune.patch | 714 ++++++++++++++++++ > linux-atm/patches/remove-define-hacks.patch | 22 + > linux-atm/patches/siocgstamp.patch | 22 + > 5 files changed, 774 insertions(+), 4 deletions(-) > create mode 100644 linux-atm/patches/add-string-formatting-to-build-with-gc= c7.patch > create mode 100644 linux-atm/patches/linux-atm-2.5.1-disable-zntune.patch > create mode 100644 linux-atm/patches/remove-define-hacks.patch > create mode 100644 linux-atm/patches/siocgstamp.patch >=20 > diff --git a/linux-atm/linux-atm.nm b/linux-atm/linux-atm.nm > index 4b3ac47ba..167275b88 100644 > --- a/linux-atm/linux-atm.nm > +++ b/linux-atm/linux-atm.nm > @@ -4,8 +4,8 @@ > ###########################################################################= #### >=20 > name =3D linux-atm > -version =3D 2.5.1 > -release =3D 2 > +version =3D 2.5.2 > +release =3D 1 >=20 > groups =3D System/Daemons > url =3D http://linux-atm.sourceforge.net/ > @@ -17,7 +17,7 @@ description > using theLinux ATM API. > end >=20 > -sources =3D %{thisapp}.tgz > +sources =3D %{thisapp}.tar.gz > source_dl =3D http://downloads.sf.net/%{name}/ >=20 > build > @@ -30,7 +30,8 @@ build > end >=20 > prepare_cmds > - sed -e "s/-lfl/&_pic/g" -i src/*{,/*}/Makefile.in > + # install firmware in /usr/lib > + sed -i "s#/lib/firmware#/usr/lib/firmware#" src/extra/Makefile.in > end >=20 > PARALLELISMFLAGS =3D > diff --git a/linux-atm/patches/add-string-formatting-to-build-with-gcc7.pat= ch b/linux-atm/patches/add-string-formatting-to-build-with-gcc7.patch > new file mode 100644 > index 000000000..17aaf5798 > --- /dev/null > +++ b/linux-atm/patches/add-string-formatting-to-build-with-gcc7.patch > @@ -0,0 +1,11 @@ > +--- linux-atm-2.5.1-orig/src/test/ttcp.c 2017-05-28 12:16:24.984611487 +00= 00 > ++++ linux-atm-2.5.1/src/test/ttcp.c 2017-05-28 12:17:25.370338343 +0000 > +@@ -663,7 +663,7 @@ int no_check =3D 0; > + exit(0); > +=20 > + usage: > +- fprintf(stderr, Usage); > ++ fprintf(stderr, "%s", Usage); > + exit(1); > + } > +=20 > diff --git a/linux-atm/patches/linux-atm-2.5.1-disable-zntune.patch b/linux= -atm/patches/linux-atm-2.5.1-disable-zntune.patch > new file mode 100644 > index 000000000..8318c3ae6 > --- /dev/null > +++ b/linux-atm/patches/linux-atm-2.5.1-disable-zntune.patch > @@ -0,0 +1,714 @@ > + > + > + > + > + > + Tree - rpms/linux-atm - src.fedoraproject.org > + + href=3D"/theme/static/favicon.ico?version=3D5.13.3"/> > + + type=3D"text/css" rel=3D"stylesheet" /> > + + rel=3D"stylesheet" type=3D"text/css" /> > + + type=3D"text/css" rel=3D"stylesheet" /> > + + type=3D"text/css" rel=3D"stylesheet" /> > + > + > + > + > + > + > + > + > + =20 > + > + > + > + > +
> + > + > +
> +
> +
> +
> +
> +
> +

> +

> +
> +
> +

> +rpms / linux-atm > +

> +
> +
> +
> +
> +
> + > +
> +
> +
> + > + > +
> +
> + > +
> +
> +
> +
> +
> + > +
> +
> +
    > +
  1. > + > + > +   rawhide > + > +
  2. > +
  3. > + > +   linux-atm-2.5.1-disable-zntune.patch > +
  4. > +
> +
> + > +
> +
> +
+ action=3D"/fork_edit/rpms/linux-atm/edit/rawhide/f/lin= ux-atm-2.5.1-disable-zntune.patch"> > + > + =20 > +
> + > + Blob > + > + Blame > + > + History > + > + Raw > +
> + > +
diff=
 --git a/src/maint/Makefile.am b/src/maint/Makefile.am
> +index 059bfdd..5c86dda 100644
> +--- a/src/maint/Makefile.am
> ++++ b/src/maint/Makefile.am
> +@@ -1,5 +1,5 @@
> + BOOTPGMS=3Datmaddr esi
> +-SYSPGMS=3Datmloop atmtcp enitune zntune hediag # nstune
> ++SYSPGMS=3Datmloop atmtcp enitune hediag # nstune
> + USRPGMS=3Datmdiag atmdump sonetdiag saaldump
> +=20
> + INCLUDES=3D-I$(srcdir)/../q2931 -I$(srcdir)/../saal -I.
> +
> +
> +
> + > +
> +
> +
> +
> + > +
> +
> +
> +
> +
Powered by Pagure 5.13.3
> + > +
> +
> +
© Red Hat, Inc. and others.
> +
> +
> +
> +
> + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > \ No newline at end of file > diff --git a/linux-atm/patches/remove-define-hacks.patch b/linux-atm/patche= s/remove-define-hacks.patch > new file mode 100644 > index 000000000..cfac43c03 > --- /dev/null > +++ b/linux-atm/patches/remove-define-hacks.patch > @@ -0,0 +1,22 @@ > +diff -up linux-atm-2.5.1/src/arpd/arp.c.ftbfs linux-atm-2.5.1/src/arpd/arp= .c > +--- linux-atm-2.5.1/src/arpd/arp.c.ftbfs 2007-07-11 11:27:15.000000000 -04= 00 > ++++ linux-atm-2.5.1/src/arpd/arp.c 2019-05-02 20:15:45.497338836 -0400 > +@@ -15,7 +15,6 @@ > + #include > + #include /* for linux/if_arp.h */ > + #include /* for ntohs, etc. */ > +-#define _LINUX_NETDEVICE_H /* very crude hack for glibc2 */ > + #include > + #include > + #include > +diff -up linux-atm-2.5.1/src/arpd/itf.c.ftbfs linux-atm-2.5.1/src/arpd/itf= .c > +--- linux-atm-2.5.1/src/arpd/itf.c.ftbfs 2007-07-11 11:27:15.000000000 -04= 00 > ++++ linux-atm-2.5.1/src/arpd/itf.c 2019-05-02 20:19:08.046499027 -0400 > +@@ -12,7 +12,6 @@ > + #include > + #include > + #include > +-#define _LINUX_NETDEVICE_H /* glibc2 */ > + #include > + #include > +=20 > diff --git a/linux-atm/patches/siocgstamp.patch b/linux-atm/patches/siocgst= amp.patch > new file mode 100644 > index 000000000..dae437ad3 > --- /dev/null > +++ b/linux-atm/patches/siocgstamp.patch > @@ -0,0 +1,22 @@ > +diff -up linux-atm-2.5.1/src/maint/atmdump.c.siocgstamp linux-atm-2.5.1/sr= c/maint/atmdump.c > +--- linux-atm-2.5.1/src/maint/atmdump.c.siocgstamp 2001-10-09 18:33:07.000= 000000 -0400 > ++++ linux-atm-2.5.1/src/maint/atmdump.c 2019-06-17 23:12:50.570085260 -0400 > +@@ -16,6 +16,7 @@ > + #include > + #include /* for htonl and ntohl */ > + #include > ++#include > +=20 > +=20 > + static const char *pti[] =3D { "Data SDU 0","Data SDU 1","Data SDU 0, CE", > +diff -up linux-atm-2.5.1/src/maint/saaldump.c.siocgstamp linux-atm-2.5.1/s= rc/maint/saaldump.c > +--- linux-atm-2.5.1/src/maint/saaldump.c.siocgstamp 2001-10-09 18:33:07.00= 0000000 -0400 > ++++ linux-atm-2.5.1/src/maint/saaldump.c 2019-06-17 23:13:06.620200319 -04= 00 > +@@ -16,6 +16,7 @@ > + #include > + #include > + #include > ++#include > +=20 > + #include "pdu.h" > + #define DUMP_MODE > --=20 > 2.30.2 >=20 --===============6588584573717443715==--