Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2006 14:04:01 +0100
From:      Shaun Amott <shaun@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/102431: multimedia/ffmpeg-devel: Fix build on 4.x
Message-ID:  <1156338241.2587@charon.picobyte.net>
Resent-Message-ID: <200608231310.k7NDADP9017976@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         102431
>Category:       ports
>Synopsis:       multimedia/ffmpeg-devel: Fix build on 4.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 23 13:10:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Shaun Amott
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:

>Description:

- Fix build on 4.x.

>How-To-Repeat:

>Fix:

--- ffmpeg-devel.diff begins here ---
Index: files/patch-libavformat_movenc.c
===================================================================
RCS file: files/patch-libavformat_movenc.c
diff -N files/patch-libavformat_movenc.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-libavformat_movenc.c	23 Aug 2006 12:57:33 -0000
@@ -0,0 +1,13 @@
+--- libavformat/movenc.c.orig	Wed Mar 22 16:49:05 2006
++++ libavformat/movenc.c	Wed Aug 23 12:37:33 2006
+@@ -22,6 +22,10 @@
+ #include "avio.h"
+ #include "mov.h"
+ 
++#ifndef UINT32_MAX
++#define UINT32_MAX 0xffffffffU
++#endif
++
+ #undef NDEBUG
+ #include <assert.h>
+ 
--- ffmpeg-devel.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1156338241.2587>