aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mpeg_encode
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>2002-07-28 18:47:33 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>2002-07-28 18:47:33 +0000
commit4bb46326ace266708869d4cff5f9c0df4cf6e26e (patch)
tree4d21625701e06df4d525b5bcb0d255b71341fd2c /multimedia/mpeg_encode
parent78687c1f67d0a56f30f4cc5c53c7d5d65e4677f1 (diff)
downloadports-4bb46326ace266708869d4cff5f9c0df4cf6e26e.tar.gz
ports-4bb46326ace266708869d4cff5f9c0df4cf6e26e.zip
ifdef-out unnecessary malloc() declaration, unbreaking this port
Notes
Notes: svn path=/head/; revision=63674
Diffstat (limited to 'multimedia/mpeg_encode')
-rw-r--r--multimedia/mpeg_encode/files/patch-aa16
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. */