summaryrefslogtreecommitdiff
path: root/graphics/fly/patches/patch-ao
blob: 63fbf8ef83bbe2bee7f0f647ff3f40397ec4987e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ao,v 1.2 2003/06/06 21:27:18 jmmv Exp $

--- examples/fly-tester.pl.orig	Thu Jun 10 19:14:53 1999
+++ examples/fly-tester.pl	Sun Oct 31 00:28:28 1999
@@ -108,9 +108,9 @@
 		exit 0;
 	}
 	open INPUT, ">$inputfile" or die "Couldn't open $inputfile for writing: $!\n"; print INPUT $code; close INPUT;
-	my $return_code = system("$flyprog -i $inputfile -o $output_area/fly.$$.gif > $outputfile 2>&1");
+	my $return_code = system("$flyprog -i $inputfile -o $output_area/fly.$$.png > $outputfile 2>&1");
 	if($return_code == 0) {
-		$cell1 =  $q->p({-align=>'center'}, $q->img({-src=>"${graphs_url}/fly.$$.gif",
+		$cell1 =  $q->p({-align=>'center'}, $q->img({-src=>"${graphs_url}/fly.$$.png",
 			-alt=>"[Generated Graph]", -border=>"2"}));
 		my $url = $q->url();
 		if($diags) {