From 4bc7e97a916caa11fc7454935225c3e098bd5708747e957671a26140385ab255 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 23 Mar 2007 21:25:49 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/linux-atm?expand=0&rev=2 --- linux-atm-2.5.0-include.patch | 110 ++++++++++++++++++++++++++++++++++ linux-atm.changes | 5 ++ linux-atm.spec | 13 ++-- 3 files changed, 124 insertions(+), 4 deletions(-) create mode 100644 linux-atm-2.5.0-include.patch diff --git a/linux-atm-2.5.0-include.patch b/linux-atm-2.5.0-include.patch new file mode 100644 index 0000000..672690a --- /dev/null +++ b/linux-atm-2.5.0-include.patch @@ -0,0 +1,110 @@ +diff -Naur linux-atm-2.5.0.org/src/arpd/arp.c linux-atm-2.5.0/src/arpd/arp.c +--- linux-atm-2.5.0.org/src/arpd/arp.c 2007-03-23 11:53:22.313563000 +0100 ++++ linux-atm-2.5.0/src/arpd/arp.c 2007-03-23 12:01:36.903688000 +0100 +@@ -16,6 +16,7 @@ + #include /* for linux/if_arp.h */ + #include /* for ntohs, etc. */ + #define _LINUX_NETDEVICE_H /* very crude hack for glibc2 */ ++#include + #include + #include + #include +diff -Naur linux-atm-2.5.0.org/src/arpd/atmarp.c linux-atm-2.5.0/src/arpd/atmarp.c +--- linux-atm-2.5.0.org/src/arpd/atmarp.c 2007-03-23 11:53:22.387482000 +0100 ++++ linux-atm-2.5.0/src/arpd/atmarp.c 2007-03-23 11:55:58.542174000 +0100 +@@ -19,6 +19,7 @@ + #include + + #include ++#include + #include + #include + +diff -Naur linux-atm-2.5.0.org/src/arpd/io.c linux-atm-2.5.0/src/arpd/io.c +--- linux-atm-2.5.0.org/src/arpd/io.c 2007-03-23 11:53:22.303568000 +0100 ++++ linux-atm-2.5.0/src/arpd/io.c 2007-03-23 12:18:22.325264000 +0100 +@@ -19,6 +19,7 @@ + #include + #include + #include ++#include + #include /* for CLIP_DEFAULT_IDLETIMER */ + #include + #define _LINUX_NETDEVICE_H /* glibc2 */ +diff -Naur linux-atm-2.5.0.org/src/arpd/itf.c linux-atm-2.5.0/src/arpd/itf.c +--- linux-atm-2.5.0.org/src/arpd/itf.c 2007-03-23 11:53:22.344524000 +0100 ++++ linux-atm-2.5.0/src/arpd/itf.c 2007-03-23 12:20:21.795673000 +0100 +@@ -10,6 +10,7 @@ + #include + #include + #include ++#include + #include + #include + #define _LINUX_NETDEVICE_H /* glibc2 */ +diff -Naur linux-atm-2.5.0.org/src/mpoad/io.c linux-atm-2.5.0/src/mpoad/io.c +--- linux-atm-2.5.0.org/src/mpoad/io.c 2007-03-23 11:53:24.383484000 +0100 ++++ linux-atm-2.5.0/src/mpoad/io.c 2007-03-23 12:23:01.121187000 +0100 +@@ -19,6 +19,7 @@ + _syscall3(int,poll,struct pollfd *,ufds,unsigned int,nfds,int,timeout); + #endif + #include ++#include + #include + #include + #include +diff -Naur linux-atm-2.5.0.org/src/mpoad/k_interf.c linux-atm-2.5.0/src/mpoad/k_interf.c +--- linux-atm-2.5.0.org/src/mpoad/k_interf.c 2007-03-23 11:53:24.398469000 +0100 ++++ linux-atm-2.5.0/src/mpoad/k_interf.c 2007-03-23 12:25:43.438710000 +0100 +@@ -10,6 +10,7 @@ + #include /* for OPEN_MAX */ + #include + #include /* for ntohl() */ ++#include + #include + #include + #include "k_interf.h" +diff -Naur linux-atm-2.5.0.org/src/mpoad/lecs.c linux-atm-2.5.0/src/mpoad/lecs.c +--- linux-atm-2.5.0.org/src/mpoad/lecs.c 2007-03-23 11:53:24.409458000 +0100 ++++ linux-atm-2.5.0/src/mpoad/lecs.c 2007-03-23 12:36:28.007491000 +0100 +@@ -11,6 +11,7 @@ + #include + #include + #include ++#include + #include /* for MPOA Device type TLV */ + #include "lecs.h" + #include "k_interf.h" +diff -Naur linux-atm-2.5.0.org/src/mpoad/main.c linux-atm-2.5.0/src/mpoad/main.c +--- linux-atm-2.5.0.org/src/mpoad/main.c 2007-03-23 11:53:24.416451000 +0100 ++++ linux-atm-2.5.0/src/mpoad/main.c 2007-03-23 12:28:05.961046000 +0100 +@@ -9,6 +9,7 @@ + #include + #include + #include ++#include + #include + #include + #include +diff -Naur linux-atm-2.5.0.org/src/mpoad/p_factory.c linux-atm-2.5.0/src/mpoad/p_factory.c +--- linux-atm-2.5.0.org/src/mpoad/p_factory.c 2007-03-23 11:53:24.455415000 +0100 ++++ linux-atm-2.5.0/src/mpoad/p_factory.c 2007-03-23 12:29:56.340551000 +0100 +@@ -5,6 +5,7 @@ + #include + #include + #include ++#include + #include + #include + #include +diff -Naur linux-atm-2.5.0.org/src/mpoad/p_recogn.c linux-atm-2.5.0/src/mpoad/p_recogn.c +--- linux-atm-2.5.0.org/src/mpoad/p_recogn.c 2007-03-23 11:53:24.459410000 +0100 ++++ linux-atm-2.5.0/src/mpoad/p_recogn.c 2007-03-23 12:32:09.135623000 +0100 +@@ -7,6 +7,7 @@ + #include + #include + #include ++#include + #include + #include + #include /* For UINT_MAX */ diff --git a/linux-atm.changes b/linux-atm.changes index 5daa91e..a352411 100644 --- a/linux-atm.changes +++ b/linux-atm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 23 12:44:27 CET 2007 - ssommer@suse.de + +- fix build with newer kernel headers + ------------------------------------------------------------------- Sat May 27 23:01:13 CEST 2006 - schwab@suse.de diff --git a/linux-atm.spec b/linux-atm.spec index 917749e..1e75918 100644 --- a/linux-atm.spec +++ b/linux-atm.spec @@ -1,7 +1,7 @@ # # spec file for package linux-atm (Version 2.5.0) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -11,14 +11,16 @@ # norootforbuild Name: linux-atm +BuildRequires: glibc-devel URL: http://sourceforge.net/projects/linux-atm/ -License: BSD, GPL +License: BSD License and BSD-like, GNU General Public License (GPL) Group: Productivity/Networking/Other Summary: Tools for ATM Version: 2.5.0 -Release: 14 +Release: 41 Source0: linux-atm-%{version}.tar.bz2 Patch0: linux-atm-%{version}.diff +Patch1: linux-atm-2.5.0-include.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -67,6 +69,7 @@ Authors: %prep %setup -q -n linux-atm-%{version} %patch0 +%patch1 -p1 %build %{?suse_update_config} @@ -106,7 +109,9 @@ rm -rf %{buildroot} %{_libdir}/*.la %{_includedir}/* -%changelog -n linux-atm +%changelog +* Fri Mar 23 2007 - ssommer@suse.de +- fix build with newer kernel headers * Sat May 27 2006 - schwab@suse.de - Don't strip binaries. * Wed Jan 25 2006 - mls@suse.de