diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2005-10-24 13:26:48 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2005-10-24 13:26:48 +0000 |
commit | 91e0dc938484a4e42684f44646b0fb6405044c7a (patch) | |
tree | 7ebc1d1921464a72df0267dd07d02f6ebcfbf9e7 /media-gfx/graphviz | |
parent | Remove old versions. (diff) | |
download | gentoo-2-91e0dc938484a4e42684f44646b0fb6405044c7a.tar.gz gentoo-2-91e0dc938484a4e42684f44646b0fb6405044c7a.tar.bz2 gentoo-2-91e0dc938484a4e42684f44646b0fb6405044c7a.zip |
Fix for bug #108690
(Portage version: 2.0.53_rc6)
Diffstat (limited to 'media-gfx/graphviz')
-rw-r--r-- | media-gfx/graphviz/ChangeLog | 6 | ||||
-rw-r--r-- | media-gfx/graphviz/files/graphviz-1.16-tempdir.patch | 21 | ||||
-rw-r--r-- | media-gfx/graphviz/graphviz-1.16.ebuild | 3 |
3 files changed, 28 insertions, 2 deletions
diff --git a/media-gfx/graphviz/ChangeLog b/media-gfx/graphviz/ChangeLog index 34ce5bd6368d..a26260062404 100644 --- a/media-gfx/graphviz/ChangeLog +++ b/media-gfx/graphviz/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/graphviz # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v 1.61 2005/09/24 05:53:14 halcy0n Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v 1.62 2005/10/24 13:26:48 lu_zero Exp $ + + 24 Oct 2005; Luca Barbato <lu_zero@gentoo.org> + +files/graphviz-1.16-tempdir.patch, graphviz-1.16.ebuild: + Fix for bug #108690 24 Sep 2005; Mark Loeser <halcy0n@gentoo.org> graphviz-1.10.ebuild, graphviz-1.12.ebuild, graphviz-1.12-r1.ebuild, graphviz-1.16.ebuild, diff --git a/media-gfx/graphviz/files/graphviz-1.16-tempdir.patch b/media-gfx/graphviz/files/graphviz-1.16-tempdir.patch new file mode 100644 index 000000000000..0fe40acf4097 --- /dev/null +++ b/media-gfx/graphviz/files/graphviz-1.16-tempdir.patch @@ -0,0 +1,21 @@ +--- graphviz-2.2.1.orig/dotty/dotty.lefty ++++ graphviz-2.2.1/dotty/dotty.lefty +@@ -668,7 +668,10 @@ + if (~(otype = ask ('print to', 'choice', 'file|printer'))) + return; + if (otype == 'printer') { +- name = '/tmp/dottyout.ps'; ++ if (~getenv ('TMPDIR')) ++ name = concat (getenv ('HOME'), '/.dottyout.ps'); ++ else ++ name = concat (getenv ('TMPDIR'), '/.dottyout.ps', random (10000)); + if (getenv ('LEFTYWINSYS') ~= 'mswin' & ~pr) + if (~(pr = ask ('printer command', 'string', 'lpr'))) + return; +@@ -768,5 +771,5 @@ + vt.canvas = canvas; + destroywidget (pscanvas); + if (otype == 'printer' & getenv ('LEFTYWINSYS') ~= 'mswin') +- system (concat (pr, ' /tmp/dottyout.ps; rm /tmp/dottyout.ps')); ++ system (concat (pr, ' ', name, '; rm ',name)); + }; diff --git a/media-gfx/graphviz/graphviz-1.16.ebuild b/media-gfx/graphviz/graphviz-1.16.ebuild index 17a05860bcb8..645480cba4fa 100644 --- a/media-gfx/graphviz/graphviz-1.16.ebuild +++ b/media-gfx/graphviz/graphviz-1.16.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-1.16.ebuild,v 1.18 2005/09/24 05:53:14 halcy0n Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-1.16.ebuild,v 1.19 2005/10/24 13:26:48 lu_zero Exp $ inherit gnuconfig eutils flag-o-matic @@ -29,6 +29,7 @@ src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-build.patch + epatch ${FILESDIR}/${P}-tempdir.patch if use ppc-macos; then # fixes weird make issue |