diff options
author | Juergen Lock <nox@FreeBSD.org> | 2011-06-25 19:02:08 +0000 |
---|---|---|
committer | Juergen Lock <nox@FreeBSD.org> | 2011-06-25 19:02:08 +0000 |
commit | a37a080307b4cd0c72feaa3119bd0b5fb3d5a492 (patch) | |
tree | c77f02246bfc777a5984693c2440ba44c48fff8b /multimedia/vdr-plugin-streamdev | |
parent | e88ff75ef21222c184bd9ed2679cdcbb710914d5 (diff) | |
download | ports-a37a080307b4cd0c72feaa3119bd0b5fb3d5a492.tar.gz ports-a37a080307b4cd0c72feaa3119bd0b5fb3d5a492.zip |
Notes
Diffstat (limited to 'multimedia/vdr-plugin-streamdev')
-rw-r--r-- | multimedia/vdr-plugin-streamdev/Makefile | 2 | ||||
-rw-r--r-- | multimedia/vdr-plugin-streamdev/files/patch-server-connectionVTP.c | 28 | ||||
-rw-r--r-- | multimedia/vdr-plugin-streamdev/pkg-plist | 4 |
3 files changed, 31 insertions, 3 deletions
diff --git a/multimedia/vdr-plugin-streamdev/Makefile b/multimedia/vdr-plugin-streamdev/Makefile index ae9eb04f4fd3..1cc4000e3445 100644 --- a/multimedia/vdr-plugin-streamdev/Makefile +++ b/multimedia/vdr-plugin-streamdev/Makefile @@ -7,7 +7,7 @@ PORTNAME= vdr-plugin-streamdev PORTVERSION= 0.5.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= multimedia MASTER_SITES= http://projects.vdr-developer.org/attachments/download/497/:release \ LOCAL:snapshot diff --git a/multimedia/vdr-plugin-streamdev/files/patch-server-connectionVTP.c b/multimedia/vdr-plugin-streamdev/files/patch-server-connectionVTP.c new file mode 100644 index 000000000000..393216aa4e1d --- /dev/null +++ b/multimedia/vdr-plugin-streamdev/files/patch-server-connectionVTP.c @@ -0,0 +1,28 @@ +--- server/connectionVTP.c.orig ++++ server/connectionVTP.c +@@ -245,12 +245,14 @@ bool cLSTEHandler::Next(bool &Last) + if (m_Event != NULL) { + m_State = Title; + #ifdef __FreeBSD__ +- return m_Client->Respond(-215, "E %u %d %d %X", m_Event->EventID(), ++ return m_Client->Respond(-215, "E %u " PRId64 " %d %X", m_Event->EventID(), ++ (int64_t)m_Event->StartTime(), m_Event->Duration(), ++ m_Event->TableID()); + #else + return m_Client->Respond(-215, "E %u %ld %d %X", m_Event->EventID(), +-#endif + m_Event->StartTime(), m_Event->Duration(), + m_Event->TableID()); ++#endif + } else { + m_State = EndChannel; + return Next(Last); +@@ -292,7 +294,7 @@ bool cLSTEHandler::Next(bool &Last) + #endif /* PARENTALRATING */ + if (m_Event->Vps()) + #ifdef __FreeBSD__ +- return m_Client->Respond(-215, "V %d", m_Event->Vps()); ++ return m_Client->Respond(-215, "V " PRId64, (int64_t)m_Event->Vps()); + #else + return m_Client->Respond(-215, "V %ld", m_Event->Vps()); + #endif diff --git a/multimedia/vdr-plugin-streamdev/pkg-plist b/multimedia/vdr-plugin-streamdev/pkg-plist index 28e5d12ec26d..2eb750f792b1 100644 --- a/multimedia/vdr-plugin-streamdev/pkg-plist +++ b/multimedia/vdr-plugin-streamdev/pkg-plist @@ -1,5 +1,5 @@ -lib/vdr/libvdr-streamdev-client.so.1.7.18 -lib/vdr/libvdr-streamdev-server.so.1.7.18 +lib/vdr/libvdr-streamdev-client.so.1.7.19 +lib/vdr/libvdr-streamdev-server.so.1.7.19 @unexec if cmp -s %D/etc/vdr/plugins/streamdev-server/externremux.sh.sample %D/etc/vdr/plugins/streamdev-server/externremux.sh; then rm -f %D/etc/vdr/plugins/streamdev-server/externremux.sh; fi etc/vdr/plugins/streamdev-server/externremux.sh.sample @exec if [ ! -f %D/etc/vdr/plugins/streamdev-server/externremux.sh ] ; then cp -p %D/%F %B/externremux.sh; fi |