From: Bernard Cafarelli Date: Thu, 16 Feb 2017 14:08:25 +0000 (+0100) Subject: x11-plugins/wmhdplop: fix build with future glibc, bug #604296 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=50a989207816a2f621c575d77a766bcfe7a00405;p=gentoo.git x11-plugins/wmhdplop: fix build with future glibc, bug #604296 Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- diff --git a/x11-plugins/wmhdplop/files/wmhdplop-0.9.10-sysmacros.patch b/x11-plugins/wmhdplop/files/wmhdplop-0.9.10-sysmacros.patch new file mode 100644 index 000000000000..1346cd2e3641 --- /dev/null +++ b/x11-plugins/wmhdplop/files/wmhdplop-0.9.10-sysmacros.patch @@ -0,0 +1,11 @@ +diff -Naur wmhdplop-0.9.10.orig/devnames.c wmhdplop-0.9.10/devnames.c +--- wmhdplop-0.9.10.orig/devnames.c 2016-11-24 15:49:55.000000000 +0100 ++++ wmhdplop-0.9.10/devnames.c 2017-02-16 15:03:08.946447885 +0100 +@@ -4,6 +4,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild b/x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild index bf6be8be3671..1098b41545b2 100644 --- a/x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild +++ b/x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -24,6 +24,7 @@ DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${PN}-0.9.9-64bit.patch "${FILESDIR}"/${P}-cflags.patch + "${FILESDIR}"/${P}-sysmacros.patch ) DOCS=( AUTHORS ChangeLog NEWS README )