aboutsummaryrefslogtreecommitdiffstats
path: root/news/newsfetch/files
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-11-21 03:48:11 +0800
committerknu <knu@FreeBSD.org>2003-11-21 03:48:11 +0800
commitb6f834ee7b8c63b89347e7942b67cf8455d9caad (patch)
treea3f5d0d0a093b3beb6a328d383a78238052b3d8b /news/newsfetch/files
parentb0ab9961f65ca2adc2e9b03d4ce40fa3c4d36028 (diff)
downloadfreebsd-ports-gnome-b6f834ee7b8c63b89347e7942b67cf8455d9caad.tar.gz
freebsd-ports-gnome-b6f834ee7b8c63b89347e7942b67cf8455d9caad.tar.zst
freebsd-ports-gnome-b6f834ee7b8c63b89347e7942b67cf8455d9caad.zip
Fix build with gcc 3.x.
PR: 59487 Submitted by: Samy Al Bahra <samy@kerneled.com>
Diffstat (limited to 'news/newsfetch/files')
-rw-r--r--news/newsfetch/files/patch-opt.c13
-rw-r--r--news/newsfetch/files/patch-util.c27
2 files changed, 40 insertions, 0 deletions
diff --git a/news/newsfetch/files/patch-opt.c b/news/newsfetch/files/patch-opt.c
new file mode 100644
index 000000000000..a07d560b8083
--- /dev/null
+++ b/news/newsfetch/files/patch-opt.c
@@ -0,0 +1,13 @@
+--- opt.c.orig Wed Nov 19 19:01:47 2003
++++ opt.c Wed Nov 19 19:01:47 2003
+@@ -192,8 +192,8 @@
+ {
+
+ char *options=
+-" [-clsyvV] [-d dirname] [-f rcfile] [-t N]
+- [-T timeout] [-w M ] [-pPY filter] [-x command]
++" [-clsyvV] [-d dirname] [-f rcfile] [-t N]\n\
++ [-T timeout] [-w M ] [-pPY filter] [-x command]\n\
+ ";
+ fprintf(stderr,"Usage: %s nntp_server [options]\n", prog_name);
+ fprintf(stderr,"Options:\n%s\n",options);
diff --git a/news/newsfetch/files/patch-util.c b/news/newsfetch/files/patch-util.c
new file mode 100644
index 000000000000..b90dc048e2d9
--- /dev/null
+++ b/news/newsfetch/files/patch-util.c
@@ -0,0 +1,27 @@
+--- util.c.orig Wed Nov 19 19:01:47 2003
++++ util.c Wed Nov 19 19:01:47 2003
+@@ -61,15 +61,15 @@
+ FILE *fp, *fp1, *fp2;
+ char *tmp, buf[200], group[180], filterfile[100], procmailrcfile[100];
+ int i,j;
+-char *title="
+-
+-############### Generated by Newsfetch ##############################
+-# New version of Newsfetch is available from #
+-# #
+-# http://ulf.wep.net/newsfetch.html #
+-# Feedback and Comments to Yusuf Motiwala <yusuf@scientist.com> #
+-######################################################################
+-
++char *title="\n\
++\n\
++############### Generated by Newsfetch ##############################\n\
++# New version of Newsfetch is available from #\n\
++# #\n\
++# http://ulf.wep.net/newsfetch.html #\n\
++# Feedback and Comments to Yusuf Motiwala <yusuf@scientist.com> #\n\
++######################################################################\n\
++\n\
+ ";
+
+ strcpy(filterfile,homedir);