From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9A99D59CB4 for ; Wed, 20 Apr 2016 03:18:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 963C821C067; Wed, 20 Apr 2016 03:17:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 06EAB21C067 for ; Wed, 20 Apr 2016 03:17:56 +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 B5E21340806 for ; Wed, 20 Apr 2016 03:17:55 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B633523E for ; Wed, 20 Apr 2016 03:17:53 +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: <1461122194.06022126809462809479739c0a86e2139b4f8410.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/udev/, sys-fs/udev/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/udev/files/udev-229-sysmacros.patch sys-fs/udev/udev-229-r2.ebuild X-VCS-Directories: sys-fs/udev/ sys-fs/udev/files/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 06022126809462809479739c0a86e2139b4f8410 X-VCS-Branch: master Date: Wed, 20 Apr 2016 03:17:53 +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: 2f638736-de18-4181-8e5b-dbf079d68b5d X-Archives-Hash: bd6f7659e64287f3de6f7c1323dcb090 commit: 06022126809462809479739c0a86e2139b4f8410 Author: Mike Frysinger gentoo org> AuthorDate: Wed Apr 20 03:16:34 2016 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Wed Apr 20 03:16:34 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06022126 sys-fs/udev: add upstream fix for building w/glibc #580200 sys-fs/udev/files/udev-229-sysmacros.patch | 82 ++++++++++++++++++++++++++++++ sys-fs/udev/udev-229-r2.ebuild | 1 + 2 files changed, 83 insertions(+) diff --git a/sys-fs/udev/files/udev-229-sysmacros.patch b/sys-fs/udev/files/udev-229-sysmacros.patch new file mode 100644 index 0000000..d72eb59 --- /dev/null +++ b/sys-fs/udev/files/udev-229-sysmacros.patch @@ -0,0 +1,82 @@ +https://bugs.gentoo.org/580200 +https://github.com/systemd/systemd/commit/27d13af71c3af6b2f9b60556d2c046dbb6e36e23 + +From 27d13af71c3af6b2f9b60556d2c046dbb6e36e23 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger +Date: Mon, 14 Mar 2016 17:44:49 -0400 +Subject: [PATCH] include sys/sysmacros.h in more places + +Since glibc is moving away from implicitly including sys/sysmacros.h +all the time via sys/types.h, include the header directly in more +places. This seems to cover most makedev/major/minor usage. +--- + src/basic/macro.h | 1 + + src/basic/util.h | 1 + + src/libudev/libudev.h | 1 + + src/systemd/sd-device.h | 1 + + src/udev/udev.h | 1 + + 5 files changed, 5 insertions(+) + +diff --git a/src/basic/macro.h b/src/basic/macro.h +index c34441d..b36a956 100644 +--- a/src/basic/macro.h ++++ b/src/basic/macro.h +@@ -23,6 +23,7 @@ + #include + #include + #include ++#include + #include + + #define _printf_(a,b) __attribute__ ((format (printf, a, b))) +diff --git a/src/basic/util.h b/src/basic/util.h +index e095254..286db05 100644 +--- a/src/basic/util.h ++++ b/src/basic/util.h +@@ -36,6 +36,7 @@ + #include + #include + #include ++#include + #include + #include + #include +diff --git a/src/libudev/libudev.h b/src/libudev/libudev.h +index eb58740..3f6d0ed 100644 +--- a/src/libudev/libudev.h ++++ b/src/libudev/libudev.h +@@ -21,6 +21,7 @@ + #define _LIBUDEV_H_ + + #include ++#include + #include + + #ifdef __cplusplus +diff --git a/src/systemd/sd-device.h b/src/systemd/sd-device.h +index 5bfca6e..c1d0756 100644 +--- a/src/systemd/sd-device.h ++++ b/src/systemd/sd-device.h +@@ -22,6 +22,7 @@ + ***/ + + #include ++#include + #include + + #include "_sd-common.h" +diff --git a/src/udev/udev.h b/src/udev/udev.h +index 5659051..8433e8d 100644 +--- a/src/udev/udev.h ++++ b/src/udev/udev.h +@@ -19,6 +19,7 @@ + */ + + #include ++#include + #include + + #include "libudev.h" +-- +2.7.4 + diff --git a/sys-fs/udev/udev-229-r2.ebuild b/sys-fs/udev/udev-229-r2.ebuild index a228a72..9599178 100644 --- a/sys-fs/udev/udev-229-r2.ebuild +++ b/sys-fs/udev/udev-229-r2.ebuild @@ -114,6 +114,7 @@ src_prepare() { if [[ -n "${patchset}" ]]; then EPATCH_SUFFIX=patch EPATCH_FORCE=yes epatch fi + epatch "${FILESDIR}"/${PN}-229-sysmacros.patch #580200 cat <<-EOF > "${T}"/40-gentoo.rules # Gentoo specific floppy and usb groups