summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2011-10-23 19:18:57 +0000
committerFabian Groffen <grobian@gentoo.org>2011-10-23 19:18:57 +0000
commit93662890e8affed49c5ae6354b76ef6e6bc00b81 (patch)
treea92e2b7955092b57c982302bc72aa8aaf8c265d4 /media-gfx/transfig
parentlibtool eclass needed for elibtoolize (bug #388243). (diff)
downloadgentoo-2-93662890e8affed49c5ae6354b76ef6e6bc00b81.tar.gz
gentoo-2-93662890e8affed49c5ae6354b76ef6e6bc00b81.tar.bz2
gentoo-2-93662890e8affed49c5ae6354b76ef6e6bc00b81.zip
Add patch to fix compilation on Darwin and Solaris, added Prefix keywords, bug #353408
(Portage version: 2.2.01.19572-prefix/cvs/Darwin i386)
Diffstat (limited to 'media-gfx/transfig')
-rw-r--r--media-gfx/transfig/ChangeLog7
-rw-r--r--media-gfx/transfig/files/transfig-3.2.5-solaris.patch12
-rw-r--r--media-gfx/transfig/transfig-3.2.5d-r1.ebuild5
3 files changed, 21 insertions, 3 deletions
diff --git a/media-gfx/transfig/ChangeLog b/media-gfx/transfig/ChangeLog
index 624a53c968fe..aefa16ea1099 100644
--- a/media-gfx/transfig/ChangeLog
+++ b/media-gfx/transfig/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/transfig
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/transfig/ChangeLog,v 1.71 2011/09/21 00:48:22 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/transfig/ChangeLog,v 1.72 2011/10/23 19:18:57 grobian Exp $
+
+ 23 Oct 2011; Fabian Groffen <grobian@gentoo.org>
+ +files/transfig-3.2.5-solaris.patch, transfig-3.2.5d-r1.ebuild:
+ Add patch to fix compilation on Darwin and Solaris, added Prefix keywords, bug
+ #353408
21 Sep 2011; Jeroen Roovers <jer@gentoo.org> transfig-3.2.5d-r1.ebuild:
Stable for HPPA (bug #372595).
diff --git a/media-gfx/transfig/files/transfig-3.2.5-solaris.patch b/media-gfx/transfig/files/transfig-3.2.5-solaris.patch
new file mode 100644
index 000000000000..680a0591f1cf
--- /dev/null
+++ b/media-gfx/transfig/files/transfig-3.2.5-solaris.patch
@@ -0,0 +1,12 @@
+Fixes complation error on both Darwin and Solaris
+
+--- fig2dev/fig2dev.h
++++ fig2dev/fig2dev.h
+@@ -20,6 +20,7 @@
+ #include "patchlevel.h"
+ #include <math.h>
+ #include <sys/file.h>
++#include <sys/stat.h>
+ #include <signal.h>
+ #include <string.h>
+ #include <pwd.h>
diff --git a/media-gfx/transfig/transfig-3.2.5d-r1.ebuild b/media-gfx/transfig/transfig-3.2.5d-r1.ebuild
index c91020426dd1..38993a3b1609 100644
--- a/media-gfx/transfig/transfig-3.2.5d-r1.ebuild
+++ b/media-gfx/transfig/transfig-3.2.5d-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/transfig/transfig-3.2.5d-r1.ebuild,v 1.7 2011/09/21 00:48:22 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/transfig/transfig-3.2.5d-r1.ebuild,v 1.8 2011/10/23 19:18:57 grobian Exp $
EAPI="4"
inherit toolchain-funcs eutils flag-o-matic
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/mcj/${MY_P}.tar.gz
LICENSE="BSD"
SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND="x11-libs/libXpm
@@ -54,6 +54,7 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-precision.patch
epatch "${FILESDIR}"/${P}-MAXWIDTH.patch
epatch "${FILESDIR}"/${P}-libpng-1.5.patch #356751
+ epatch "${FILESDIR}"/${PN}-3.2.5-solaris.patch
sed -e 's:-L$(ZLIBDIR) -lz::' \
-e 's: -lX11::' \