public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] repo/gentoo:master commit in: net-misc/dibbler/, net-misc/dibbler/files/
@ 2020-01-29 18:28 99% Bernard Cafarelli
  0 siblings, 0 replies; 1+ results
From: Bernard Cafarelli @ 2020-01-29 18:28 UTC (permalink / raw
  To: gentoo-commits

commit:     bc9b86c732208adfb737b9431a2bb02289f44f1f
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 29 18:26:47 2020 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Wed Jan 29 18:27:00 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc9b86c7

net-misc/dibbler: fix build with -fno-common

Thanks jer for patch

Closes: https://bugs.gentoo.org/706806
Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 net-misc/dibbler/dibbler-1.0.1.ebuild              |  3 ++-
 .../dibbler/files/dibbler-1.0.1-fno-common.patch   | 25 ++++++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/net-misc/dibbler/dibbler-1.0.1.ebuild b/net-misc/dibbler/dibbler-1.0.1.ebuild
index 6e7824899da..e4bbf048284 100644
--- a/net-misc/dibbler/dibbler-1.0.1.ebuild
+++ b/net-misc/dibbler/dibbler-1.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -23,6 +23,7 @@ DOC_CONTENTS="Make sure that you modify client.conf, server.conf and/or relay.co
 to suit your needs. They are stored in /etc/dibbler"
 
 src_prepare() {
+	epatch "${FILESDIR}"/${P}-fno-common.patch
 	epatch_user
 }
 

diff --git a/net-misc/dibbler/files/dibbler-1.0.1-fno-common.patch b/net-misc/dibbler/files/dibbler-1.0.1-fno-common.patch
new file mode 100644
index 00000000000..d08b6bbd212
--- /dev/null
+++ b/net-misc/dibbler/files/dibbler-1.0.1-fno-common.patch
@@ -0,0 +1,25 @@
+--- a/Port-linux/interface.c
++++ b/Port-linux/interface.c
+@@ -43,6 +43,9 @@
+ #include <linux/sockios.h>
+ #include <linux/if_ether.h>
+ 
++int interface_auto_up;
++int interface_do_message;
++
+ void daemon_log(int loglevel, const char *fmt,...)
+ {
+     char buf[255];
+--- a/Port-linux/interface.h
++++ b/Port-linux/interface.h
+@@ -23,8 +23,8 @@
+ extern "C" {
+ #endif
+ 
+-int interface_auto_up;
+-int interface_do_message;
++extern int interface_auto_up;
++extern int interface_do_message;
+ 
+ typedef enum { IFSTATUS_UP, IFSTATUS_DOWN, IFSTATUS_ERR } interface_status_t;
+ 


^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-01-29 18:28 99% [gentoo-commits] repo/gentoo:master commit in: net-misc/dibbler/, net-misc/dibbler/files/ Bernard Cafarelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox