Accepting request 435744 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/435744 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/linux-atm?expand=0&rev=26
This commit is contained in:
commit
3587791088
12
linux-atm-2.5.2-fix-header-conflict.patch
Normal file
12
linux-atm-2.5.2-fix-header-conflict.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Index: linux-atm-2.5.2/src/maint/zntune.c
|
||||||
|
===================================================================
|
||||||
|
--- linux-atm-2.5.2.orig/src/maint/zntune.c
|
||||||
|
+++ linux-atm-2.5.2/src/maint/zntune.c
|
||||||
|
@@ -14,6 +14,7 @@
|
||||||
|
#include <sys/ioctl.h>
|
||||||
|
#include <atm.h>
|
||||||
|
#include <sys/time.h> /* for struct timeval, although it's not used */
|
||||||
|
+#define _LINUX_TIME_H /* block linux/time.h from being included */
|
||||||
|
#include <linux/atm_zatm.h>
|
||||||
|
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 17 09:36:39 UTC 2016 - schwab@suse.de
|
||||||
|
|
||||||
|
- linux-atm-2.5.2-fix-header-conflict.patch: avoid conflict with kernel
|
||||||
|
headers
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 23 21:59:12 UTC 2014 - aj@ajaissle.de
|
Thu Jan 23 21:59:12 UTC 2014 - aj@ajaissle.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package linux-atm
|
# spec file for package linux-atm
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -30,6 +30,8 @@ Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{versi
|
|||||||
Patch0: linux-atm-2.5.2_fdleak.patch
|
Patch0: linux-atm-2.5.2_fdleak.patch
|
||||||
# PATCH-FIX-UPSTREAM linux-atm-2.5.2_implicit-fortify-decl.patch -- fix implicit declarations
|
# PATCH-FIX-UPSTREAM linux-atm-2.5.2_implicit-fortify-decl.patch -- fix implicit declarations
|
||||||
Patch1: linux-atm-2.5.2_implicit-fortify-decl.patch
|
Patch1: linux-atm-2.5.2_implicit-fortify-decl.patch
|
||||||
|
# PATCH-FIX-UPSTREAM linux-atm-2.5.2-fix-header-conflict.patch -- avoid conflict with kernel headers
|
||||||
|
Patch2: linux-atm-2.5.2-fix-header-conflict.patch
|
||||||
|
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
@ -63,6 +65,7 @@ networking.
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
|
Loading…
Reference in New Issue
Block a user