summaryrefslogtreecommitdiff
path: root/multimedia/mpeg4ip
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2006-10-25 23:18:19 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2006-10-25 23:18:19 +0000
commitb419c700ca24a114c517cf805dc3e760e574bf8c (patch)
tree748dcc9cbe7ce0cfb783faca5af5bb0689abed5d /multimedia/mpeg4ip
parent39e138b78a85d6eade86607814f7e3961db289b5 (diff)
downloadpkgsrc-b419c700ca24a114c517cf805dc3e760e574bf8c.tar.gz
Make sure the MAX macro is defined. Builds on solaris now.
Diffstat (limited to 'multimedia/mpeg4ip')
-rw-r--r--multimedia/mpeg4ip/distinfo3
-rw-r--r--multimedia/mpeg4ip/patches/patch-ah17
2 files changed, 19 insertions, 1 deletions
diff --git a/multimedia/mpeg4ip/distinfo b/multimedia/mpeg4ip/distinfo
index 95f50ebdafc..95dda7bf4f3 100644
--- a/multimedia/mpeg4ip/distinfo
+++ b/multimedia/mpeg4ip/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2006/07/22 19:27:41 xtraeme Exp $
+$NetBSD: distinfo,v 1.8 2006/10/25 23:18:19 dmcmahill Exp $
SHA1 (mpeg4ip-1.5.tar.gz) = 32b5c1220fffa386da3efb50bde936990e0a472b
RMD160 (mpeg4ip-1.5.tar.gz) = 98823860a4c3f2d49299f920661f1bd2b08a0673
@@ -10,3 +10,4 @@ SHA1 (patch-ad) = e5dd062d7f17230bf27ffde0fc2db72d8357fd56
SHA1 (patch-ae) = 0418c4fa0fd966b3d5303d4f95a300d94fc48111
SHA1 (patch-af) = a69e136fbe8db5ae844c90ae5e2f06e86bf2ed85
SHA1 (patch-ag) = 76ec743b051ef39e4edb211a15a2accbf491d0b1
+SHA1 (patch-ah) = b5db1d879cf790c2b9c7e9132b14e1fc59e9cb4d
diff --git a/multimedia/mpeg4ip/patches/patch-ah b/multimedia/mpeg4ip/patches/patch-ah
new file mode 100644
index 00000000000..736cad0a9be
--- /dev/null
+++ b/multimedia/mpeg4ip/patches/patch-ah
@@ -0,0 +1,17 @@
+$NetBSD: patch-ah,v 1.1 2006/10/25 23:18:19 dmcmahill Exp $
+
+The MAX macro is not defined on all systems (e.g. solaris)
+
+--- lib/rtp/rtp.c.orig 2006-03-20 18:08:24.000000000 -0500
++++ lib/rtp/rtp.c
+@@ -61,6 +61,10 @@
+
+ #include "rtp.h"
+
++#ifndef MAX
++#define MAX(a,b) ((a) > (b) ? (a) : (b))
++#endif
++
+ typedef struct {
+ uint32_t key; /* Original allocation number */
+ uint32_t size; /* Size of allocation requested */