f381673935
* 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.
18 lines
530 B
Text
18 lines
530 B
Text
$NetBSD: patch-ac,v 1.14 2005/01/18 14:16:20 adam Exp $
|
|
|
|
--- converter/ppm/ppmtompeg/param.c.orig 2004-12-03 05:05:39.000000000 +0000
|
|
+++ converter/ppm/ppmtompeg/param.c
|
|
@@ -7,13 +7,6 @@
|
|
|
|
/* COPYRIGHT INFORMATION IS AT THE END OF THIS FILE */
|
|
|
|
-#define _XOPEN_SOURCE 1
|
|
- /* This makes sure popen() is in stdio.h. In GNU libc 2.1.3,
|
|
- _POSIX_C_SOURCE = 2 is sufficient, but on AIX 4.3, the higher level
|
|
- _XOPEN_SOURCE is required. 2000.09.09
|
|
- */
|
|
-
|
|
-
|
|
/*==============*
|
|
* HEADER FILES *
|
|
*==============*/
|