FreeBSD Bugzilla – Attachment 158310 Details for
Bug 201318
Fix devel/libdlna with ffmpeg 2.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Fix build with ffmpeg 2.7
libdlna.diff.txt (text/plain), 1.74 KB, created by
Thomas Zander
on 2015-07-03 20:52:51 UTC
(
hide
)
Description:
Fix build with ffmpeg 2.7
Filename:
MIME Type:
Creator:
Thomas Zander
Created:
2015-07-03 20:52:51 UTC
Size:
1.74 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 391271) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= libdlna > PORTVERSION= 0.2.3 >-PORTREVISION= 4 >+PORTREVISION= 5 > CATEGORIES= devel > MASTER_SITES= http://libdlna.geexbox.org/releases/ \ > LOCAL/ehaupt >@@ -25,8 +25,6 @@ > CFLAGS+= -I${LOCALBASE}/include > LDFLAGS+= -L${LOCALBASE}/lib > >-BROKEN= Does not build with ffmpeg-2.7 >- > post-patch: > @${REINPLACE_CMD} -e \ > 's#\(PKGCONFIG_DIR = \).*#\1${STAGEDIR}${PREFIX}/libdata/pkgconfig#' \ >Index: files/patch-src-profiles.c >=================================================================== >--- files/patch-src-profiles.c (revision 391271) >+++ files/patch-src-profiles.c (working copy) >@@ -1,6 +1,6 @@ >---- src/profiles.c.orig 2012-10-30 14:12:10.000000000 -0600 >-+++ src/profiles.c 2012-10-30 14:13:49.000000000 -0600 >-@@ -204,14 +204,24 @@ >+--- src/profiles.c.orig 2007-11-26 21:47:43.000000000 +0100 >++++ src/profiles.c 2015-07-03 22:44:50.380315167 +0200 >+@@ -204,14 +204,24 @@ av_profile_get_codecs (AVFormatContext * > > for (i = 0; i < ctx->nb_streams; i++) > { >@@ -25,7 +25,7 @@ > { > video_stream = i; > continue; >-@@ -280,7 +290,7 @@ >+@@ -280,14 +290,14 @@ dlna_guess_media_profile (dlna_t *dlna, > if (!dlna->inited) > dlna = dlna_init (); > >@@ -34,7 +34,15 @@ > { > if (dlna->verbosity) > fprintf (stderr, "can't open file: %s\n", filename); >-@@ -334,7 +344,7 @@ >+ return NULL; >+ } >+ >+- if (av_find_stream_info (ctx) < 0) >++ if (avformat_find_stream_info (ctx, NULL) < 0) >+ { >+ if (dlna->verbosity) >+ fprintf (stderr, "can't find stream info\n"); >+@@ -334,7 +344,7 @@ dlna_guess_media_profile (dlna_t *dlna, > p = p->next; > } >
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 Raw
Actions:
View
Attachments on
bug 201318
: 158310