[vdr-plugin-satip] 01/01: Fixed "FTBFS with GCC 6 (Closes: #811948)

Tobias Grimm tiber-guest at moszumanska.debian.org
Sat Jan 30 14:24:47 UTC 2016


This is an automated email from the git hooks/post-receive script.

tiber-guest pushed a commit to branch master
in repository vdr-plugin-satip.

commit 33e0ed240202423ad22b7c928ee6a6d4b5a9eaf3
Author: Tobias Grimm <etobi at debian.org>
Date:   Sat Jan 23 18:47:13 2016 +0100

    Fixed "FTBFS with GCC 6 (Closes: #811948)
---
 common.h                        |  2 +-
 debian/changelog                |  6 ++++++
 debian/patches/gcc6-fixes.patch | 16 ++++++++++++++++
 debian/patches/series           |  1 +
 4 files changed, 24 insertions(+), 1 deletion(-)

diff --git a/common.h b/common.h
index ac9ea20..a17a1fd 100644
--- a/common.h
+++ b/common.h
@@ -52,7 +52,7 @@
   do {                                                       \
      if (exp) {                                              \
         char tmp[64];                                        \
-        esyslog("[%s,%d]: "errstr": %s", __FILE__, __LINE__, \
+        esyslog("[%s,%d]: " errstr ": %s", __FILE__, __LINE__, \
                 strerror_r(errno, tmp, sizeof(tmp)));        \
         func;                                                \
         ret;                                                 \
diff --git a/debian/changelog b/debian/changelog
index 05eaa9c..e941911 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+vdr-plugin-satip (2.2.3-2) unstable; urgency=medium
+
+  * Fixed "FTBFS with GCC 6 (Closes: #811948)
+
+ -- Tobias Grimm <etobi at debian.org>  Sat, 23 Jan 2016 18:47:02 +0100
+
 vdr-plugin-satip (2.2.3-1) unstable; urgency=medium
 
   [ Frank Neumann ]
diff --git a/debian/patches/gcc6-fixes.patch b/debian/patches/gcc6-fixes.patch
new file mode 100644
index 0000000..11be3cd
--- /dev/null
+++ b/debian/patches/gcc6-fixes.patch
@@ -0,0 +1,16 @@
+Description: GCC 6 related fixes
+Author: Tobias Grimm <etobi at debian.org>
+Bug: https://github.com/rofafor/vdr-plugin-satip/pull/18
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/common.h
++++ b/common.h
+@@ -52,7 +52,7 @@
+   do {                                                       \
+      if (exp) {                                              \
+         char tmp[64];                                        \
+-        esyslog("[%s,%d]: "errstr": %s", __FILE__, __LINE__, \
++        esyslog("[%s,%d]: " errstr ": %s", __FILE__, __LINE__, \
+                 strerror_r(errno, tmp, sizeof(tmp)));        \
+         func;                                                \
+         ret;                                                 \
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9d3fbcb
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+gcc6-fixes.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vdr-dvb/vdr-plugin-satip.git



More information about the pkg-vdr-dvb-changes mailing list