From 6262d29bb8c5502ff7a2d9fd4158607a31798348 Mon Sep 17 00:00:00 2001 From: espie Date: Fri, 28 Oct 2005 19:43:32 +0000 Subject: [PATCH] fix grammar for upcoming new bison. --- devel/splint/Makefile | 3 ++- devel/splint/patches/patch-src_cgrammar_y | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 devel/splint/patches/patch-src_cgrammar_y diff --git a/devel/splint/Makefile b/devel/splint/Makefile index 6ed3146e98a..048b3d9e709 100644 --- a/devel/splint/Makefile +++ b/devel/splint/Makefile @@ -1,7 +1,8 @@ -# $OpenBSD: Makefile,v 1.5 2004/11/24 00:11:04 espie Exp $ +# $OpenBSD: Makefile,v 1.6 2005/10/28 19:43:32 espie Exp $ COMMENT= "advanced lint: statically check C programs" DISTNAME= splint-3.1.1 +PKGNAME= ${DISTNAME}p0 CATEGORIES= devel HOMEPAGE= http://www.splint.org/ diff --git a/devel/splint/patches/patch-src_cgrammar_y b/devel/splint/patches/patch-src_cgrammar_y new file mode 100644 index 00000000000..8e227ef8c7a --- /dev/null +++ b/devel/splint/patches/patch-src_cgrammar_y @@ -0,0 +1,12 @@ +$OpenBSD: patch-src_cgrammar_y,v 1.1 2005/10/28 19:43:32 espie Exp $ +--- src/cgrammar.y.orig Fri Oct 28 21:30:19 2005 ++++ src/cgrammar.y Fri Oct 28 21:30:34 2005 +@@ -218,7 +218,7 @@ extern void yyerror (char *); + %type endIter + + %type functionClauses functionClausesPlain +-%type functionClause functionClause functionClausePlain ++%type functionClause functionClausePlain + + %type globalsClause globalsClausePlain + %type modifiesClause modifiesClausePlain nomodsClause