diff options
author | joerg <joerg> | 2007-07-27 23:42:17 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-07-27 23:42:17 +0000 |
commit | 352ca7d449be5bcae68fbde4d23f65ccd65d2499 (patch) | |
tree | 98d62c5555ee6f5f383bfabce4e2d596c1c3617e /graphics/xv/patches | |
parent | 786144d53325f974909d74ac9c035e20716ac9bd (diff) | |
download | pkgsrc-352ca7d449be5bcae68fbde4d23f65ccd65d2499.tar.gz |
Don't use malloc.h. Don't override MANDIR, imake is special.
Diffstat (limited to 'graphics/xv/patches')
-rw-r--r-- | graphics/xv/patches/patch-ab | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/graphics/xv/patches/patch-ab b/graphics/xv/patches/patch-ab new file mode 100644 index 00000000000..7619ffc4858 --- /dev/null +++ b/graphics/xv/patches/patch-ab @@ -0,0 +1,46 @@ +$NetBSD: patch-ab,v 1.10 2007/07/27 23:42:17 joerg Exp $ + +--- vdcomp.c.orig 2007-07-27 23:20:04.000000000 +0000 ++++ vdcomp.c +@@ -96,41 +96,6 @@ + #include <stdio.h> + #include <stdlib.h> + +-/* include a malloc.h of some sort (if needed...most systems use stdlib.h) */ +-#ifndef VMS /* VMS hates multi-line "#if"s */ +- /* +- * I want to use BSD macro for checking if this OS is *BSD or not, +- * but the macro is defined in <sys/parm.h>, which I don't know all +- * machine has or not. +- */ +-# if !defined(ibm032) && \ +- !defined(__convex__) && \ +- !(defined(vax) && !defined(ultrix)) && \ +- !defined(mips) && \ +- !defined(apollo) && \ +- !defined(pyr) && \ +- !defined(sequent) && \ +- !defined(__UMAXV__) && \ +- !defined(aux) && \ +- !defined(bsd43) && \ +- !defined(__bsd43) && \ +- !defined(__bsdi__) && \ +- !defined(__386BSD__) && \ +- !defined(__FreeBSD__) && \ +- !defined(__OpenBSD__) && \ +- !defined(__NetBSD__) && \ +- !defined(__DARWIN__) +- +-# if defined(hp300) || defined(hp800) || defined(NeXT) +-# include <sys/malloc.h> /* it's in "sys" on HPs and NeXT */ +-# else +-# include <malloc.h> /* FIXME: should explicitly list systems that NEED this, not everyone that doesn't */ +-# endif +- +-# endif /* !most modern systems */ +-#endif /* !VMS */ +- +- + #include <X11/Xos.h> + + #define TRUE 1 |