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 D0A8A59CA3 for ; Tue, 15 Mar 2016 02:33:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4FD8421C026; Tue, 15 Mar 2016 02:33:07 +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 8AFC921C001 for ; Tue, 15 Mar 2016 02:33:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 960CD340BA0 for ; Tue, 15 Mar 2016 02:33:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 39C00850 for ; Tue, 15 Mar 2016 02:33:02 +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: <1458009119.dcd2860118fdc2618738bca23c8c0aa65255a4ab.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/files/, sys-libs/gpm/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/gpm/files/gpm-1.20.7-sysmacros.patch sys-libs/gpm/gpm-1.20.7-r2.ebuild X-VCS-Directories: sys-libs/gpm/files/ sys-libs/gpm/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: dcd2860118fdc2618738bca23c8c0aa65255a4ab X-VCS-Branch: master Date: Tue, 15 Mar 2016 02:33:02 +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: a7c1376a-bcce-416c-a09b-6fe80d052a51 X-Archives-Hash: ab29d223b3cd58bbec3a2b58da72b697 commit: dcd2860118fdc2618738bca23c8c0aa65255a4ab Author: Mike Frysinger gentoo org> AuthorDate: Mon Mar 14 19:42:36 2016 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Tue Mar 15 02:31:59 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcd28601 sys-libs/gpm: fix build w/newer glibc sys-libs/gpm/files/gpm-1.20.7-sysmacros.patch | 30 +++++++++++++++++++++++++++ sys-libs/gpm/gpm-1.20.7-r2.ebuild | 1 + 2 files changed, 31 insertions(+) diff --git a/sys-libs/gpm/files/gpm-1.20.7-sysmacros.patch b/sys-libs/gpm/files/gpm-1.20.7-sysmacros.patch new file mode 100644 index 0000000..d8ab2d1 --- /dev/null +++ b/sys-libs/gpm/files/gpm-1.20.7-sysmacros.patch @@ -0,0 +1,30 @@ +From b350aee4ea5785a75cb6ad770f6b768c506ebb70 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger +Date: Mon, 14 Mar 2016 15:39:54 -0400 +Subject: [PATCH] fix building w/newer glibc + +Linux C libraries are looking to disentangle sysmacros.h from the +sys/types.h include, so make sure we pull in the header when it is +found. +--- + src/daemon/open_console.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/daemon/open_console.c b/src/daemon/open_console.c +index 4d6c0af..6dd43e6 100644 +--- a/src/daemon/open_console.c ++++ b/src/daemon/open_console.c +@@ -24,6 +24,10 @@ + #include /* major() */ + #include /* ioctl */ + ++#ifdef HAVE_SYS_SYSMACROS_H ++#include /* major() w/newer glibc */ ++#endif ++ + /* Linux specific (to be outsourced in gpm2 */ + #include /* for serial console check */ + #include /* for serial console check */ +-- +2.6.2 + diff --git a/sys-libs/gpm/gpm-1.20.7-r2.ebuild b/sys-libs/gpm/gpm-1.20.7-r2.ebuild index af8bb4a..8a191dd 100644 --- a/sys-libs/gpm/gpm-1.20.7-r2.ebuild +++ b/sys-libs/gpm/gpm-1.20.7-r2.ebuild @@ -29,6 +29,7 @@ DEPEND=">=sys-libs/ncurses-5.9-r3[${MULTILIB_USEDEP}] virtual/yacc" src_prepare() { + epatch "${FILESDIR}"/${P}-sysmacros.patch # fix ABI values sed -i \ -e '/^abi_lev=/s:=.*:=1:' \