pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/mpeg4ip Make sure the MAX macro is defined....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8979f345b8c6
branches:  trunk
changeset: 520696:8979f345b8c6
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Wed Oct 25 23:18:19 2006 +0000

description:
Make sure the MAX macro is defined.  Builds on solaris now.

diffstat:

 multimedia/mpeg4ip/distinfo         |   3 ++-
 multimedia/mpeg4ip/patches/patch-ah |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 7ccea5e4a6dd -r 8979f345b8c6 multimedia/mpeg4ip/distinfo
--- a/multimedia/mpeg4ip/distinfo       Wed Oct 25 23:17:29 2006 +0000
+++ b/multimedia/mpeg4ip/distinfo       Wed Oct 25 23:18:19 2006 +0000
@@ -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-ae) = 0418c4fa0fd966b3d5303d4f95a300d94fc48111
 SHA1 (patch-af) = a69e136fbe8db5ae844c90ae5e2f06e86bf2ed85
 SHA1 (patch-ag) = 76ec743b051ef39e4edb211a15a2accbf491d0b1
+SHA1 (patch-ah) = b5db1d879cf790c2b9c7e9132b14e1fc59e9cb4d
diff -r 7ccea5e4a6dd -r 8979f345b8c6 multimedia/mpeg4ip/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mpeg4ip/patches/patch-ah       Wed Oct 25 23:18:19 2006 +0000
@@ -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 */



Home | Main Index | Thread Index | Old Index