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 4AF4C59CAB for ; Thu, 31 Mar 2016 08:22:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C643721C001; Thu, 31 Mar 2016 08:22:47 +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 5E1D221C001 for ; Thu, 31 Mar 2016 08:22:47 +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 E0434340A7B for ; Thu, 31 Mar 2016 08:22:45 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0576F20E for ; Thu, 31 Mar 2016 08:22:43 +0000 (UTC) From: "Michael Sterrett" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Sterrett" Message-ID: <1459412519.7f66870d913ad192d3ec1a8b5fc6d09e79e60d7a.mr_bones_@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/gngeo/files/, games-emulation/gngeo/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/gngeo/files/gngeo-0.8-cflags.patch games-emulation/gngeo/gngeo-0.8.ebuild X-VCS-Directories: games-emulation/gngeo/ games-emulation/gngeo/files/ X-VCS-Committer: mr_bones_ X-VCS-Committer-Name: Michael Sterrett X-VCS-Revision: 7f66870d913ad192d3ec1a8b5fc6d09e79e60d7a X-VCS-Branch: master Date: Thu, 31 Mar 2016 08:22:43 +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: bfc18b65-b1fc-4cfd-bc47-e1c4d2bc5930 X-Archives-Hash: a442783fc2c0b8b1497d348c44f16948 commit: 7f66870d913ad192d3ec1a8b5fc6d09e79e60d7a Author: Michael Sterrett gentoo org> AuthorDate: Thu Mar 31 08:21:43 2016 +0000 Commit: Michael Sterrett gentoo org> CommitDate: Thu Mar 31 08:21:59 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f66870d games-emulation/gngeo: build with gcc5 (bug #571056); respect CFLAGS Package-Manager: portage-2.2.26 games-emulation/gngeo/files/gngeo-0.8-cflags.patch | 41 ++++++++++++++++++++++ games-emulation/gngeo/gngeo-0.8.ebuild | 8 +++-- 2 files changed, 46 insertions(+), 3 deletions(-) diff --git a/games-emulation/gngeo/files/gngeo-0.8-cflags.patch b/games-emulation/gngeo/files/gngeo-0.8-cflags.patch new file mode 100644 index 0000000..1a4892a --- /dev/null +++ b/games-emulation/gngeo/files/gngeo-0.8-cflags.patch @@ -0,0 +1,41 @@ +--- configure.in.orig 2016-03-31 04:15:45.913917791 -0400 ++++ configure.in 2016-03-31 04:16:23.447607551 -0400 +@@ -236,20 +236,12 @@ + AC_DEFINE(PROCESSOR_INTEL, 1, [Define if you have an x86 processor]) + ALIGNLONGS=0 + proc_i386=true +- CFLAGS="$CFLAGS -O3 -fstrength-reduce -frerun-loop-opt -Wall -Wno-unused -funroll-loops \ +- -ffast-math -falign-functions=2 -falign-jumps=2 -fexpensive-optimizations \ +- -falign-loops=2 -fschedule-insns2 -malign-double -fomit-frame-pointer -g \ +- -fno-strict-aliasing -pipe -mtune=$target_cpu -DCPU=$target_cpu" + ;; + x86_64) + AC_MSG_RESULT(Turning on x86_64 processor optimisations) + AC_DEFINE(PROCESSOR_ADM64, 1, [Define if you have an x86_64 processor]) + ALIGNLONGS=0 + proc_x64=true +- CFLAGS="$CFLAGS -O3 -fstrength-reduce -frerun-loop-opt -Wall -Wno-unused -funroll-loops \ +- -ffast-math -fexpensive-optimizations \ +- -malign-double -fomit-frame-pointer -g \ +- -fno-strict-aliasing -pipe -DCPU=$target_cpu" + ;; + sparc*) AC_MSG_RESULT(Turning on sparc processor optimisations) + AC_DEFINE(PROCESSOR_SPARC, 1, [Define if you have a sparc processor]) +@@ -258,8 +250,6 @@ + if test $target_cpu = sparc64 && test $CC_MAJOR -ge 3 ; then + CFLAGS="$CFLAGS -mcpu=v9" + fi +- CFLAGS="$CFLAGS -O3 -Wall -Wno-unused -funroll-loops \ +- -ffast-math -fomit-frame-pointer -g" + ;; + arm) AC_MSG_RESULT(Turning on arm processor optimisations) + AC_DEFINE(PROCESSOR_ARM, 1, [Define if you have an ARM processor]) +@@ -273,8 +263,6 @@ + *) AC_MSG_RESULT(Processor type unknown - Use generic optimisations) + ALIGNLONGS=1 + optimum=no +- CFLAGS="$CFLAGS -O3 -Wall -Wno-unused -funroll-loops \ +- -ffast-math -g" + ;; + esac + diff --git a/games-emulation/gngeo/gngeo-0.8.ebuild b/games-emulation/gngeo/gngeo-0.8.ebuild index c6b76ce..d994c78 100644 --- a/games-emulation/gngeo/gngeo-0.8.ebuild +++ b/games-emulation/gngeo/gngeo-0.8.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 -inherit eutils autotools games +inherit eutils autotools flag-o-matic games DESCRIPTION="A NeoGeo emulator" HOMEPAGE="https://code.google.com/p/gngeo/" @@ -23,9 +23,11 @@ src_prepare() { epatch \ "${FILESDIR}"/${P}-execstacks.patch \ "${FILESDIR}"/${P}-zlib.patch \ - "${FILESDIR}"/${P}-concurrentMake.patch + "${FILESDIR}"/${P}-concurrentMake.patch \ + "${FILESDIR}"/${P}-cflags.patch mv configure.in configure.ac || die eautoreconf + append-cflags -std=gnu89 # build with gcc5 (bug #571056) } src_configure() {