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 8596B1391DB for ; Fri, 1 Aug 2014 20:15:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 73ECAE0A99; Fri, 1 Aug 2014 20:15:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EF1E1E0A99 for ; Fri, 1 Aug 2014 20:15:14 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2790C340038 for ; Fri, 1 Aug 2014 20:15:13 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id D9D9818815 for ; Fri, 1 Aug 2014 20:15:11 +0000 (UTC) From: "Azamat H. Hackimov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Azamat H. Hackimov" Message-ID: <1406924083.af97cc83bc24ec1edcb296d0faaab069c49999dc.winterheart@gentoo> Subject: [gentoo-commits] proj/gamerlay:master commit in: games-puzzle/phlipple/files/, games-puzzle/phlipple/ X-VCS-Repository: proj/gamerlay X-VCS-Files: games-puzzle/phlipple/files/phlipple-0.8.5_check-math-lib.patch games-puzzle/phlipple/phlipple-0.8.5.ebuild X-VCS-Directories: games-puzzle/phlipple/files/ games-puzzle/phlipple/ X-VCS-Committer: winterheart X-VCS-Committer-Name: Azamat H. Hackimov X-VCS-Revision: af97cc83bc24ec1edcb296d0faaab069c49999dc X-VCS-Branch: master Date: Fri, 1 Aug 2014 20:15:11 +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: b80d36d2-4a76-4911-9d41-abe03a154d1a X-Archives-Hash: e061dddeca830cf524f9de84de290725 commit: af97cc83bc24ec1edcb296d0faaab069c49999dc Author: Azamat H. Hackimov gmail com> AuthorDate: Fri Aug 1 20:14:43 2014 +0000 Commit: Azamat H. Hackimov gentoo ru> CommitDate: Fri Aug 1 20:14:43 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=af97cc83 [games-puzzle/phlipple] Fix linker error with -lm Package-Manager: portage-2.2.8-r1 Manifest-Sign-Key: A018DE8C --- .../phlipple/files/phlipple-0.8.5_check-math-lib.patch | 17 +++++++++++++++++ games-puzzle/phlipple/phlipple-0.8.5.ebuild | 10 ++++++++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/games-puzzle/phlipple/files/phlipple-0.8.5_check-math-lib.patch b/games-puzzle/phlipple/files/phlipple-0.8.5_check-math-lib.patch new file mode 100644 index 0000000..00f1853 --- /dev/null +++ b/games-puzzle/phlipple/files/phlipple-0.8.5_check-math-lib.patch @@ -0,0 +1,17 @@ +diff -Nuar phlipple-0.8.5.orig/configure.ac phlipple-0.8.5/configure.ac +--- phlipple-0.8.5.orig/configure.ac 2014-08-02 01:58:49.961024685 +0600 ++++ phlipple-0.8.5/configure.ac 2014-08-02 02:02:28.574032234 +0600 +@@ -14,11 +14,13 @@ + + AC_CHECK_LIB(GL, main, [], AC_MSG_ERROR([OpenGL library not found.])) + AC_CHECK_LIB(GLU, gluPerspective, [], AC_MSG_ERROR([GLU library not found.])) ++AC_CHECK_LIB(m, cos, [], AC_MSG_ERROR([math library not found.])) + + AC_CHECK_HEADER(GL/gl.h, [], AC_MSG_ERROR(no GL/gl.h found)) + AC_CHECK_HEADER(GL/glu.h, [], AC_MSG_ERROR(no GL/glu.h found)) + AC_CHECK_HEADER(SDL/SDL_image.h, [], AC_MSG_ERROR(no SDL/SDL_image.h found)) + AC_CHECK_HEADER(SDL/SDL_mixer.h, [], AC_MSG_ERROR(no SDL/SDL_mixer.h found)) ++AC_CHECK_HEADER(math.h, [], AC_MSG_ERROR(no math.h found)) + + AC_ARG_WITH(icondir, + AS_HELP_STRING([--with-icondir=DIR],[icon files [DATAROOTDIR/pixmaps]]), diff --git a/games-puzzle/phlipple/phlipple-0.8.5.ebuild b/games-puzzle/phlipple/phlipple-0.8.5.ebuild index 1b176cb..c538001 100644 --- a/games-puzzle/phlipple/phlipple-0.8.5.ebuild +++ b/games-puzzle/phlipple/phlipple-0.8.5.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: games-puzzle/phlipple/phlipple-0.8.1.ebuild frostwork Exp $ EAPI=5 -inherit eutils games flag-o-matic +inherit autotools eutils games flag-o-matic DESCRIPTION="An unique puzzle game with the goal to reduce a 3D shape to a single square" HOMEPAGE="http://phlipple.sourceforge.net/" @@ -21,3 +21,9 @@ DEPEND="media-libs/libsdl:0 media-libs/sdl-ttf:0 virtual/opengl virtual/glu" + +src_prepare() { + # fix fails to link on new glibc + epatch "${FILESDIR}/${P}_check-math-lib.patch" + eautoreconf +}