mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Add fix for parsing FreeBSD's sys/cdefs.h ('__func__')
- Bump portrevision PR: ports/61131 Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> Obtained from: Splint CVS
This commit is contained in:
parent
4056c20493
commit
7e191ae13c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97798
2 changed files with 12 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= splint
|
||||
PORTVERSION= 3.1.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel security
|
||||
MASTER_SITES= http://www.splint.org/downloads/
|
||||
EXTRACT_SUFX= .src.tgz
|
||||
|
|
11
devel/splint/files/patch-src::cpplib.c
Normal file
11
devel/splint/files/patch-src::cpplib.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/cpplib.c.orig Fri Jan 9 16:44:23 2004
|
||||
+++ src/cpplib.c Fri Jan 9 16:44:51 2004
|
||||
@@ -2828,7 +2828,7 @@
|
||||
else if (hp->type == T_CONST)
|
||||
ok = !CPPOPTIONS (pfile)->done_initializing;
|
||||
else {
|
||||
- BADBRANCH;
|
||||
+ ok = FALSE; /* Redefining anything else is bad. */
|
||||
}
|
||||
|
||||
/* Print the warning if it's not ok. */
|
Loading…
Add table
Reference in a new issue