Accepting request 1197481 from network
OBS-URL: https://build.opensuse.org/request/show/1197481 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/inarpd?expand=0&rev=2
This commit is contained in:
commit
24c65bbc34
12
inarpd-fix-gcc14.patch
Normal file
12
inarpd-fix-gcc14.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/inarpd-0.17.c b/inarpd-0.17.c
|
||||
index 7ce7edb..6c14b3c 100644
|
||||
--- a/inarpd-0.17.c
|
||||
+++ b/inarpd-0.17.c
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <asm/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/types.h>
|
||||
+#include <arpa/inet.h>
|
||||
#include <sys/socket.h>
|
||||
#define __const__ /* avoid compiler warnings related to __const__ returns */
|
||||
#include <linux/in.h>
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 25 17:20:59 UTC 2024 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Add patch:
|
||||
* inarpd-fix-gcc14.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 21 10:42:53 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
|
@ -1,7 +1,8 @@
|
||||
#
|
||||
# spec file for package inarpd
|
||||
#
|
||||
# Copyright (c) 2020, Martin Hauke <mardnh@gmx.de>
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2020-2024, Martin Hauke <mardnh@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -28,6 +29,7 @@ Source: https://kernel.org/pub/linux/utils/net/hdlc/%{name}-%{version}.c
|
||||
Source1: https://kernel.org/pub/linux/utils/net/hdlc/%{name}-%{version}.c.sign
|
||||
Source2: inarpd.8
|
||||
Source99: %name.keyring
|
||||
Patch0: inarpd-fix-gcc14.patch
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gzip
|
||||
|
||||
@ -37,6 +39,7 @@ Inverse ARP (InARP) daemon for Linux.
|
||||
%prep
|
||||
%setup -q -c -T
|
||||
gunzip -c %{SOURCE0} > %{name}-%{version}.c
|
||||
%patch -P0 -p1
|
||||
|
||||
%build
|
||||
gcc %{optflags} %{name}-%{version}.c -o %{name}
|
||||
|
Loading…
Reference in New Issue
Block a user