[packages/linux-atm] Rel 4
arekm
arekm at pld-linux.org
Mon Mar 9 10:52:45 CET 2026
commit 5cc1df3e070c0fa139ffec923debdf3184838873
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Mar 9 10:52:33 2026 +0100
Rel 4
build.patch | 24 ++++++++++++++++++++++++
linux-atm.spec | 5 ++++-
2 files changed, 28 insertions(+), 1 deletion(-)
---
diff --git a/linux-atm.spec b/linux-atm.spec
index e7fa91f..ff72d56 100644
--- a/linux-atm.spec
+++ b/linux-atm.spec
@@ -7,7 +7,7 @@ Summary: ATM on Linux
Summary(pl.UTF-8): Obsługa sieci ATM w Linuksie
Name: linux-atm
Version: 2.5.2
-Release: 3
+Release: 4
License: GPL v2+ (programs), LGPL v2 (library)
Group: Networking
Source0: http://download.sourceforge.net/linux-atm/%{name}-%{version}.tar.gz
@@ -17,6 +17,7 @@ Source1: %{name}-2.4.0.1-pldrc.tar.gz
Patch0: %{name}-syslog.patch
Patch1: ftp://ftp.cmf.nrl.navy.mil/pub/chas/linux-atm/vbr/vbr-%{name}-diffs
Patch2: %{name}-llh-vbr.patch
+Patch3: build.patch
Patch4: format-security.patch
URL: http://linux-atm.sourceforge.net/
BuildRequires: autoconf
@@ -125,6 +126,7 @@ Firmware dla kart siecowych ATM Fore PCA/SBA 200e.
%patch -P1 -p1
%patch -P2 -p1
%endif
+%patch -P3 -p1
%patch -P4 -p1
%build
@@ -133,6 +135,7 @@ Firmware dla kart siecowych ATM Fore PCA/SBA 200e.
%{__automake}
%{__autoconf}
%configure \
+ CFLAGS="%{rpmcflags} -std=gnu89" \
--sysconfdir=%{_sysconfdir}/atm \
--enable-cisco \
--enable-mpoa_1_1 \
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..aaf200c
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,24 @@
+diff --git a/src/arpd/arp.c b/src/arpd/arp.c
+index 92d3787..466062f 100644
+--- a/src/arpd/arp.c
++++ b/src/arpd/arp.c
+@@ -14,6 +14,7 @@
+ #include <assert.h>
+ #include <sys/types.h>
+ #include <sys/socket.h> /* for linux/if_arp.h */
++#include <net/if.h> /* for IFNAMSIZ */
+ #include <netinet/in.h> /* for ntohs, etc. */
+ #define _LINUX_NETDEVICE_H /* very crude hack for glibc2 */
+ #include <linux/types.h>
+diff --git a/src/arpd/itf.c b/src/arpd/itf.c
+index 92f0951..3e81305 100644
+--- a/src/arpd/itf.c
++++ b/src/arpd/itf.c
+@@ -12,6 +12,7 @@
+ #include <sys/types.h>
+ #include <linux/atmclip.h>
+ #include <sys/socket.h>
++#include <net/if.h> /* for IFNAMSIZ */
+ #define _LINUX_NETDEVICE_H /* glibc2 */
+ #include <linux/types.h>
+ #include <linux/if_arp.h>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/linux-atm.git/commitdiff/5cc1df3e070c0fa139ffec923debdf3184838873
More information about the pld-cvs-commit
mailing list