git: c6fd6d14d22f - main - devel/cproto: Update to 4.7w

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Tue, 20 Aug 2024 08:46:15 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c6fd6d14d22f2ec7b1ff6567af917de12859aefd

commit c6fd6d14d22f2ec7b1ff6567af917de12859aefd
Author:     Thomas E. Dickey <dickey@invisible-island.net>
AuthorDate: 2024-08-20 08:43:23 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-08-20 08:44:50 +0000

    devel/cproto: Update to 4.7w
    
    - Add URL mirror
    
    While I'm here:
    
    - Define LICENSE_FILE
    - Remove GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
    - Regen patch
    
    ChangeLog:      https://invisible-island.net/cproto/CHANGES
    PR:             276626
---
 devel/cproto/Makefile             | 8 ++++----
 devel/cproto/distinfo             | 5 +++--
 devel/cproto/files/patch-system.h | 6 +++---
 3 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/devel/cproto/Makefile b/devel/cproto/Makefile
index 221d01c8f1d8..63aab107efa5 100644
--- a/devel/cproto/Makefile
+++ b/devel/cproto/Makefile
@@ -1,18 +1,18 @@
 PORTNAME=	cproto
-PORTVERSION=	4.7k
-PORTREVISION=	1
+PORTVERSION=	4.7w
 CATEGORIES=	devel
-MASTER_SITES=	ftp://invisible-island.net/cproto/
+MASTER_SITES=	https://invisible-island.net/archives/${PORTNAME}/\
+		https://invisible-mirror.net/archives/${PORTNAME}/
 
 MAINTAINER=	thomas@bsdunix.ch
 COMMENT=	Generate C function prototypes and convert function definitions
 WWW=		https://invisible-island.net/cproto/
 
 LICENSE=	PD
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		tar:tgz
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
 PLIST_FILES=	bin/cproto share/man/man1/cproto.1.gz
 
diff --git a/devel/cproto/distinfo b/devel/cproto/distinfo
index 28e5da9acb9b..333b26fc27ce 100644
--- a/devel/cproto/distinfo
+++ b/devel/cproto/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cproto-4.7k.tgz) = e8e1d7994b9141d56144f2e82ae679c3891f3b5e635837d666a52244cc59e2d0
-SIZE (cproto-4.7k.tgz) = 163224
+TIMESTAMP = 1724142455
+SHA256 (cproto-4.7w.tgz) = 8b1d468ccd9a2859f399c75fefbdca0dfdca4dc31891fedbc40ac5c326d27b6d
+SIZE (cproto-4.7w.tgz) = 194904
diff --git a/devel/cproto/files/patch-system.h b/devel/cproto/files/patch-system.h
index eea3e0b27174..e2c33d2ce999 100644
--- a/devel/cproto/files/patch-system.h
+++ b/devel/cproto/files/patch-system.h
@@ -1,6 +1,6 @@
---- system.h.orig	2008-06-05 16:21:15.000000000 +0400
-+++ system.h	2008-06-05 16:21:28.000000000 +0400
-@@ -107,7 +107,7 @@
+--- system.h.orig	2011-01-02 19:23:38 UTC
++++ system.h
+@@ -126,7 +126,7 @@
  /* Default C preprocessor on UNIX systems */
  #ifndef MSDOS
  #ifndef CPP