aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/08_debug_minor_fixes.dpatch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/08_debug_minor_fixes.dpatch')
-rw-r--r--debian/patches/08_debug_minor_fixes.dpatch37
1 files changed, 37 insertions, 0 deletions
diff --git a/debian/patches/08_debug_minor_fixes.dpatch b/debian/patches/08_debug_minor_fixes.dpatch
new file mode 100644
index 0000000..a85ef13
--- /dev/null
+++ b/debian/patches/08_debug_minor_fixes.dpatch
@@ -0,0 +1,37 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 08_debug_minor_fixes.dpatch by Darren Salt <linux@youmustbejoking.demon.co.uk>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Debug output included "0x0x" in a few places.
+
+@DPATCH@
+diff -urNad linuxtv-dvb-apps-1.1.0~/util/scan/scan.c linuxtv-dvb-apps-1.1.0/util/scan/scan.c
+--- linuxtv-dvb-apps-1.1.0~/util/scan/scan.c 2004-04-22 12:09:09.000000000 +0100
++++ linuxtv-dvb-apps-1.1.0/util/scan/scan.c 2005-10-22 18:32:32.427298462 +0100
+@@ -381,7 +383,7 @@
+ t->param.inversion = spectral_inversion;
+
+ if (verbosity >= 5) {
+- debug("0x%#04x/0x%#04x ", t->network_id, t->transport_stream_id);
++ debug("%#04x/%#04x ", t->network_id, t->transport_stream_id);
+ dump_dvb_parameters (stderr, t);
+ if (t->scan_done)
+ dprintf(5, " (done)");
+@@ -413,7 +415,7 @@
+ t->we_flag = buf[8] >> 7;
+
+ if (verbosity >= 5) {
+- debug("0x%#04x/0x%#04x ", t->network_id, t->transport_stream_id);
++ debug("%#04x/%#04x ", t->network_id, t->transport_stream_id);
+ dump_dvb_parameters (stderr, t);
+ if (t->scan_done)
+ dprintf(5, " (done)");
+@@ -467,7 +469,7 @@
+ t->other_frequency_flag = (buf[8] & 0x01);
+
+ if (verbosity >= 5) {
+- debug("0x%#04x/0x%#04x ", t->network_id, t->transport_stream_id);
++ debug("%#04x/%#04x ", t->network_id, t->transport_stream_id);
+ dump_dvb_parameters (stderr, t);
+ if (t->scan_done)
+ dprintf(5, " (done)");