From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] linux-atm: Update to 2.5.2 Date: Tue, 21 Feb 2023 14:21:59 +0100 Message-ID: <20230221132159.762733-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4508125300026584114==" List-Id: --===============4508125300026584114== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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-gcc= 7.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 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.patch= 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 +0000 ++++ 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-a= tm/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 + + + + + + + + + + + + + + =20 + + + + +
+ + +
+
+
+
+
+
+

+

+
+
+

+rpms / linux-atm +

+
+
+
+
+
+
+ + + Clone + +
+
+
+
Source Code
+ +
+
+
GIT
+ +
+
+
+
+
+ +
+
+
+
+ + +
+
+ +
+
+
+
+
+ +
+
+
    +
  1. + + +   rawhide + +
  2. +
  3. + +   linux-atm-2.5.1-disable-zntune.patch +
  4. +
+
+ +
+
+
+ + =20 +
+ + Blob + + Blame + + History + + R= aw +
+ +
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/patches/= 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 -0400 ++++ 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 -0400 ++++ 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/siocgstam= p.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/src/= maint/atmdump.c +--- linux-atm-2.5.1/src/maint/atmdump.c.siocgstamp 2001-10-09 18:33:07.00000= 0000 -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/src= /maint/saaldump.c +--- linux-atm-2.5.1/src/maint/saaldump.c.siocgstamp 2001-10-09 18:33:07.0000= 00000 -0400 ++++ linux-atm-2.5.1/src/maint/saaldump.c 2019-06-17 23:13:06.620200319 -0400 +@@ -16,6 +16,7 @@ + #include + #include + #include ++#include +=20 + #include "pdu.h" + #define DUMP_MODE --=20 2.30.2 --===============4508125300026584114==--