summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2017-02-16 15:08:25 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2017-02-16 15:08:25 +0100
commit50a989207816a2f621c575d77a766bcfe7a00405 (patch)
tree39d70145e283111255262015c28cfaa34bddb118 /x11-plugins
parentdev-ml/extlib: amd64 stable wrt bug #586910 (diff)
downloadgentoo-50a989207816a2f621c575d77a766bcfe7a00405.tar.gz
gentoo-50a989207816a2f621c575d77a766bcfe7a00405.tar.bz2
gentoo-50a989207816a2f621c575d77a766bcfe7a00405.zip
x11-plugins/wmhdplop: fix build with future glibc, bug #604296
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/wmhdplop/files/wmhdplop-0.9.10-sysmacros.patch11
-rw-r--r--x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild3
2 files changed, 13 insertions, 1 deletions
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 <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 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 )