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 75E89138252 for ; Mon, 9 May 2016 19:11:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ACDEAE07E6; Mon, 9 May 2016 19:11:56 +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 2FABDE07E6 for ; Mon, 9 May 2016 19:11: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 E7148340C41 for ; Mon, 9 May 2016 19:11:54 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DE999331 for ; Mon, 9 May 2016 19:11:52 +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: <1462821101.c2cf742e78552ea27ee8a22fff25063ec26fa852.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gpsd/, sci-geosciences/gpsd/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-geosciences/gpsd/files/gpsd-3.16-sysmacros.patch sci-geosciences/gpsd/gpsd-3.15.ebuild sci-geosciences/gpsd/gpsd-3.16.ebuild X-VCS-Directories: sci-geosciences/gpsd/ sci-geosciences/gpsd/files/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: c2cf742e78552ea27ee8a22fff25063ec26fa852 X-VCS-Branch: master Date: Mon, 9 May 2016 19:11:52 +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: 9bc91f8f-cbe3-435c-91ef-0d5611ab5f44 X-Archives-Hash: 5f67485d55ccb827a8f25be85271739d commit: c2cf742e78552ea27ee8a22fff25063ec26fa852 Author: Mike Frysinger gentoo org> AuthorDate: Mon May 9 18:46:44 2016 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Mon May 9 19:11:41 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2cf742e sci-geosciences/gpsd: fix build w/newer glibc #581740 .../gpsd/files/gpsd-3.16-sysmacros.patch | 31 ++++++++++++++++++++++ sci-geosciences/gpsd/gpsd-3.15.ebuild | 1 + sci-geosciences/gpsd/gpsd-3.16.ebuild | 1 + 3 files changed, 33 insertions(+) diff --git a/sci-geosciences/gpsd/files/gpsd-3.16-sysmacros.patch b/sci-geosciences/gpsd/files/gpsd-3.16-sysmacros.patch new file mode 100644 index 0000000..d9863c9 --- /dev/null +++ b/sci-geosciences/gpsd/files/gpsd-3.16-sysmacros.patch @@ -0,0 +1,31 @@ +https://bugs.gentoo.org/581740 + +From 87027243d101cfa7e01d9b697f890ea7b247449b Mon Sep 17 00:00:00 2001 +From: Mike Frysinger +Date: Mon, 9 May 2016 14:33:06 -0400 +Subject: [PATCH] include sys/sysmacros.h for major + +These functions are not part of any official spec, and Linux C libs have +always kept them in sys/sysmacros.h. Include the header directly to fix +builds w/alternative C libs, and to work with future glibc versions. +--- + serial.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/serial.c b/serial.c +index d8bdd8c..b748cab 100644 +--- a/serial.c ++++ b/serial.c +@@ -14,6 +14,9 @@ + #include + #include + #include /* defines BSD */ ++#ifdef __linux__ ++#include ++#endif + + #include "gpsd_config.h" + #ifdef ENABLE_BLUEZ +-- +2.7.4 + diff --git a/sci-geosciences/gpsd/gpsd-3.15.ebuild b/sci-geosciences/gpsd/gpsd-3.15.ebuild index 3505460..e6f3172 100644 --- a/sci-geosciences/gpsd/gpsd-3.15.ebuild +++ b/sci-geosciences/gpsd/gpsd-3.15.ebuild @@ -73,6 +73,7 @@ src_prepare() { epatch "${FILESDIR}"/${PN}-3.15-dynamic-libs.patch epatch "${FILESDIR}"/${PN}-3.15-libgpsd.patch epatch "${FILESDIR}"/${PN}-3.15-broken-install.patch + epatch "${FILESDIR}"/${PN}-3.16-sysmacros.patch #581740 # Avoid useless -L paths to the install dir sed -i \ diff --git a/sci-geosciences/gpsd/gpsd-3.16.ebuild b/sci-geosciences/gpsd/gpsd-3.16.ebuild index 4602b53..5928f17 100644 --- a/sci-geosciences/gpsd/gpsd-3.16.ebuild +++ b/sci-geosciences/gpsd/gpsd-3.16.ebuild @@ -73,6 +73,7 @@ src_prepare() { epatch "${FILESDIR}"/${PN}-3.15-dynamic-libs.patch epatch "${FILESDIR}"/${PN}-3.15-libgpsd.patch epatch "${FILESDIR}"/${PN}-3.15-broken-install.patch + epatch "${FILESDIR}"/${PN}-3.16-sysmacros.patch #581740 # Avoid useless -L paths to the install dir sed -i \