aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libgfx')
-rw-r--r--media-libs/libgfx/files/1.1.0-gcc4.3.patch4
-rw-r--r--media-libs/libgfx/libgfx-1.1.0.ebuild12
2 files changed, 6 insertions, 10 deletions
diff --git a/media-libs/libgfx/files/1.1.0-gcc4.3.patch b/media-libs/libgfx/files/1.1.0-gcc4.3.patch
index c3990dc34..811d5dbcc 100644
--- a/media-libs/libgfx/files/1.1.0-gcc4.3.patch
+++ b/media-libs/libgfx/files/1.1.0-gcc4.3.patch
@@ -1,5 +1,5 @@
---- src/raster.cxx 2004-09-27 06:45:31.000000000 +0200
-+++ src/raster.cxx.new 2009-05-17 23:48:58.417607175 +0200
+--- a/src/raster.cxx 2004-09-27 06:45:31.000000000 +0200
++++ b/src/raster.cxx.new 2009-05-17 23:48:58.417607175 +0200
@@ -9,7 +9,7 @@
#include <gfx/gfx.h>
#include <gfx/raster.h>
diff --git a/media-libs/libgfx/libgfx-1.1.0.ebuild b/media-libs/libgfx/libgfx-1.1.0.ebuild
index baac528c6..f40993ed0 100644
--- a/media-libs/libgfx/libgfx-1.1.0.ebuild
+++ b/media-libs/libgfx/libgfx-1.1.0.ebuild
@@ -1,12 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
-inherit eutils
-
-DESCRIPTION="The purpose of this library is to simplify the creation of computer graphics software"
+DESCRIPTION="Simplify the creation of computer graphics software"
HOMEPAGE="http://mgarland.org/software/libgfx.html"
SRC_URI="http://mgarland.org/dist/${P}.tar.gz"
@@ -15,9 +13,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs"
-src_prepare() {
- epatch "${FILESDIR}"/${PV}-gcc4.3.patch
-}
+PATCHES=( "${FILESDIR}"/${PV}-gcc4.3.patch )
src_compile() {
cd src || die