public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/atlas/
Date: Mon, 17 Apr 2017 07:17:08 +0000 (UTC)	[thread overview]
Message-ID: <1492413417.8654aff319226a42ca2d112c42009abdcd0fb2f0.soap@gentoo> (raw)

commit:     8654aff319226a42ca2d112c42009abdcd0fb2f0
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 17 07:16:05 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Apr 17 07:16:57 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8654aff3

games-util/atlas: Fix -Wnarrowing failures for GCC 6

Bug: https://bugs.gentoo.org/show_bug.cgi?id=612986
Package-Manager: Portage-2.3.5, Repoman-2.3.2

 .../atlas/atlas-0.5.1_beta_pre20160907.ebuild      | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/games-util/atlas/atlas-0.5.1_beta_pre20160907.ebuild b/games-util/atlas/atlas-0.5.1_beta_pre20160907.ebuild
index 4599d1f6bcb..9b36eace1d2 100644
--- a/games-util/atlas/atlas-0.5.1_beta_pre20160907.ebuild
+++ b/games-util/atlas/atlas-0.5.1_beta_pre20160907.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit autotools eutils
+inherit autotools
 
 MY_PN=atlas-hgcode
 MY_PV=e183e3b3a0412b504edcb3664445b3e04fd484a2
@@ -20,12 +20,12 @@ IUSE=""
 
 COMMON_DEPEND="
 	media-libs/freeglut
-	media-libs/glew:0
-	>=media-libs/libpng-1.5:0
+	media-libs/glew:0=
+	media-libs/libpng:0=
 	net-misc/curl
 	sys-libs/zlib
 	virtual/glu
-	virtual/jpeg:*
+	virtual/jpeg:0
 	virtual/opengl
 "
 DEPEND="${COMMON_DEPEND}
@@ -42,19 +42,20 @@ PATCHES=(
 	"${FILESDIR}/${P}-simgear-compilation.patch"
 )
 
-DOCS=(AUTHORS NEWS README)
-
 src_prepare() {
-	default_src_prepare
+	default
+
+	# -Wnarrowing failure, #612986
+	sed -i -e 's:0x:(char)0x:g' src/tiles.h || die
+
 	eautoreconf
 }
 
 src_configure() {
 	econf \
-		--datadir=/usr/share/flightgear \
-		--disable-dependency-tracking \
+		--datadir="${EPREFIX}"/usr/share/flightgear \
 		--enable-simgear-shared \
-		--with-fgbase=/usr/share/flightgear
+		--with-fgbase="${EPREFIX}"/usr/share/flightgear
 }
 
 pkg_postinst() {
@@ -62,5 +63,4 @@ pkg_postinst() {
 	elog "Atlas --path=[path of map images] --udp=[port number]"
 	elog "and start fgfs with the following switch (or in .fgfsrc):"
 	elog "--nmea=socket,out,0.5,[host that you run Atlas on],[port number],udp"
-	echo
 }


             reply	other threads:[~2017-04-17  7:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-17  7:17 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-08-17 22:08 [gentoo-commits] repo/gentoo:master commit in: games-util/atlas/ James Le Cuirot
2016-01-14 16:13 Maciej Mrozowski
2016-01-12 22:35 Maciej Mrozowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1492413417.8654aff319226a42ca2d112c42009abdcd0fb2f0.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox