summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-05-03 22:14:32 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-05-03 22:20:48 +0200
commit9c5cef11f89018c18d3f78657864434f3f232744 (patch)
tree6780c2d9e9cfae1ba79b084cb7b84c7a263e5c00 /sys-apps/ifplugd
parentdev-python/gst-python: bump to 1.16.2, add py3.8 support (diff)
downloadgentoo-9c5cef11f89018c18d3f78657864434f3f232744.tar.gz
gentoo-9c5cef11f89018c18d3f78657864434f3f232744.tar.bz2
gentoo-9c5cef11f89018c18d3f78657864434f3f232744.zip
sys-apps/ifplugd: rev bump
- Bump to EAPI 7 - Fix building against GCC 10 Thanks-to: Jeroen Roovers <jer@gentoo.org> Closes: https://bugs.gentoo.org/706746 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'sys-apps/ifplugd')
-rw-r--r--sys-apps/ifplugd/files/ifplugd-0.28-gcc10-compatibility.patch13
-rw-r--r--sys-apps/ifplugd/ifplugd-0.28-r11.ebuild (renamed from sys-apps/ifplugd/ifplugd-0.28-r10.ebuild)8
2 files changed, 18 insertions, 3 deletions
diff --git a/sys-apps/ifplugd/files/ifplugd-0.28-gcc10-compatibility.patch b/sys-apps/ifplugd/files/ifplugd-0.28-gcc10-compatibility.patch
new file mode 100644
index 000000000000..c87419e5a545
--- /dev/null
+++ b/sys-apps/ifplugd/files/ifplugd-0.28-gcc10-compatibility.patch
@@ -0,0 +1,13 @@
+--- a/./src/interface.h
++++ b/./src/interface.h
+@@ -21,8 +21,8 @@
+ * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+
+-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;
+
diff --git a/sys-apps/ifplugd/ifplugd-0.28-r10.ebuild b/sys-apps/ifplugd/ifplugd-0.28-r11.ebuild
index 9854033e3258..560ccc4ef8f4 100644
--- a/sys-apps/ifplugd/ifplugd-0.28-r10.ebuild
+++ b/sys-apps/ifplugd/ifplugd-0.28-r11.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI="7"
DESCRIPTION="Brings up/down ethernet ports automatically with cable detection"
HOMEPAGE="http://0pointer.de/lennart/projects/ifplugd/"
@@ -25,7 +25,9 @@ PATCHES=(
"${FILESDIR}/${P}-strictalias.patch"
"${FILESDIR}/${P}-noip.patch"
"${FILESDIR}/${P}-musl.patch"
- )
+ "${FILESDIR}/${P}-gcc10-compatibility.patch"
+)
+
DOCS=( doc/README doc/SUPPORTED_DRIVERS )
HTML_DOCS=( doc/README.html doc/style.css )