diff options
author | sborrill <sborrill> | 2009-01-28 17:53:37 +0000 |
---|---|---|
committer | sborrill <sborrill> | 2009-01-28 17:53:37 +0000 |
commit | f05f084e69f10d3aaed100cc9b87ce77823c1b22 (patch) | |
tree | f14ebb130048b9bde2a67d2f9505a22781b51180 /multimedia | |
parent | 8c458d4a16dc2a53c83f9533687bb6ead23d0284 (diff) | |
download | pkgsrc-f05f084e69f10d3aaed100cc9b87ce77823c1b22.tar.gz |
Fix build failure in x264.c with the version of x264-devel now in pkgsrc
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/vlc08/distinfo | 3 | ||||
-rw-r--r-- | multimedia/vlc08/patches/patch-x264.c | 35 |
2 files changed, 37 insertions, 1 deletions
diff --git a/multimedia/vlc08/distinfo b/multimedia/vlc08/distinfo index be1e52a7c5c..7925d22dbdc 100644 --- a/multimedia/vlc08/distinfo +++ b/multimedia/vlc08/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2008/09/12 14:47:39 sborrill Exp $ +$NetBSD: distinfo,v 1.7 2009/01/28 17:53:37 sborrill Exp $ SHA1 (vlc-0.8.6i.tar.bz2) = 4c6f45dffe3a8309ce201897040dc1f82b9cde99 RMD160 (vlc-0.8.6i.tar.bz2) = a5da4e1e0980594c678c04016491c8a373df4017 @@ -7,3 +7,4 @@ SHA1 (patch-aa) = 497a83bb0f1e2c095a81aa84115e66b56dd47e2c SHA1 (patch-mmstu.c) = ef4bed6fb5871790bb9198dad4961384f3e38d16 SHA1 (patch-mmstu.h) = a11be24360948bcd8ca32bd7d01020e34c0801ad SHA1 (patch-tta.c) = 923852b9aedeb75eed052e532ce5ddf50ab19951 +SHA1 (patch-x264.c) = 97dae5c57365e13171f85f299e52becfb1dc36f9 diff --git a/multimedia/vlc08/patches/patch-x264.c b/multimedia/vlc08/patches/patch-x264.c new file mode 100644 index 00000000000..f738e7b9c18 --- /dev/null +++ b/multimedia/vlc08/patches/patch-x264.c @@ -0,0 +1,35 @@ +$NetBSD: patch-x264.c,v 1.1 2009/01/28 17:53:37 sborrill Exp $ + +Fix build with version of x264-devel currently in pkgsrc + +--- modules/codec/x264.c.orig 2009-01-28 11:57:28.000000000 +0000 ++++ modules/codec/x264.c 2009-01-28 12:06:20.000000000 +0000 +@@ -889,8 +889,10 @@ + #endif + + #if X264_BUILD >= 0x0013 ++#if X264_BUILD < 65 + var_Get( p_enc, SOUT_CFG_PREFIX "b-adapt", &val ); + p_sys->param.b_bframe_adaptive = val.b_bool; ++#endif + + var_Get( p_enc, SOUT_CFG_PREFIX "b-bias", &val ); + if( val.i_int >= -100 && val.i_int <= 100 ) +@@ -930,7 +932,7 @@ + p_sys->param.analyse.i_trellis = val.i_int; + #endif + +-#if X264_BUILD >= 41 ++#if X264_BUILD >= 41 && X264_BUILD < 65 + var_Get( p_enc, SOUT_CFG_PREFIX "b-rdo", &val ); + p_sys->param.analyse.b_bframe_rdo = val.b_bool; + #endif +@@ -940,7 +942,7 @@ + p_sys->param.analyse.b_fast_pskip = val.b_bool; + #endif + +-#if X264_BUILD >= 43 ++#if X264_BUILD >= 43 && X264_BUILD < 65 + var_Get( p_enc, SOUT_CFG_PREFIX "bime", &val ); + p_sys->param.analyse.b_bidir_me = val.b_bool; + #endif |