From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7712A139085 for ; Wed, 28 Dec 2016 01:35:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9A716E0C6F; Wed, 28 Dec 2016 01:35:13 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 65EB6E0C6F for ; Wed, 28 Dec 2016 01:35:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E6A1434112A for ; Wed, 28 Dec 2016 01:35:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E976624C5 for ; Wed, 28 Dec 2016 01:35:09 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1482888830.f72578ff6ad21268181d6d860a276850a81393b1.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-base/xorg-server/, x11-base/xorg-server/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-base/xorg-server/files/xorg-server-1.18-sysmacros.patch x11-base/xorg-server/xorg-server-1.18.4.ebuild x11-base/xorg-server/xorg-server-1.19.0.ebuild X-VCS-Directories: x11-base/xorg-server/ x11-base/xorg-server/files/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: f72578ff6ad21268181d6d860a276850a81393b1 X-VCS-Branch: master Date: Wed, 28 Dec 2016 01:35:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 99c117de-fcaa-46e3-97ea-aa0423743928 X-Archives-Hash: e4e74ee6bcaf10c0d4cbb7e4597e9a34 commit: f72578ff6ad21268181d6d860a276850a81393b1 Author: Mike Frysinger gentoo org> AuthorDate: Wed Dec 28 01:33:50 2016 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Wed Dec 28 01:33:50 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f72578ff x11-base/xorg-server: fix build w/newer glibc #580044 .../files/xorg-server-1.18-sysmacros.patch | 59 ++++++++++++++++++++++ x11-base/xorg-server/xorg-server-1.18.4.ebuild | 1 + x11-base/xorg-server/xorg-server-1.19.0.ebuild | 1 + 3 files changed, 61 insertions(+) diff --git a/x11-base/xorg-server/files/xorg-server-1.18-sysmacros.patch b/x11-base/xorg-server/files/xorg-server-1.18-sysmacros.patch new file mode 100644 index 00000000..5a3dea3 --- /dev/null +++ b/x11-base/xorg-server/files/xorg-server-1.18-sysmacros.patch @@ -0,0 +1,59 @@ +From 1df7e4f5c1090631ff6584176f7d1370d08bc15e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Sat, 16 Apr 2016 13:04:59 +0200 +Subject: [PATCH] Include sys/sysmacros.h for major(3) +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +GNU major(3) manual page prescribes , but that does not work with +sys-libs/glibc-2.23-r1. + +https://bugs.gentoo.org/show_bug.cgi?id=580044 +Signed-off-by: Petr Písař +--- + config/udev.c | 1 + + hw/xfree86/common/xf86Xinput.c | 2 ++ + hw/xfree86/os-support/linux/lnx_init.c | 1 + + 3 files changed, 4 insertions(+) + +diff --git a/config/udev.c b/config/udev.c +index 28c2658..62908f4 100644 +--- a/config/udev.c ++++ b/config/udev.c +@@ -30,6 +30,7 @@ + #include + #include + #include ++#include + + #include "input.h" + #include "inputstr.h" +diff --git a/hw/xfree86/common/xf86Xinput.c b/hw/xfree86/common/xf86Xinput.c +index c56a2b9..d33c165 100644 +--- a/hw/xfree86/common/xf86Xinput.c ++++ b/hw/xfree86/common/xf86Xinput.c +@@ -86,6 +86,8 @@ + #include + #ifdef HAVE_SYS_MKDEV_H + #include /* for major() & minor() on Solaris */ ++#else ++#include + #endif + + #include "mi.h" +diff --git a/hw/xfree86/os-support/linux/lnx_init.c b/hw/xfree86/os-support/linux/lnx_init.c +index 1ed213c..6caf531 100644 +--- a/hw/xfree86/os-support/linux/lnx_init.c ++++ b/hw/xfree86/os-support/linux/lnx_init.c +@@ -38,6 +38,7 @@ + #include "xf86_OSlib.h" + + #include ++#include + + #ifndef K_OFF + #define K_OFF 0x4 +-- +2.8.1 + diff --git a/x11-base/xorg-server/xorg-server-1.18.4.ebuild b/x11-base/xorg-server/xorg-server-1.18.4.ebuild index 2c6bbb1..35971b9 100644 --- a/x11-base/xorg-server/xorg-server-1.18.4.ebuild +++ b/x11-base/xorg-server/xorg-server-1.18.4.ebuild @@ -145,6 +145,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}"/${PN}-1.18-sysmacros.patch #580044 ) pkg_pretend() { diff --git a/x11-base/xorg-server/xorg-server-1.19.0.ebuild b/x11-base/xorg-server/xorg-server-1.19.0.ebuild index 41d4b14..ad88bd3 100644 --- a/x11-base/xorg-server/xorg-server-1.19.0.ebuild +++ b/x11-base/xorg-server/xorg-server-1.19.0.ebuild @@ -145,6 +145,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}"/${PN}-1.18-sysmacros.patch #580044 ) pkg_pretend() {