svn commit: r319050 - in head/multimedia/vdr-plugin-ttxtsubs: . files
Juergen Lock
nox at FreeBSD.org
Sat May 25 13:39:24 UTC 2013
Author: nox
Date: Sat May 25 13:39:23 2013
New Revision: 319050
URL: http://svnweb.freebsd.org/changeset/ports/319050
Log:
- Fix bug uncovered by recent clang.
- Strip Makefile header.
- Bump PORTREVISION.
Submitted by: pointyhat amd64 10-exprun via miwi
Added:
head/multimedia/vdr-plugin-ttxtsubs/files/patch-vdr-1.7.29 (contents, props changed)
Modified:
head/multimedia/vdr-plugin-ttxtsubs/Makefile
Modified: head/multimedia/vdr-plugin-ttxtsubs/Makefile
==============================================================================
--- head/multimedia/vdr-plugin-ttxtsubs/Makefile Sat May 25 13:37:08 2013 (r319049)
+++ head/multimedia/vdr-plugin-ttxtsubs/Makefile Sat May 25 13:39:23 2013 (r319050)
@@ -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 at freebsd.org>
-#
+# Created by: Juergen Lock <nox at 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}
Added: head/multimedia/vdr-plugin-ttxtsubs/files/patch-vdr-1.7.29
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/vdr-plugin-ttxtsubs/files/patch-vdr-1.7.29 Sat May 25 13:39:23 2013 (r319050)
@@ -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);
More information about the svn-ports-head
mailing list