[vdr-plugin-xineliboutput] 03/03: Added vdr-2.1.10-compat.patch from Lars Hanisch / yaVDR
Tobias Grimm
tiber-guest at moszumanska.debian.org
Sat Feb 14 12:59:21 UTC 2015
This is an automated email from the git hooks/post-receive script.
tiber-guest pushed a commit to branch master
in repository vdr-plugin-xineliboutput.
commit 8d8868cc3c485c9cff87cec1cb71ba5328d4540d
Author: etobi <git at e-tobi.net>
Date: Sat Feb 14 13:57:06 2015 +0100
Added vdr-2.1.10-compat.patch from Lars Hanisch / yaVDR
---
debian/changelog | 1 +
debian/patches/series | 1 +
debian/patches/vdr-2.1.10-compat.patch | 17 +++++++++++++++++
3 files changed, 19 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 84dfe61..3ceee38 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ vdr-plugin-xineliboutput (1.1.0+cvs20150211-2) unstable; urgency=medium
* Build-depend on vdr-dev (>= 2.1.10)
* Standards-Version: 3.9.6
+ * Added vdr-2.1.10-compat.patch from Lars Hanisch / yaVDR
-- Tobias Grimm <etobi at debian.org> Sat, 14 Feb 2015 13:41:18 +0100
diff --git a/debian/patches/series b/debian/patches/series
index 25f237d..1c2fe9a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
fix-segfault.patch
Makfile-fixes.patch
+vdr-2.1.10-compat.patch
diff --git a/debian/patches/vdr-2.1.10-compat.patch b/debian/patches/vdr-2.1.10-compat.patch
new file mode 100644
index 0000000..299ff94
--- /dev/null
+++ b/debian/patches/vdr-2.1.10-compat.patch
@@ -0,0 +1,17 @@
+--- a/osd.c
++++ b/osd.c
+@@ -514,12 +514,12 @@
+ if (IsTrueColor()) {
+
+ LOCK_PIXMAPS;
+- while (cPixmapMemory *pm = RenderPixmaps()) {
++ while (cPixmapMemory *pm = dynamic_cast<cPixmapMemory*>(RenderPixmaps())) {
+ int w = pm->ViewPort().Width();
+ int h = pm->ViewPort().Height();
+ int d = w * sizeof(tColor);
+ CmdArgb(Left() + pm->ViewPort().X(), Top() + pm->ViewPort().Y(), w, h, pm->Data(), h * d);
+- delete pm;
++ DestroyPixmap(pm);
+ }
+
+ return;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vdr-dvb/vdr-plugin-xineliboutput.git
More information about the pkg-vdr-dvb-changes
mailing list