pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/news/nntpclnt



Module Name:    pkgsrc
Committed By:   vins
Date:           Sun Nov 30 15:07:17 UTC 2025

Modified Files:
        pkgsrc/news/nntpclnt: Makefile
        pkgsrc/news/nntpclnt/files: config.NetBSD.sh
        pkgsrc/news/nntpclnt/patches: patch-aa

Log Message:
nntpclnt: fix build


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/news/nntpclnt/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/news/nntpclnt/files/config.NetBSD.sh
cvs rdiff -u -r1.5 -r1.6 pkgsrc/news/nntpclnt/patches/patch-aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/news/nntpclnt/Makefile
diff -u pkgsrc/news/nntpclnt/Makefile:1.40 pkgsrc/news/nntpclnt/Makefile:1.41
--- pkgsrc/news/nntpclnt/Makefile:1.40  Mon Nov  4 19:17:11 2019
+++ pkgsrc/news/nntpclnt/Makefile       Sun Nov 30 15:07:16 2025
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.40 2019/11/04 19:17:11 rillig Exp $
+# $NetBSD: Makefile,v 1.41 2025/11/30 15:07:16 vins Exp $
 
 DISTNAME=      nntpclnt-1.6.1
-PKGREVISION=   6
+PKGREVISION=   7
 CATEGORIES=    news
 MASTER_SITES=  # http://ftp.sunet.se/pub/news/nntp/
 
@@ -17,6 +17,8 @@ NO_BIN_ON_CDROM=      ${RESTRICTED}
 
 CONFLICTS+=    inn-[0-9]*
 
+FORCE_C_STD=   c89
+
 BUILD_TARGET=          inews
 PKG_GROUPS=            news
 PKG_SYSCONFSUBDIR=     nntp

Index: pkgsrc/news/nntpclnt/files/config.NetBSD.sh
diff -u pkgsrc/news/nntpclnt/files/config.NetBSD.sh:1.4 pkgsrc/news/nntpclnt/files/config.NetBSD.sh:1.5
--- pkgsrc/news/nntpclnt/files/config.NetBSD.sh:1.4     Wed Apr  7 13:56:43 2004
+++ pkgsrc/news/nntpclnt/files/config.NetBSD.sh Sun Nov 30 15:07:17 2025
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: config.NetBSD.sh,v 1.4 2004/04/07 13:56:43 cube Exp $
+# $NetBSD: config.NetBSD.sh,v 1.5 2025/11/30 15:07:17 vins Exp $
 #
 # config.sh
 # This file was produced by running the Configure script
@@ -58,7 +58,7 @@ mansrc='@PREFIX@/man/man1'
 manext='1'
 rootid='0'
 strchr='define'
-memcpy='define'
+memcpy='undef'
 sunos4='undef'
 solaris='undef'
 portable='define'

Index: pkgsrc/news/nntpclnt/patches/patch-aa
diff -u pkgsrc/news/nntpclnt/patches/patch-aa:1.5 pkgsrc/news/nntpclnt/patches/patch-aa:1.6
--- pkgsrc/news/nntpclnt/patches/patch-aa:1.5   Fri Apr  1 03:32:07 2005
+++ pkgsrc/news/nntpclnt/patches/patch-aa       Sun Nov 30 15:07:17 2025
@@ -1,21 +1,22 @@
-$NetBSD: patch-aa,v 1.5 2005/04/01 03:32:07 kim Exp $
+$NetBSD: patch-aa,v 1.6 2025/11/30 15:07:17 vins Exp $
 
---- uname.c.orig       1994-08-11 17:37:53.000000000 -0400
-+++ uname.c    2005-03-31 22:30:11.000000000 -0500
-@@ -16,4 +16,5 @@
+--- uname.c.orig       1994-08-11 21:37:53.000000000 +0000
++++ uname.c
+@@ -16,4 +16,6 @@ static char  *rcsId = "@(#)$Id: uname.c,v
  
  #include <stdio.h>
 +#include <strings.h>
++#include <stdlib.h>
  #include "config.h"
  
-@@ -67,5 +68,5 @@
+@@ -67,5 +69,5 @@ char *uptr;
  {
      FILE * uucpf;
 -    char * hostname;
 +    char * p;
      if ((uucpf = fopen(HOSTFILE,"r")) == NULL) {
        fprintf(stderr,"Couldn't open %s to determine hostname. Contact your system administrator.\n", 
-@@ -74,5 +75,4 @@
+@@ -74,5 +76,4 @@ char *uptr;
      } else {
        fgets(uptr, 256, uucpf);
 -      fclose(tmpfp);



Home | Main Index | Thread Index | Old Index