summaryrefslogtreecommitdiff
path: root/multimedia/xawtv/files/patch-console::scantv.c
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/xawtv/files/patch-console::scantv.c')
-rw-r--r--multimedia/xawtv/files/patch-console::scantv.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/multimedia/xawtv/files/patch-console::scantv.c b/multimedia/xawtv/files/patch-console::scantv.c
new file mode 100644
index 000000000000..968457a392a1
--- /dev/null
+++ b/multimedia/xawtv/files/patch-console::scantv.c
@@ -0,0 +1,14 @@
+--- console/scantv.c.orig Wed Feb 11 23:14:16 2004
++++ console/scantv.c Wed Feb 11 23:15:04 2004
+@@ -245,7 +245,11 @@
+ fprintf(stderr,"no station\n");
+ continue;
+ }
++#ifdef __FreeBSD__ /* Actually it won't work for FreeBSD... */
++ name = NULL;
++#else
+ name = get_vbi_name(vbi);
++#endif
+ fprintf(stderr, "%s\n", name ? name : "???");
+ if (NULL == name) {
+ sprintf(dummy,"unknown (%s)",chanlist[i].name);