2615325c03
* Fix build error with xft2 option and graphics/freetype-lib package is installed. Shoud be fix PR pkg/32656. * Refering PR pkg/38552 adpot some of patches. * Move PKG_OPTIONS related item to options.mk. * More pkgsrc clean up. * Try to reduce compile warnings. What's new in 1.13a? * m17n library support enhancement * MacOS support enhancement * add new environment variable MGPRC for the path of the .mgprc file. * add "psfont" directive to specify the font used by mgp2ps * add -g option for mgp2ps to allow users to adjust line distanc * add -zoomonclk option for newimage * allow to handle gif format images by default * many bug fixes Dedication Magicpoint 1.13a is dedicated to the memory of Dr. Jun-ichiro "itojun" Hagino, who was known for his enormous contribution to the Internet and the Open Source Software community. He was the developer of Magicpoint from its infancy. Magicpoint could not exist without his devoted work. What's new in 1.12a? * add %tsystem directive which might be more stable than %xsystem * add -rotate option for newimage * allow to use non-ASCI filename in slides (use -U to enable this feature) * many bug fixes
28 lines
616 B
Text
28 lines
616 B
Text
$NetBSD: patch-af,v 1.2 2008/09/10 13:32:47 taca Exp $
|
|
|
|
--- image/image.h.orig 2004-07-29 00:47:31.000000000 +0900
|
|
+++ image/image.h
|
|
@@ -10,6 +10,9 @@
|
|
|
|
#include "copyright.h"
|
|
#include <stdio.h>
|
|
+#ifdef HAVE_STDLIB_H
|
|
+#include <stdlib.h>
|
|
+#endif
|
|
|
|
#if defined(SYSV) || defined(VMS) || 1
|
|
#include <string.h>
|
|
@@ -182,13 +185,8 @@ unsigned long doMemToValLSB();
|
|
unsigned long doValToMemLSB();
|
|
void flipBits();
|
|
|
|
-#ifdef __APPLE__
|
|
-/* darwin has zopen() */
|
|
ZFILE *zzopen(); /* zio.c */
|
|
#define zopen zzopen
|
|
-#else
|
|
-ZFILE *zopen(); /* zio.c */
|
|
-#endif
|
|
int zread();
|
|
int zgetc();
|
|
char *zgets();
|