ports/102431: multimedia/ffmpeg-devel: Fix build on 4.x

Shaun Amott shaun at FreeBSD.org
Wed Aug 23 13:10:27 UTC 2006


>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:



More information about the freebsd-ports-bugs mailing list