summaryrefslogtreecommitdiff
path: root/multimedia/xawtv/files/patch-console::scantv.c
blob: 968457a392a1dd23627973367280e9d379f886c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);