File: use-dev-radio0.patch

package info (click to toggle)
gkrellm-radio 2.0.4-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 192 kB
  • sloc: ansic: 1,035; makefile: 75
file content (16 lines) | stat: -rw-r--r-- 487 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Subject: Use /dev/radio0 instead of /dev/radio
Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
Last-Update: 2022-01-06
Bug-Debian: https://bugs.debian.org/bug=440352

--- a/radio.c
+++ b/radio.c
@@ -14,7 +14,7 @@
 #include <asm/types.h>          /* XXX glibc */
 #include "videodev.h"
 
-#define DEVICE "/dev/radio"              /* major=81, minor=64 */
+#define DEVICE "/dev/radio0"             /* major=81, minor=64 */
 
 static int radio_fd = -1;
 static float freq = 101.3;