summaryrefslogtreecommitdiff
path: root/misc/videotext/files/patch-tvchannels.c
diff options
context:
space:
mode:
authorSimon Barner <barner@FreeBSD.org>2005-08-16 20:49:59 +0000
committerSimon Barner <barner@FreeBSD.org>2005-08-16 20:49:59 +0000
commitf2db0bcd9543cb80c6da9bebfc7bdd5a6316d432 (patch)
tree041e3203742321dd481435694bd5967559df7182 /misc/videotext/files/patch-tvchannels.c
parentFix security issue noted in http://drupal.org/files/sa-2005-004/advisory.txt. (diff)
- Fix build with new gcc version (patch-tvchannels.c)
- Remove s/gawk/awk/ patches and introduce build time dependecy to gawk because one of the scripts uses `strftime' which is not available in our base systems awk. Approved by: portmgr (clement)
Notes
Notes: svn path=/head/; revision=140896
Diffstat (limited to 'misc/videotext/files/patch-tvchannels.c')
-rw-r--r--misc/videotext/files/patch-tvchannels.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/misc/videotext/files/patch-tvchannels.c b/misc/videotext/files/patch-tvchannels.c
new file mode 100644
index 000000000000..8239c1aedd19
--- /dev/null
+++ b/misc/videotext/files/patch-tvchannels.c
@@ -0,0 +1,10 @@
+--- tvchannels.c.orig Tue Aug 16 20:12:35 2005
++++ tvchannels.c Tue Aug 16 20:17:07 2005
+@@ -106,6 +106,7 @@
+ (*chan)->freq = freq;
+ (*chan)->next = NULL;
+ chan_done:
++ ;
+ } else {
+ fprintf(stderr, "%s:%d: Warning: Frequency out of range, line ignored:\n%s\n",
+ FNAME, lcount, line);