FreeBSD Bugzilla – Attachment 67053 Details for
Bug 98914
[PATCH] multimedia/mplayer: Fix x264-encoder inclusion
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mplayer-0.99.7_14.patch
mplayer-0.99.7_14.patch (text/plain), 982 bytes, created by
Mark Daniel Reidel
on 2006-06-13 22:00:26 UTC
(
hide
)
Description:
mplayer-0.99.7_14.patch
Filename:
MIME Type:
Creator:
Mark Daniel Reidel
Created:
2006-06-13 22:00:26 UTC
Size:
982 bytes
patch
obsolete
>diff -ruN --exclude=CVS /var/tmp/portbackup/multimedia/mplayer/files/patch-ad /usr/ports/multimedia/mplayer/files/patch-ad >--- /var/tmp/portbackup/multimedia/mplayer/files/patch-ad Tue Jun 13 22:50:16 2006 >+++ /usr/ports/multimedia/mplayer/files/patch-ad Tue Jun 13 22:47:16 2006 >@@ -152,7 +152,7 @@ > fi > # internal faad: check if our dear gcc is able to compile it... > cp "`pwd`/libfaad2/cfft.c" $TMPC >-@@ -5935,7 +5874,7 @@ >+@@ -5935,12 +5878,12 @@ > cat > $TMPC << EOF > #include <inttypes.h> > #include <x264.h> >@@ -161,6 +161,12 @@ > #error We do not support old versions of x264. Get the latest from SVN. > #endif > int main(void) { x264_encoder_open((void*)0); return 0; } >+ EOF >+-_ld_x264="$_ld_x264 -lx264 $_ld_lm" >++_ld_x264="$_ld_x264 `pkg-config --libs x264` $_ld_lm" >+ if test "$_x264" != no && cc_check $_inc_x264 $_ld_x264 ; then >+ _x264=yes >+ _def_x264='#define HAVE_X264 1' > @@ -6115,8 +6054,11 @@ > if test "$_tv" = yes ; then > cat > $TMPC <<EOF
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 98914
: 67053