pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/news/newsfetch
Module Name: pkgsrc
Committed By: nia
Date: Sun Mar 22 09:43:00 UTC 2026
Modified Files:
pkgsrc/news/newsfetch: distinfo
pkgsrc/news/newsfetch/patches: patch-ab patch-ac patch-ad
Added Files:
pkgsrc/news/newsfetch/patches: patch-getopt.c
Log Message:
newsfetch: Fix implicit function decls
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/news/newsfetch/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/news/newsfetch/patches/patch-ab
cvs rdiff -u -r1.1 -r1.2 pkgsrc/news/newsfetch/patches/patch-ac \
pkgsrc/news/newsfetch/patches/patch-ad
cvs rdiff -u -r0 -r1.1 pkgsrc/news/newsfetch/patches/patch-getopt.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/news/newsfetch/distinfo
diff -u pkgsrc/news/newsfetch/distinfo:1.11 pkgsrc/news/newsfetch/distinfo:1.12
--- pkgsrc/news/newsfetch/distinfo:1.11 Tue Oct 26 11:09:35 2021
+++ pkgsrc/news/newsfetch/distinfo Sun Mar 22 09:42:59 2026
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.11 2021/10/26 11:09:35 nia Exp $
+$NetBSD: distinfo,v 1.12 2026/03/22 09:42:59 nia Exp $
BLAKE2s (newsfetch-1.3.tar.gz) = de153bde202ebd409084db71373d7b26d1d8f4c3ac9fafdd688ca72dd6ae0cfb
SHA512 (newsfetch-1.3.tar.gz) = 206c16bb0e3d8bc90f3183b56e4388e880ac0a0345afa424a7b684385e41d36b95c2655f9982648de858d616890bae709f59fcf7c00b8ee58f1687e07f707e00
Size (newsfetch-1.3.tar.gz) = 12159 bytes
SHA1 (patch-aa) = 57bf7387cf8a3b6c1189d782b054750d21c31c94
-SHA1 (patch-ab) = d0d064038a04a125f48aeeaa83f69f0f5d4e1720
-SHA1 (patch-ac) = 2241ba0950d3ee5f4c0c253cf4870cb4e070fe11
-SHA1 (patch-ad) = bda1504ce87969da67b14675bdecf351e7bdf148
+SHA1 (patch-ab) = d32fc4becca3675d0852f4bb5cce6b95ec8eb23b
+SHA1 (patch-ac) = b70b50a8e225beb64213e2d2e568cc69c66d485d
+SHA1 (patch-ad) = 837cf38d4ecd5904bb9842ac49d3e3049c945db3
+SHA1 (patch-getopt.c) = 7835a05989bc5971dad951d90e63e24e198f8eda
Index: pkgsrc/news/newsfetch/patches/patch-ab
diff -u pkgsrc/news/newsfetch/patches/patch-ab:1.2 pkgsrc/news/newsfetch/patches/patch-ab:1.3
--- pkgsrc/news/newsfetch/patches/patch-ab:1.2 Sun Mar 7 07:28:22 2010
+++ pkgsrc/news/newsfetch/patches/patch-ab Sun Mar 22 09:42:59 2026
@@ -1,8 +1,16 @@
-$NetBSD: patch-ab,v 1.2 2010/03/07 07:28:22 dholland Exp $
+$NetBSD: patch-ab,v 1.3 2026/03/22 09:42:59 nia Exp $
--- nntp.c.orig 2000-11-13 02:01:49.000000000 +0000
+++ nntp.c
-@@ -23,7 +23,7 @@ extern FILE *rcfp, *rctmpfp, *socket_fp[
+@@ -2,6 +2,7 @@
+ * nntp.c: the protocol workhorse module for newsfetch
+ */
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <pwd.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
+@@ -23,7 +24,7 @@ extern FILE *rcfp, *rctmpfp, *socket_fp[
char *header;
@@ -11,7 +19,7 @@ $NetBSD: patch-ab,v 1.2 2010/03/07 07:28
char command_buf[MAXBUFSIZE + 1];
/* lots of protos */
-@@ -51,7 +51,7 @@ void read_nntp_data()
+@@ -51,7 +52,7 @@ void read_nntp_data()
int set_reader_mode()
{
read_nntp_data();
@@ -20,7 +28,7 @@ $NetBSD: patch-ab,v 1.2 2010/03/07 07:28
read_nntp_data();
return (get_error(command_buf));
}
-@@ -191,7 +191,7 @@ int check_group()
+@@ -191,7 +192,7 @@ int check_group()
int first_art, last_art, total_art, tmp;
fprintf(stderr, "%s: ", group);
@@ -29,7 +37,7 @@ $NetBSD: patch-ab,v 1.2 2010/03/07 07:28
read_nntp_data();
#ifdef DEBUG
-@@ -220,7 +220,7 @@ read_nntp_data();
+@@ -220,7 +221,7 @@ read_nntp_data();
first_article = last_art - max_article + 1;
}
@@ -38,7 +46,7 @@ $NetBSD: patch-ab,v 1.2 2010/03/07 07:28
read_nntp_data();
while (!get_error_noprint(command_buf)) {
-@@ -238,7 +238,7 @@ read_nntp_data();
+@@ -238,7 +239,7 @@ read_nntp_data();
return (0);
}
@@ -47,7 +55,7 @@ $NetBSD: patch-ab,v 1.2 2010/03/07 07:28
read_nntp_data();
}
-@@ -302,7 +302,7 @@ int check_header = 1;
+@@ -302,7 +303,7 @@ int check_header = 1;
fprintf(stderr, " %c", 0xd);
}
@@ -56,7 +64,7 @@ $NetBSD: patch-ab,v 1.2 2010/03/07 07:28
read_nntp_data();
if (!get_error(command_buf))
-@@ -325,7 +325,7 @@ int check_header = 1;
+@@ -325,7 +326,7 @@ int check_header = 1;
/*
* Make it little fast
*/
@@ -65,7 +73,7 @@ $NetBSD: patch-ab,v 1.2 2010/03/07 07:28
article_fetching = 1;
#ifndef NO_STATUS_METER
-@@ -391,7 +391,7 @@ void get_group_list()
+@@ -391,7 +392,7 @@ void get_group_list()
char groupname[100];
fprintf(stderr, "\nList of NewsGroups:\n");
@@ -74,7 +82,7 @@ $NetBSD: patch-ab,v 1.2 2010/03/07 07:28
read_nntp_data();
if (!get_error_strmsg(command_buf))
-@@ -411,7 +411,7 @@ void get_group_list()
+@@ -411,7 +412,7 @@ void get_group_list()
void send_quit()
{
Index: pkgsrc/news/newsfetch/patches/patch-ac
diff -u pkgsrc/news/newsfetch/patches/patch-ac:1.1 pkgsrc/news/newsfetch/patches/patch-ac:1.2
--- pkgsrc/news/newsfetch/patches/patch-ac:1.1 Mon Mar 29 17:31:55 2004
+++ pkgsrc/news/newsfetch/patches/patch-ac Sun Mar 22 09:42:59 2026
@@ -1,8 +1,16 @@
-$NetBSD: patch-ac,v 1.1 2004/03/29 17:31:55 tv Exp $
+$NetBSD: patch-ac,v 1.2 2026/03/22 09:42:59 nia Exp $
---- net.c.orig Mon Nov 3 08:47:33 2003
+--- net.c.orig 2000-11-13 02:01:49.000000000 +0000
+++ net.c
-@@ -104,12 +104,12 @@ int connect_server(char *server_name, in
+@@ -1,6 +1,7 @@
+ /* net.c: networking module for the newsfetch program */
+ #include <stdio.h>
+ #include <string.h>
++#include <strings.h>
+ #include <ctype.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
+@@ -104,12 +105,12 @@ int connect_server(char *server_name, in
void create_fd(int socketid, FILE ** sfp)
{
Index: pkgsrc/news/newsfetch/patches/patch-ad
diff -u pkgsrc/news/newsfetch/patches/patch-ad:1.1 pkgsrc/news/newsfetch/patches/patch-ad:1.2
--- pkgsrc/news/newsfetch/patches/patch-ad:1.1 Mon Jan 2 23:22:33 2006
+++ pkgsrc/news/newsfetch/patches/patch-ad Sun Mar 22 09:42:59 2026
@@ -1,8 +1,15 @@
-$NetBSD: patch-ad,v 1.1 2006/01/02 23:22:33 joerg Exp $
+$NetBSD: patch-ad,v 1.2 2026/03/22 09:42:59 nia Exp $
---- util.c.orig 2006-01-02 23:21:16.000000000 +0000
+--- util.c.orig 2000-11-13 02:01:49.000000000 +0000
+++ util.c
-@@ -9,7 +9,6 @@
+@@ -1,5 +1,6 @@
+ /* util.c: general utilities module for newsfetch program */
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <sys/types.h>
+ #include <fcntl.h>
+ #include <sys/stat.h>
+@@ -9,7 +10,6 @@
#include <string.h>
#include "newsfetch.h"
Added files:
Index: pkgsrc/news/newsfetch/patches/patch-getopt.c
diff -u /dev/null pkgsrc/news/newsfetch/patches/patch-getopt.c:1.1
--- /dev/null Sun Mar 22 09:43:00 2026
+++ pkgsrc/news/newsfetch/patches/patch-getopt.c Sun Mar 22 09:42:59 2026
@@ -0,0 +1,13 @@
+$NetBSD: patch-getopt.c,v 1.1 2026/03/22 09:42:59 nia Exp $
+
+Fix implicit declaration of strcmp(3).
+
+--- getopt.c.orig 2026-03-22 09:30:28.527011599 +0000
++++ getopt.c
+@@ -1,5 +1,6 @@
+ /* getopt.c: local customized getopt module for newsfetch program */
+ #include <stdio.h>
++#include <string.h>
+
+ #define EPR fprintf(stderr,
+ #define ERR(str, chr) if(opterr){EPR "%s%c\n", str, chr);}
Home |
Main Index |
Thread Index |
Old Index