* pamcomp: fix bug that duplicates last row of overlay image. * pamcut: fix bug that fills the rightmost column with black. * pnmtopalm: fix bug with -offset option. * ppmforge: fix bug: crash due to wild pointer with -night. Changes 10.26: * pnmhistmap: Add -dots, -nmax, -red, -green, -blue, -lval, -rval, -height, and -width options. * pnmnorm: accept -wpercent and -wvalue (or -bpercent and -bvalue) together. Thanks Gregg Townsend <gmt@CS.Arizona.EDU>. * xwdtopnm: Add -headerdump option. * pnmtoxwd: Include 256 color color maps in direct color instead of zero. Zero has a weird effect. * pamtotga: recognize RGB_ALPHA instead of RGBA. * palmtopnm: fix bug in determination of compression type. * palmtopnm: fix bug in handling of multi-image streams. * pnmtopalm: fix bugs in computation of nextDepthOffset. * pamtotga: fix TGA pixel size for TGA with alpha. Don't do colormap if input has transparency. * pamtotga: fix crash due to uninitialized "id" field in TGA header. * pbm_writepbmrow(): Fix bug in MMX/SSE code that causes segmentation fault. * pnmhistmap: Fix bug: doesn't work with maxval != 255. * pbmtext: fix crash with code point > 127. * ppmtompeg: major cleanup. * pnmtopng: fix "internal error" and crash bug with -transparent. * pnmtoxwd: fix endianness on littleendian machines. * pnmtoxwd: fix bug: doesn't work if you specify an option. * jpegtopnm: fix bug: -dumpexif all wrong. * jpegtopnm: fix bug: newline written to stdout instead of stderr with -dumpexif. * Add missing 'col' declaration so -msse compile works. * pcdovtoppm: fix syntax error * pnmtojbig/jbigtopnm: add newline to "usage" message. * pamperspective: fix bugs with -frame_include, etc. * build: Jeg2k programs build properly with newer Jasper library. * build: Fix bug: "no rule to build xxx.so" with external * Jasper or Jbig library. * Add NAME and DESCRIPTION section to pointer man pages.
12 lines
419 B
Text
12 lines
419 B
Text
$NetBSD: patch-ae,v 1.10 2005/01/18 14:16:20 adam Exp $
|
|
|
|
--- generator/pbmtextps.c.orig 2003-10-08 02:39:27.000000000 +0000
|
|
+++ generator/pbmtextps.c
|
|
@@ -15,7 +15,6 @@
|
|
* Additions by Bryan Henderson contributed to public domain by author.
|
|
*
|
|
*/
|
|
-#define _XOPEN_SOURCE /* Make sure popen() is in stdio.h */
|
|
#define _BSD_SOURCE /* Make sure stdrup() is in string.h */
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|