Date: Thu, 7 Feb 2013 19:23:05 +0100 From: =?ISO-8859-1?Q?L=E9o_Schmitt?= <neomorphs@gmail.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/175933: [update] multimedia/xbmc 12.0.rc3 -> 12 Message-ID: <CABuESD3G-vxKhc1NXvrjvusbvUPbBg57c57SUsfKK5J%2BxVCPUg@mail.gmail.com> Resent-Message-ID: <201302071830.r17IU0le063462@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 175933 >Category: ports >Synopsis: update xbmc port to xbmc 12 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Feb 07 18:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: neomorphs >Release: FreeBSD 9.1-RELEASE amd64 >Organization: >Environment: >Description: Upgrade xbmc port from 12.0.r3_2 to 12.0, and fix for PR ports/175316 >How-To-Repeat: >Fix: Check LIBAVFORMAT_VERSION_INT if AVIO_FLAG_READ available. --- xbmc_12.patch begins here --- diff -Naur xbmc.orig/Makefile xbmc/Makefile --- xbmc.orig/Makefile 2013-02-06 20:24:31.000000000 +0100 +++ xbmc/Makefile 2013-02-06 20:15:33.000000000 +0100 @@ -1,8 +1,8 @@ # $FreeBSD: head/multimedia/xbmc/Makefile 311310 2013-01-31 13:38:42Z bapt $ PORTNAME= xbmc -DISTVERSION= 12.0.rc3 -PORTREVISION= 2 +DISTVERSION= 12 +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= mickael.maillot@gmail.com @@ -58,8 +58,8 @@ USE_GITHUB= yes GH_ACCOUNT= xbmc -GH_COMMIT= 7a6cb7f -GH_TAGNAME= Frodo_rc3 +GH_COMMIT= fb595f2 +GH_TAGNAME= Frodo USE_GMAKE= yes USE_PKGCONFIG= build diff -Naur xbmc.orig/distinfo xbmc/distinfo --- xbmc.orig/distinfo 2013-02-06 20:24:31.000000000 +0100 +++ xbmc/distinfo 2013-02-06 20:15:33.000000000 +0100 @@ -1,2 +1,2 @@ -SHA256 (xbmc-12.0.rc3.tar.gz) = 70e38433cd12d44fca068b1a3f000ecf6013c988b5f0d730b6be2caa21c12652 -SIZE (xbmc-12.0.rc3.tar.gz) = 64072535 +SHA256 (xbmc-12.tar.gz) = 2b1a7538f2579eec756d32008f075059950f9ee4f6c6dd4da14876646c37f881 +SIZE (xbmc-12.tar.gz) = 64158443 diff -Naur xbmc.orig/files/patch-xbmc__cdrip__EncoderFFmpeg.cpp xbmc/files/patch-xbmc__cdrip__EncoderFFmpeg.cpp --- xbmc.orig/files/patch-xbmc__cdrip__EncoderFFmpeg.cpp 1970-01-01 01:00:00.000000000 +0100 +++ xbmc/files/patch-xbmc__cdrip__EncoderFFmpeg.cpp 2013-02-06 20:15:33.000000000 +0100 @@ -0,0 +1,16 @@ +--- xbmc/cdrip/EncoderFFmpeg.cpp.orig 2013-02-06 19:11:19.000000000 +0100 ++++ xbmc/cdrip/EncoderFFmpeg.cpp 2013-02-06 19:11:45.000000000 +0100 +@@ -77,7 +77,13 @@ + } + + m_Format = m_dllAvFormat.avformat_alloc_context(); ++#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53,1,0) + m_Format->pb = m_dllAvFormat.avio_alloc_context(m_BCBuffer, sizeof(m_BCBuffer), AVIO_FLAG_READ, this, NULL, MuxerReadPacket, NULL); ++#elif LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53,0,0) ++ m_Format->pb = m_dllAvFormat.avio_alloc_context(m_BCBuffer, sizeof(m_BCBuffer), AVIO_RDONLY, this, NULL, MuxerReadPacket, NULL); ++#else ++ m_Format->pb = m_dllAvFormat.avio_alloc_context(m_BCBuffer, sizeof(m_BCBuffer), URL_RDONLY, this, NULL, MuxerReadPacket, NULL); ++#endif + if (!m_Format->pb) + { + m_dllAvUtil.av_freep(&m_Format); --- xbmc_12.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABuESD3G-vxKhc1NXvrjvusbvUPbBg57c57SUsfKK5J%2BxVCPUg>