summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2011-08-28 15:29:02 +0000
committerFabian Groffen <grobian@gentoo.org>2011-08-28 15:29:02 +0000
commit8242376803b27aa963313ea4269f64c67cde0949 (patch)
treeb5bb3df152470e9ed018e4640d19ddc5195b81e6 /app-text
parentVersion bump. (diff)
downloadgentoo-2-8242376803b27aa963313ea4269f64c67cde0949.tar.gz
gentoo-2-8242376803b27aa963313ea4269f64c67cde0949.tar.bz2
gentoo-2-8242376803b27aa963313ea4269f64c67cde0949.zip
Fixed for and marked ~x64-macos
(Portage version: 2.2.01.19074-prefix/cvs/Darwin i386)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/dvisvgm/ChangeLog6
-rw-r--r--app-text/dvisvgm/dvisvgm-1.0.8.ebuild10
-rw-r--r--app-text/dvisvgm/files/dvisvgm-1.0.8-darwin.patch10
3 files changed, 23 insertions, 3 deletions
diff --git a/app-text/dvisvgm/ChangeLog b/app-text/dvisvgm/ChangeLog
index 63c9bfe772d0..92bb3c6a622c 100644
--- a/app-text/dvisvgm/ChangeLog
+++ b/app-text/dvisvgm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/dvisvgm
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dvisvgm/ChangeLog,v 1.18 2011/08/14 18:34:36 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/dvisvgm/ChangeLog,v 1.19 2011/08/28 15:29:02 grobian Exp $
+
+ 28 Aug 2011; Fabian Groffen <grobian@gentoo.org> dvisvgm-1.0.8.ebuild,
+ +files/dvisvgm-1.0.8-darwin.patch:
+ Fixed for and marked ~x64-macos
14 Aug 2011; Markus Meier <maekke@gentoo.org> dvisvgm-1.0.8.ebuild:
arm stable, bug #355085
diff --git a/app-text/dvisvgm/dvisvgm-1.0.8.ebuild b/app-text/dvisvgm/dvisvgm-1.0.8.ebuild
index c8f8d0a5f0d1..b25e6858ef57 100644
--- a/app-text/dvisvgm/dvisvgm-1.0.8.ebuild
+++ b/app-text/dvisvgm/dvisvgm-1.0.8.ebuild
@@ -1,16 +1,18 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dvisvgm/dvisvgm-1.0.8.ebuild,v 1.6 2011/08/14 18:34:36 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/dvisvgm/dvisvgm-1.0.8.ebuild,v 1.7 2011/08/28 15:29:02 grobian Exp $
EAPI=3
+inherit eutils
+
DESCRIPTION="Converts DVI files to SVG"
HOMEPAGE="http://dvisvgm.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-macos"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-macos ~x64-macos"
IUSE="test"
# Tests don't work from $WORKDIR: kpathsea tries to search in relative
# directories from where the binary is executed.
@@ -26,6 +28,10 @@ DEPEND="${RDEPEND}
dev-util/pkgconfig
test? ( dev-util/gtest )"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-darwin.patch
+}
+
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS NEWS README || die
diff --git a/app-text/dvisvgm/files/dvisvgm-1.0.8-darwin.patch b/app-text/dvisvgm/files/dvisvgm-1.0.8-darwin.patch
new file mode 100644
index 000000000000..aef51d517474
--- /dev/null
+++ b/app-text/dvisvgm/files/dvisvgm-1.0.8-darwin.patch
@@ -0,0 +1,10 @@
+--- src/Process.cpp
++++ src/Process.cpp
+@@ -25,6 +25,7 @@
+ #include <fcntl.h>
+ #include <sys/wait.h>
+ #include <unistd.h>
++#include <signal.h>
+ #endif
+
+ #include <cstdlib>