freebsd-ports/print/transfig/files/patch-fig2dev_dev_readgif.c
Martin Wilke 3e7df8382c - Update to 3.2.5
PR:		111246
Submitted by:	Eric P. Scott <eps+pbug0704@ana.com>
2007-06-10 00:49:25 +00:00

11 lines
514 B
C

--- fig2dev/dev/readgif.c.orig Tue Apr 8 14:42:07 2003
+++ fig2dev/dev/readgif.c
@@ -197,7 +197,7 @@
/* make name for temp output file */
sprintf(pcxname, "%s/%s%06d.pix", TMPDIR, "xfig-pcx", getpid());
/* make command to convert gif to pcx into temp file */
- sprintf(buf, "giftopnm | ppmtopcx > %s 2> /dev/null", pcxname);
+ sprintf(buf, "giftopnm -quiet | ppmtopcx -quiet > %s", pcxname);
if ((giftopcx = popen(buf,"w" )) == 0) {
fprintf(stderr,"Cannot open pipe to giftoppm\n");
return 0;