1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00

Fix build on 4.x: fix devel/sdl header include

PR:		102431
Submitted by:	Shaun Amott <shaun@FreeBSD.org>
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2006-09-25 00:47:40 +00:00
parent 4285d442d5
commit 617018b249
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=173761
3 changed files with 17 additions and 12 deletions

View File

@ -54,7 +54,7 @@ FFMPEG_LDFLAGS= \
-fPIE
PLIST_SUB= SHLIB_VERSION=${SHLIB_VERSION}
INSTALLS_SHLIB= yes
USE_LDCONFIG= yes
NO_LATEST_LINK= yes
CONFLICTS= ffmpeg-[0-9]*-*
@ -545,6 +545,9 @@ post-patch:
@${REINPLACE_CMD} -E \
-e 's|sdl-config|${SDL_CONFIG}|g' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@${FIND} ${WRKSRC} -type f | \
${XARGS} -n 10 ${REINPLACE_CMD} -E \
-e 's|#include <SDL|#include <SDL11/SDL|'
.endif
.ifndef(WITHOUT_POSTPROCESS)
@${LN} -sf libpostproc.so \

View File

@ -1,11 +0,0 @@
--- libavcodec/x264.c.orig Thu Aug 10 06:10:59 2006
+++ libavcodec/x264.c Thu Aug 10 06:11:24 2006
@@ -148,7 +148,7 @@
// if neither crf nor cqp modes are selected we have to enable the RC
// we do it this way because we cannot check if the bitrate has been set
- if(!(avctx->crf || (avctx->cqp > -1))) x4->params.rc.b_cbr = 1;
+ if(!(avctx->crf || (avctx->cqp > -1))) x4->params.rc.i_rc_method = 1;
x4->params.i_bframe = avctx->max_b_frames;
x4->params.b_cabac = avctx->coder_type == FF_CODER_TYPE_AC;

View File

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