aboutsummaryrefslogtreecommitdiffstats
path: root/news/nn
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-10-12 10:50:23 +0800
committerache <ache@FreeBSD.org>1994-10-12 10:50:23 +0800
commit9625463ad4dc7268c37955adce8f46e1fa7deb3e (patch)
tree31f7eb57b40ecc897d849a1f80488582ebc463cc /news/nn
parent981f2ee665ce194ee67bc5f3ad954d81f2fc98aa (diff)
downloadfreebsd-ports-gnome-9625463ad4dc7268c37955adce8f46e1fa7deb3e.tar.gz
freebsd-ports-gnome-9625463ad4dc7268c37955adce8f46e1fa7deb3e.tar.zst
freebsd-ports-gnome-9625463ad4dc7268c37955adce8f46e1fa7deb3e.zip
Fix for successful compilation when NNTP turned on
Diffstat (limited to 'news/nn')
-rw-r--r--news/nn/files/patch-ab33
1 files changed, 33 insertions, 0 deletions
diff --git a/news/nn/files/patch-ab b/news/nn/files/patch-ab
new file mode 100644
index 000000000000..f7a9dab9ee9b
--- /dev/null
+++ b/news/nn/files/patch-ab
@@ -0,0 +1,33 @@
+*** nntp.c.old Thu Nov 25 12:39:37 1993
+--- nntp.c Tue Oct 11 09:19:31 1994
+***************
+*** 85,91 ****
+--- 85,93 ----
+ import int silent, no_update;
+
+ import int sys_nerr;
++ #ifndef __FreeBSD__
+ import char *sys_errlist[];
++ #endif
+ extern void nn_exitmsg();
+ extern void sys_error();
+ extern int sys_warning();
+*** global.h.old Tue Oct 11 08:53:50 1994
+--- global.h Tue Oct 11 09:23:07 1994
+***************
+*** 656,662 ****
+ int nntp_set_group __APROTO((group_header *gh));
+ int nntp_get_active __APROTO((void));
+ FILE * nntp_get_newsgroups __APROTO((void));
+! struct novgroup *nntp_get_overview __APROTO((group_header *gh, int low, int high));
+ FILE * nntp_fopen_list __APROTO((char *cmd));
+ char * nntp_fgets __APROTO((char *buf, int size));
+ article_number *nntp_get_article_list __APROTO((group_header *gh));
+--- 656,662 ----
+ int nntp_set_group __APROTO((group_header *gh));
+ int nntp_get_active __APROTO((void));
+ FILE * nntp_get_newsgroups __APROTO((void));
+! struct novgroup *nntp_get_overview __APROTO((group_header *gh, article_number low, article_number high));
+ FILE * nntp_fopen_list __APROTO((char *cmd));
+ char * nntp_fgets __APROTO((char *buf, int size));
+ article_number *nntp_get_article_list __APROTO((group_header *gh));