Fix for bug #108690
authorLuca Barbato <lu_zero@gentoo.org>
Mon, 24 Oct 2005 13:26:48 +0000 (13:26 +0000)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 24 Oct 2005 13:26:48 +0000 (13:26 +0000)
Package-Manager: portage-2.0.53_rc6

media-gfx/graphviz/ChangeLog
media-gfx/graphviz/Manifest
media-gfx/graphviz/files/graphviz-1.16-tempdir.patch [new file with mode: 0644]
media-gfx/graphviz/graphviz-1.16.ebuild

index 34ce5bd6368db6ce86acee777ba30d93d31431e4..a262600624044de8f4134c62fc3e5579ff225bd1 100644 (file)
@@ -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,
index 09fe3e3274dcb9d0275b31ab7b74f0b2ec9e50b2..c97c5d89235ebce8de20e133b711a7ffed9f1f0b 100644 (file)
@@ -1,17 +1,4 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 7bd123ddeecdc6ba9863af47f4577292 ChangeLog 8907
-MD5 2339df982693f89bc4ea845062b0597d graphviz-1.10.ebuild 1276
-MD5 56c7e33463f29fd71f4af44c0fa687a5 graphviz-1.12-r1.ebuild 1913
-MD5 3cfddfbe2fa0fe541cb4243d9e109e69 graphviz-1.12.ebuild 1408
-MD5 725910192cf3f960959f292eb14bb6d4 graphviz-1.16.ebuild 2187
-MD5 4eead72d8554c4afd813032f4ce96ddf graphviz-2.2.1-r1.ebuild 1215
-MD5 a5310746d1a39897c72cd3fd0477646c graphviz-2.2.1.ebuild 1159
-MD5 1d8314727c6cbd655072c67f39b30f0a graphviz-2.2.ebuild 1917
-MD5 a2b51df70d2c00d0934cd2f10f8c05bc graphviz-2.4.ebuild 1170
-MD5 1fe9f57ecec2bda05179eae74e947355 graphviz-2.6.ebuild 1322
-MD5 e98595ce89ff0da26058b1e6e0ce3d31 metadata.xml 1540
+MD5 b34a5a400c3b8355f2979f4f5a608569 ChangeLog 9039
 MD5 ea7e00b7c49179d3961458a98aee9d6c files/digest-graphviz-1.10 66
 MD5 cea8244a5db85a3bc5e74e4ecd3c9a2b files/digest-graphviz-1.12 66
 MD5 54cdc52906c56a19e4e09cd0773d4633 files/digest-graphviz-1.12-r1 139
@@ -20,16 +7,20 @@ MD5 9ebf9ffcce27ea71d28da323a9221356 files/digest-graphviz-2.2 65
 MD5 fd083ee967ab029fd47a155ba572ac60 files/digest-graphviz-2.2.1 67
 MD5 fd083ee967ab029fd47a155ba572ac60 files/digest-graphviz-2.2.1-r1 67
 MD5 c7e30bf4d757c98799d61d36723a8c06 files/digest-graphviz-2.4 65
+MD5 52118c7d90398202a81b72b67bf0b0d7 files/digest-graphviz-2.6 65
 MD5 5e8726d7d859188692efcfe9e9155761 files/gdgen.c.patch 756
 MD5 6700ac8c3ea388f54326ca2a57784a1c files/graphviz-1.12-build.patch 1514
 MD5 280fc858f990639d5d8fb7102b2636ac files/graphviz-1.16-build.patch 6200
 MD5 5c7f01258da58810d0175461e0c1d14b files/graphviz-1.16-common_h.patch 292
-MD5 52118c7d90398202a81b72b67bf0b0d7 files/digest-graphviz-2.6 65
+MD5 aa19680486b2b29db8b47b6bbfc1cdec files/graphviz-1.16-tempdir.patch 867
 MD5 6f4c558cccabd9d79fe071b4b21fa67b files/graphviz-2.4.conf 236
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDNOneCRZPokWLroQRAp8/AKCKl8v/xa4ttGnpUijaiHerG1t5pwCgt8dy
-X0o2zhCYGcD+gWn9cc9q/i4=
-=kYU6
------END PGP SIGNATURE-----
+MD5 2339df982693f89bc4ea845062b0597d graphviz-1.10.ebuild 1276
+MD5 56c7e33463f29fd71f4af44c0fa687a5 graphviz-1.12-r1.ebuild 1913
+MD5 3cfddfbe2fa0fe541cb4243d9e109e69 graphviz-1.12.ebuild 1408
+MD5 885ceebba109e987a9538733178f3139 graphviz-1.16.ebuild 2226
+MD5 4eead72d8554c4afd813032f4ce96ddf graphviz-2.2.1-r1.ebuild 1215
+MD5 a5310746d1a39897c72cd3fd0477646c graphviz-2.2.1.ebuild 1159
+MD5 1d8314727c6cbd655072c67f39b30f0a graphviz-2.2.ebuild 1917
+MD5 a2b51df70d2c00d0934cd2f10f8c05bc graphviz-2.4.ebuild 1170
+MD5 1fe9f57ecec2bda05179eae74e947355 graphviz-2.6.ebuild 1322
+MD5 e98595ce89ff0da26058b1e6e0ce3d31 metadata.xml 1540
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 (file)
index 0000000..0fe40ac
--- /dev/null
@@ -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));
+ };
index 17a05860bcb86072cf2c2b6dfe13cea72baa6504..645480cba4faf73761d5dad5d0cfce68472eb40c 100644 (file)
@@ -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