diff options
author | danw <danw> | 2004-05-23 18:31:27 +0000 |
---|---|---|
committer | danw <danw> | 2004-05-23 18:31:27 +0000 |
commit | eff25f56a57f657d60bd357ecde4def9704a1949 (patch) | |
tree | 6101561dcb8e594c2782f8f39e3d5c40d24c8096 /x11/xscribble/patches | |
parent | e917337fbd289857e60da59f7b0928470ea86076 (diff) | |
download | pkgsrc-eff25f56a57f657d60bd357ecde4def9704a1949.tar.gz |
darwin fixes (-lmx for additional math functions, malloc.h->stdlib.h,
and change the Imakefile to use a "NoMan" rule since the patch to fake
out the man page build on NetBSD doesn't work with darwin's Imake
man-page-building rule)
Diffstat (limited to 'x11/xscribble/patches')
-rw-r--r-- | x11/xscribble/patches/patch-aa | 27 | ||||
-rw-r--r-- | x11/xscribble/patches/patch-ab | 16 |
2 files changed, 30 insertions, 13 deletions
diff --git a/x11/xscribble/patches/patch-aa b/x11/xscribble/patches/patch-aa index c98b81521fb..b9ea100e756 100644 --- a/x11/xscribble/patches/patch-aa +++ b/x11/xscribble/patches/patch-aa @@ -1,8 +1,19 @@ -$NetBSD: patch-aa,v 1.2 2001/01/01 14:30:25 itojun Exp $ +$NetBSD: patch-aa,v 1.3 2004/05/23 18:31:27 danw Exp $ ---- lirec/li_recognizer.c.orig Tue Jun 13 07:20:13 2000 -+++ lirec/li_recognizer.c Mon Jan 1 22:41:28 2001 -@@ -55,5 +55,5 @@ +--- lirec/li_recognizer.c.orig Mon Jun 12 18:20:13 2000 ++++ lirec/li_recognizer.c +@@ -21,7 +21,7 @@ + #include <stdio.h> + #include <string.h> + #ifndef ELX +-#include <malloc.h> ++#include <stdlib.h> + #endif + #include <math.h> + #include <locale.h> +@@ -53,9 +53,9 @@ static char *lialg_recognize_stroke(rCla + char* li_err_msg = NULL; + char _zdebug_flag[128]; -#define bcopy(s1,s2,n) memcpy(s2,s1,n) +/*#define bcopy(s1,s2,n) memcpy(s2,s1,n)*/ @@ -10,9 +21,15 @@ $NetBSD: patch-aa,v 1.2 2001/01/01 14:30:25 itojun Exp $ -#ifdef mips +#if 0 char *strdup(char* from) { -@@ -925,3 +925,4 @@ + char* to; + int len = strlen(from) + 1; +@@ -923,7 +923,8 @@ RECOGNIZER_FINALIZE(r) + ************************************************** */ + /*#include <assert.h>*/ -#include <values.h> +#include <sys/param.h> +#define MAXINT INT_MAX #include <sys/time.h> + + #ifdef __ultrix diff --git a/x11/xscribble/patches/patch-ab b/x11/xscribble/patches/patch-ab index fb92d9543aa..d32b05a0b1d 100644 --- a/x11/xscribble/patches/patch-ab +++ b/x11/xscribble/patches/patch-ab @@ -1,8 +1,8 @@ -$NetBSD: patch-ab,v 1.2 2001/06/01 11:26:44 agc Exp $ +$NetBSD: patch-ab,v 1.3 2004/05/23 18:31:27 danw Exp $ ---- Imakefile.orig Mon Jun 12 23:20:11 2000 -+++ Imakefile Fri Jun 1 12:19:53 2001 -@@ -9,7 +9,7 @@ +--- Imakefile.orig Mon Jun 12 18:20:11 2000 ++++ Imakefile +@@ -9,11 +9,10 @@ LOCAL_LIBRARIES = XkbClientLibs XawClien SRCS = xscribble.c Scribble.c OBJS = xscribble.o Scribble.o HEADERS = ScribbleP.h Scribble.h @@ -11,8 +11,8 @@ $NetBSD: patch-ab,v 1.2 2001/06/01 11:26:44 agc Exp $ INCLUDES = -Ilirec -Irecman MakeSubdirs($(SUBDIRS)) -@@ -17,3 +17,4 @@ + DependSubdirs($(SUBDIRS)) - ComplexProgramTarget(xscribble) - -+xscribble.man:: +-ComplexProgramTarget(xscribble) +- ++ComplexProgramTargetNoMan(xscribble) |