aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vdr-plugin-eepg/files/patch-eepg.c
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/vdr-plugin-eepg/files/patch-eepg.c')
-rw-r--r--multimedia/vdr-plugin-eepg/files/patch-eepg.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/multimedia/vdr-plugin-eepg/files/patch-eepg.c b/multimedia/vdr-plugin-eepg/files/patch-eepg.c
deleted file mode 100644
index c28e8181d203..000000000000
--- a/multimedia/vdr-plugin-eepg/files/patch-eepg.c
+++ /dev/null
@@ -1,17 +0,0 @@
---- a/eepg.c
-+++ b/eepg.c
-@@ -427,7 +427,14 @@ static void load_file (int tableid, char
-
- while (fgets (buf, sizeof (buf), fp) != NULL) {
- from = binary = to = NULL;
-+#ifdef __FreeBSD__
-+ from = MALLOC(char, 256);
-+ binary = MALLOC(char, 1024);
-+ to = MALLOC(char, 256);
-+ int elems = sscanf (buf, "%255[^:]:%1023[^:]:%255[^:]:", from, binary, to);
-+#else
- int elems = sscanf (buf, "%a[^:]:%a[^:]:%a[^:]:", &from, &binary, &to);
-+#endif
- if (elems == 3) {
- int bin_len = strlen (binary);
- int from_char = resolve_char (from);