FreeBSD Bugzilla – Attachment 89156 Details for
Bug 126026
[PATCH] graphics/php4-ffmpeg: Fix build for ffmpeg 20080727 snapshot [SUMMARIZE CHANGES]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
php4-ffmpeg-0.5.0_2.patch
php4-ffmpeg-0.5.0_2.patch (text/plain), 1.31 KB, created by
Sunpoet Po-Chuan Hsieh
on 2008-07-28 09:10:01 UTC
(
hide
)
Description:
php4-ffmpeg-0.5.0_2.patch
Filename:
MIME Type:
Creator:
Sunpoet Po-Chuan Hsieh
Created:
2008-07-28 09:10:01 UTC
Size:
1.31 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/graphics/php4-ffmpeg/files/patch-config.m4 /usr/ports/sunpoet/php4-ffmpeg/files/patch-config.m4 >--- /usr/ports/graphics/php4-ffmpeg/files/patch-config.m4 1970-01-01 08:00:00.000000000 +0800 >+++ /usr/ports/sunpoet/php4-ffmpeg/files/patch-config.m4 2008-07-28 15:53:23.005305754 +0800 >@@ -0,0 +1,27 @@ >+--- config.m4.orig 2006-09-30 02:14:15.000000000 +0800 >++++ config.m4 2008-07-28 15:53:18.099676966 +0800 >+@@ -6,7 +6,11 @@ >+ >+ AC_MSG_CHECKING(for ffmpeg headers) >+ for i in $PHP_FFMPEG /usr/local /usr ; do >+- if test -f $i/include/ffmpeg/avcodec.h; then >++ if test -f $i/include/libavcodec/avcodec.h; then >++ FFMPEG_DIR=$i >++ FFMPEG_INCDIR="$i/include/libavcodec $i/include/libavformat" >++ break >++ elif test -f $i/include/ffmpeg/avcodec.h; then >+ FFMPEG_DIR=$i >+ FFMPEG_INCDIR=$i/include/ffmpeg >+ break >+@@ -45,7 +49,10 @@ >+ >+ PHP_ADD_LIBRARY_WITH_PATH(avcodec, $FFMPEG_LIBDIR, FFMPEG_SHARED_LIBADD) >+ PHP_ADD_LIBRARY_WITH_PATH(avformat, $FFMPEG_LIBDIR, FFMPEG_SHARED_LIBADD) >+- PHP_ADD_INCLUDE($FFMPEG_INCDIR) >++ >++ for i in $FFMPEG_INCDIR; do >++ PHP_ADD_INCLUDE($i) >++ done >+ >+ PHP_NEW_EXTENSION(ffmpeg, ffmpeg-php.c ffmpeg_movie.c ffmpeg_frame.c ffmpeg_animated_gif.c, $ext_shared,, \\$(GDLIB_CFLAGS)) >+ PHP_SUBST(FFMPEG_SHARED_LIBADD)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 126026
: 89156