diff options
author | Mart Raudsepp <leio@gentoo.org> | 2017-10-12 00:48:06 +0300 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2017-10-12 00:51:54 +0300 |
commit | 6f03b7d078f9f8b855ec61c802e5b64edb11f599 (patch) | |
tree | e9d51fdcd059e2ec1d30ed996acfac5d05ad8955 /x11-base | |
parent | sys-devel/gdb: fix build with USE=-nls (diff) | |
download | gentoo-6f03b7d078f9f8b855ec61c802e5b64edb11f599.tar.gz gentoo-6f03b7d078f9f8b855ec61c802e5b64edb11f599.tar.bz2 gentoo-6f03b7d078f9f8b855ec61c802e5b64edb11f599.zip |
x11-base/xorg-server: restore still necessary part of sysmacros patch for 1.19.4
Closes: https://bugs.gentoo.org/633530
Package-Manager: Portage-2.3.8, Repoman-2.3.2
Diffstat (limited to 'x11-base')
-rw-r--r-- | x11-base/xorg-server/files/xorg-server-1.19.4-sysmacros.patch | 36 | ||||
-rw-r--r-- | x11-base/xorg-server/xorg-server-1.19.4.ebuild | 1 |
2 files changed, 37 insertions, 0 deletions
diff --git a/x11-base/xorg-server/files/xorg-server-1.19.4-sysmacros.patch b/x11-base/xorg-server/files/xorg-server-1.19.4-sysmacros.patch new file mode 100644 index 000000000000..8a3cb7692922 --- /dev/null +++ b/x11-base/xorg-server/files/xorg-server-1.19.4-sysmacros.patch @@ -0,0 +1,36 @@ +From 7d097c0c38ab82115a1e56489bfe09f9f01b24de Mon Sep 17 00:00:00 2001 +From: Mart Raudsepp <leio@gentoo.org> +Date: Wed, 11 Oct 2017 16:11:49 +0300 +Subject: [PATCH] config/udev: Add sys/sysmacros.h include for major/minor + functions for new glibc + +Commits d732c36597fa and 84e3b96b5313 added the include to some files, but +missed config/udev.c, where the major and minor functions are used as well. +This should be Linux-only, so we don't need the sys/mkdev.h case here for +Solaris. + +Signed-off-by: Mart Raudsepp <leio@gentoo.org> +--- +https://bugs.gentoo.org/633530 +https://patchwork.freedesktop.org/patch/181800/ + + config/udev.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/config/udev.c b/config/udev.c +index 932f230..b3b8d0f 100644 +--- a/config/udev.c ++++ b/config/udev.c +@@ -30,6 +30,9 @@ + #include <libudev.h> + #include <ctype.h> + #include <unistd.h> ++#ifdef HAVE_SYS_SYSMACROS_H ++#include <sys/sysmacros.h> ++#endif + + #include "input.h" + #include "inputstr.h" +-- +2.10.2 + diff --git a/x11-base/xorg-server/xorg-server-1.19.4.ebuild b/x11-base/xorg-server/xorg-server-1.19.4.ebuild index bf4762405c48..0a04c0610878 100644 --- a/x11-base/xorg-server/xorg-server-1.19.4.ebuild +++ b/x11-base/xorg-server/xorg-server-1.19.4.ebuild @@ -144,6 +144,7 @@ PATCHES=( "${FILESDIR}"/${PN}-1.12-unloadsubmodule.patch # needed for new eselect-opengl, bug #541232 "${FILESDIR}"/${PN}-1.18-support-multiple-Files-sections.patch + "${FILESDIR}"/${P}-sysmacros.patch #633530 ) pkg_pretend() { |