diff options
author | jedgar <jedgar@FreeBSD.org> | 2002-07-29 02:47:33 +0800 |
---|---|---|
committer | jedgar <jedgar@FreeBSD.org> | 2002-07-29 02:47:33 +0800 |
commit | 31bb15ab4e6f0c25bbec1ba88eaf0a3bbf63dbc6 (patch) | |
tree | ab9ceb152ff06cc2caadf2137bcbbafdf3b3ca49 /multimedia/mpeg_encode | |
parent | 210c1d5ed3a3e2921976172c0a7da87973a5178f (diff) | |
download | freebsd-ports-gnome-31bb15ab4e6f0c25bbec1ba88eaf0a3bbf63dbc6.tar.gz freebsd-ports-gnome-31bb15ab4e6f0c25bbec1ba88eaf0a3bbf63dbc6.tar.zst freebsd-ports-gnome-31bb15ab4e6f0c25bbec1ba88eaf0a3bbf63dbc6.zip |
ifdef-out unnecessary malloc() declaration, unbreaking this port
Diffstat (limited to 'multimedia/mpeg_encode')
-rw-r--r-- | multimedia/mpeg_encode/files/patch-aa | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/multimedia/mpeg_encode/files/patch-aa b/multimedia/mpeg_encode/files/patch-aa index c4d2f537b154..7bd0c1b7fc5e 100644 --- a/multimedia/mpeg_encode/files/patch-aa +++ b/multimedia/mpeg_encode/files/patch-aa @@ -1,15 +1,11 @@ ---- ./headers/libpnmrw.h~ Thu Aug 1 08:52:25 1996 -+++ ./headers/libpnmrw.h Thu Aug 1 08:51:16 1996 -@@ -19,7 +19,12 @@ - ** malloc.h at all. A sad situation. If you have compilation problems +--- headers/libpnmrw.h.orig Wed Aug 9 11:17:41 1995 ++++ headers/libpnmrw.h Tue Jul 23 17:06:15 2002 +@@ -20,7 +20,7 @@ ** that point here, feel free to tweak or remove these declarations. */ -+#ifdef __FreeBSD__ -+#include <stdlib.h> -+#else #include <malloc.h> -+#endif -+ - #if !defined(sco) && !defined(sgi) && !defined(IRIX) +-#if !defined(sco) && !defined(sgi) && !defined(IRIX) ++#if !defined(sco) && !defined(sgi) && !defined(IRIX) && !defined(__FreeBSD__) extern char* malloc(); #endif + /* End of configurable definitions. */ |