commit:     50a989207816a2f621c575d77a766bcfe7a00405
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 16 14:08:25 2017 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Thu Feb 16 14:08:25 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50a98920

x11-plugins/wmhdplop: fix build with future glibc, bug #604296

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 x11-plugins/wmhdplop/files/wmhdplop-0.9.10-sysmacros.patch | 11 +++++++++++
 x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild                |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)

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 0000000000..1346cd2e36
--- /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 <string.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include <unistd.h>
+ #include <linux/major.h>
+ #include <ctype.h>

diff --git a/x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild 
b/x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild
index bf6be8be36..1098b41545 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 )
 

Reply via email to