Index | Thread | Search

From:
Jonathan Gray <jsg@jsg.id.au>
Subject:
update devel/coccinelle to 1.3.3
To:
ports@openbsd.org
Date:
Mon, 7 Sep 2026 16:56:49 +1000

Download raw body.

Thread
from https://coccinelle.gitlabpages.inria.fr/website/distrib/changes.html

* 1.3.3
** Bugfixes:
- Improve performance with satLabel cache (thanks to Denis Efremov)

* 1.3.2
** Language:
- Minor tweaks to improve accuracy
** Features:
- Add --c-internals and --cocci-internals flags for debugging
- Use pcre2 instead of pcre
** Bugfixes:
- Fix performance regression introduced in 1.2 resulting in >2x improvement

Index: devel/coccinelle/Makefile
===================================================================
RCS file: /cvs/ports/devel/coccinelle/Makefile,v
diff -u -p -r1.62 Makefile
--- devel/coccinelle/Makefile	14 Dec 2025 12:48:46 -0000	1.62
+++ devel/coccinelle/Makefile	7 Sep 2026 06:35:12 -0000
@@ -7,7 +7,7 @@ COMMENT =	program matching and transform
 
 GH_ACCOUNT =	coccinelle
 GH_PROJECT =	coccinelle
-GH_TAGNAME =	1.3.1
+GH_TAGNAME =	1.3.3
 
 CATEGORIES =	devel
 
@@ -16,7 +16,7 @@ HOMEPAGE =	https://coccinelle.gitlabpage
 # GPLv2 only
 PERMIT_PACKAGE =	Yes
 
-WANTLIB =  c m pcre pthread
+WANTLIB =  c m pcre2-8 pthread
 
 MODULES =	lang/ocaml \
 		lang/python
@@ -27,7 +27,7 @@ BUILD_DEPENDS =	${RUN_DEPENDS} \
 		textproc/hevea \
 		textproc/latexmk
 
-LIB_DEPENDS =	devel/pcre
+LIB_DEPENDS =	devel/pcre2
 
 RUN_DEPENDS =	sysutils/ggrep \
 		textproc/gdiff
Index: devel/coccinelle/distinfo
===================================================================
RCS file: /cvs/ports/devel/coccinelle/distinfo,v
diff -u -p -r1.17 distinfo
--- devel/coccinelle/distinfo	14 Dec 2025 12:48:46 -0000	1.17
+++ devel/coccinelle/distinfo	7 Sep 2026 06:33:28 -0000
@@ -1,2 +1,2 @@
-SHA256 (coccinelle-1.3.1.tar.gz) = hZibN6KzfDf2KulXYELAyBKQj5fax27LvclwciWs7Xk=
-SIZE (coccinelle-1.3.1.tar.gz) = 3115706
+SHA256 (coccinelle-1.3.3.tar.gz) = LX0qO7BYMlO11I49+j8hdQ2c+X/lxOeUcAJHHTgo1Dc=
+SIZE (coccinelle-1.3.3.tar.gz) = 3161559
Index: devel/coccinelle/patches/patch-cocci_ml
===================================================================
RCS file: /cvs/ports/devel/coccinelle/patches/patch-cocci_ml,v
diff -u -p -r1.13 patch-cocci_ml
--- devel/coccinelle/patches/patch-cocci_ml	14 Dec 2025 12:48:46 -0000	1.13
+++ devel/coccinelle/patches/patch-cocci_ml	7 Sep 2026 06:38:37 -0000
@@ -16,8 +16,8 @@ Index: cocci.ml
  
        ) in
        let com =
--	Printf.sprintf "egrep -q '(%s)' %s"
-+	Printf.sprintf "gegrep -q '(%s)' %s"
+-	Printf.sprintf "grep -E -q '(%s)' %s"
++	Printf.sprintf "ggrep -E -q '(%s)' %s"
  	  (String.concat "|" tokens)
  	  (String.concat " " (List.map fst cfiles)) in
        (match Sys.command com with
Index: devel/coccinelle/pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/coccinelle/pkg/PLIST,v
diff -u -p -r1.20 PLIST
--- devel/coccinelle/pkg/PLIST	14 Dec 2025 12:48:46 -0000	1.20
+++ devel/coccinelle/pkg/PLIST	7 Sep 2026 06:41:24 -0000
@@ -26,6 +26,8 @@ lib/coccinelle/ocaml/flag.cmi
 lib/coccinelle/ocaml/flag.cmx
 lib/coccinelle/ocaml/flag_parsing_c.cmi
 lib/coccinelle/ocaml/flag_parsing_c.cmx
+lib/coccinelle/ocaml/internal_print_c.cmi
+lib/coccinelle/ocaml/internal_print_c.cmx
 lib/coccinelle/ocaml/iteration.cmi
 lib/coccinelle/ocaml/iteration.cmx
 lib/coccinelle/ocaml/lexer_c.cmi
@@ -83,7 +85,7 @@ lib/coccinelle/python/coccilib/trac.py
 lib/coccinelle/python/coccilib/xml_firehose.py
 lib/coccinelle/standard.h
 lib/coccinelle/standard.iso
-@so lib/ocaml/stublibs/dllpcre_stubs.so
+@so lib/ocaml/stublibs/dllpcre2_stubs.so
 @so lib/ocaml/stublibs/dllpyml_stubs.so
 @man man/man1/pycocci.1
 @man man/man1/spatch.1