diff options
author | nox <nox@FreeBSD.org> | 2013-05-25 21:39:23 +0800 |
---|---|---|
committer | nox <nox@FreeBSD.org> | 2013-05-25 21:39:23 +0800 |
commit | d0f267dfaebe4b27fc12ef5a525ecc832bb7a4c0 (patch) | |
tree | 6b593ef8ad4b757cfd99076c65a624d164f87d25 | |
parent | 65b0d79eae85f39f25acc6a946b78cb241c046de (diff) | |
download | freebsd-ports-gnome-d0f267dfaebe4b27fc12ef5a525ecc832bb7a4c0.tar.gz freebsd-ports-gnome-d0f267dfaebe4b27fc12ef5a525ecc832bb7a4c0.tar.zst freebsd-ports-gnome-d0f267dfaebe4b27fc12ef5a525ecc832bb7a4c0.zip |
- Fix bug uncovered by recent clang.
- Strip Makefile header.
- Bump PORTREVISION.
Submitted by: pointyhat amd64 10-exprun via miwi
-rw-r--r-- | multimedia/vdr-plugin-ttxtsubs/Makefile | 8 | ||||
-rw-r--r-- | multimedia/vdr-plugin-ttxtsubs/files/patch-vdr-1.7.29 | 25 |
2 files changed, 27 insertions, 6 deletions
diff --git a/multimedia/vdr-plugin-ttxtsubs/Makefile b/multimedia/vdr-plugin-ttxtsubs/Makefile index 66ae730b4113..09835c71d2cc 100644 --- a/multimedia/vdr-plugin-ttxtsubs/Makefile +++ b/multimedia/vdr-plugin-ttxtsubs/Makefile @@ -1,13 +1,9 @@ -# New ports collection makefile for: vdr-plugin-ttxtsubs -# Date created: Fri May 13 18:13:34 CEST 2011 -# Whom: Juergen Lock <nox@freebsd.org> -# +# Created by: Juergen Lock <nox@FreeBSD.org> # $FreeBSD$ -# PORTNAME= vdr-plugin-ttxtsubs PORTVERSION= 0.2.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= multimedia MASTER_SITES= http://projects.vdr-developer.org/attachments/download/725/ DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} diff --git a/multimedia/vdr-plugin-ttxtsubs/files/patch-vdr-1.7.29 b/multimedia/vdr-plugin-ttxtsubs/files/patch-vdr-1.7.29 new file mode 100644 index 000000000000..011554752592 --- /dev/null +++ b/multimedia/vdr-plugin-ttxtsubs/files/patch-vdr-1.7.29 @@ -0,0 +1,25 @@ +--- ttxtsubs.c.orig ++++ ttxtsubs.c +@@ -136,7 +136,7 @@ public: + + // -- cStatus + protected: +- virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber); ++ virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber, bool LiveView); + virtual void Replaying(const cControl *Control, const char *Name, const char *FileName, bool On); + // virtual void OsdClear(void) { ShowTtxt(); } + // virtual void OsdTitle(const char *Title) { HideTtxt(); } +@@ -333,10 +333,11 @@ bool cPluginTtxtsubs::SetupParse(const c + return true; + } + +-void cPluginTtxtsubs::ChannelSwitch(const cDevice *Device, int ChannelNumber) ++void cPluginTtxtsubs::ChannelSwitch(const cDevice *Device, int ChannelNumber, bool LiveView) + { + //dprint("cPluginTtxtsubs::ChannelSwitch(devicenr: %d, channelnr: %d) - mDispl: %x\n", Device->DeviceNumber(), ChannelNumber, mDispl); // XXX +- if (Device->IsPrimaryDevice() && !Device->Replaying() && ChannelNumber) ++ if (LiveView /*Device->IsPrimaryDevice()*/ && ++ !Device->Replaying() && ChannelNumber) + { + StopTtxt(); + DELETENULL(mLiveReceiver); |