Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmhdplop/files/, x11-plugins/wmhdplop/
Date: Thu, 16 Feb 2017 14:08:44
Message-Id: 1487254105.50a989207816a2f621c575d77a766bcfe7a00405.voyageur@gentoo
1 commit: 50a989207816a2f621c575d77a766bcfe7a00405
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 16 14:08:25 2017 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 16 14:08:25 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50a98920
7
8 x11-plugins/wmhdplop: fix build with future glibc, bug #604296
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 x11-plugins/wmhdplop/files/wmhdplop-0.9.10-sysmacros.patch | 11 +++++++++++
13 x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild | 3 ++-
14 2 files changed, 13 insertions(+), 1 deletion(-)
15
16 diff --git a/x11-plugins/wmhdplop/files/wmhdplop-0.9.10-sysmacros.patch b/x11-plugins/wmhdplop/files/wmhdplop-0.9.10-sysmacros.patch
17 new file mode 100644
18 index 0000000000..1346cd2e36
19 --- /dev/null
20 +++ b/x11-plugins/wmhdplop/files/wmhdplop-0.9.10-sysmacros.patch
21 @@ -0,0 +1,11 @@
22 +diff -Naur wmhdplop-0.9.10.orig/devnames.c wmhdplop-0.9.10/devnames.c
23 +--- wmhdplop-0.9.10.orig/devnames.c 2016-11-24 15:49:55.000000000 +0100
24 ++++ wmhdplop-0.9.10/devnames.c 2017-02-16 15:03:08.946447885 +0100
25 +@@ -4,6 +4,7 @@
26 + #include <string.h>
27 + #include <sys/types.h>
28 + #include <sys/stat.h>
29 ++#include <sys/sysmacros.h>
30 + #include <unistd.h>
31 + #include <linux/major.h>
32 + #include <ctype.h>
33
34 diff --git a/x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild b/x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild
35 index bf6be8be36..1098b41545 100644
36 --- a/x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild
37 +++ b/x11-plugins/wmhdplop/wmhdplop-0.9.10.ebuild
38 @@ -1,4 +1,4 @@
39 -# Copyright 1999-2016 Gentoo Foundation
40 +# Copyright 1999-2017 Gentoo Foundation
41 # Distributed under the terms of the GNU General Public License v2
42 # $Id$
43
44 @@ -24,6 +24,7 @@ DEPEND="${RDEPEND}"
45 PATCHES=(
46 "${FILESDIR}"/${PN}-0.9.9-64bit.patch
47 "${FILESDIR}"/${P}-cflags.patch
48 + "${FILESDIR}"/${P}-sysmacros.patch
49 )
50 DOCS=( AUTHORS ChangeLog NEWS README )