1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/devel/cscope/files/patch-src_invlib.c
Rainer Hurling 7f8468989a devel/cscope: Port cleanup
General maintenance update:

- Remove Makefile line '#Created by' header
- Change PORTVERSION to DISTVERSION
- Correct COMMENT
- Move GNU_CONFIGURE=yes up
- Rewrite summary in pkg-descr
- Include a second link
- Add patches under files to suppress compiler warnings

PR:		250168
Submitted by:	Moritz Schmitt <moritz@schmi.tt> (maintainer)
Approved by:	arrowd (mentor)
Differential Revision:	https://reviews.freebsd.org/D26704
2020-10-07 15:59:40 +00:00

12 lines
284 B
C

--- src/invlib.c.orig 2020-10-05 13:04:06 UTC
+++ src/invlib.c
@@ -103,7 +103,7 @@ static int zipf[ZIPFSIZE + 1];
long
invmake(char *invname, char *invpost, FILE *infile)
{
- unsigned char *s;
+ char *s;
long num;
int i;
long fileindex = 0; /* initialze, to avoid warning */