Hi ports@,
Here is a diff to update lpeg to 1.0.2.
Tested at runtime with textproc/lua-{cosmo,lunamark}, and also rebuilt
editors/neovim and print/sile which use it as BUILD_DEPENDS.
Comments? OK?
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/lpeg/Makefile,v
retrieving revision 1.19
diff -u -p -r1.19 Makefile
--- Makefile 12 Jul 2019 20:44:41 -0000 1.19
+++ Makefile 5 Nov 2019 15:45:07 -0000
@@ -1,7 +1,7 @@
# $OpenBSD: Makefile,v 1.19 2019/07/12 20:44:41 sthen Exp $
COMMENT= parsing expression grammars library for lua
-DISTNAME= lpeg-1.0.1
+DISTNAME= lpeg-1.0.2
PKGNAME= lua-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= http://www.inf.puc-rio.br/~roberto/lpeg/
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/lpeg/distinfo,v
retrieving revision 1.9
diff -u -p -r1.9 distinfo
--- distinfo 16 Feb 2017 14:24:41 -0000 1.9
+++ distinfo 5 Nov 2019 15:45:07 -0000
@@ -1,2 +1,2 @@
-SHA256 (lpeg-1.0.1.tar.gz) = Ytn3qeo8HyFcd+DK3YU0xq2a8PtxHD+JGIqIkccvAms=
-SIZE (lpeg-1.0.1.tar.gz) = 71527
+SHA256 (lpeg-1.0.2.tar.gz) = SNZldgUbbHg4j6rQm3BJMJMmRYj80PJY3aqxzdShX/4=
+SIZE (lpeg-1.0.2.tar.gz) = 71840
Index: patches/patch-makefile
===================================================================
RCS file: /cvs/ports/devel/lpeg/patches/patch-makefile,v
retrieving revision 1.10
diff -u -p -r1.10 patch-makefile
--- patches/patch-makefile 5 Jun 2015 08:27:26 -0000 1.10
+++ patches/patch-makefile 5 Nov 2019 15:45:07 -0000
@@ -1,13 +1,14 @@
$OpenBSD: patch-makefile,v 1.10 2015/06/05 08:27:26 ajacoutot Exp $
---- makefile.orig Wed Mar 4 18:34:17 2015
-+++ makefile Fri Jun 5 10:24:55 2015
+Index: makefile
+--- makefile.orig
++++ makefile
@@ -1,5 +1,5 @@
LIBNAME = lpeg
-LUADIR = ../lua/
+LUADIR = ${MODLUA_INCL_DIR}
- COPT = -O2
- # COPT = -DLPEG_DEBUG -g
+ COPT = -O2 -DNDEBUG
+ # COPT = -g
@@ -15,7 +15,6 @@ CWARNS = -Wall -Wextra -pedantic \
-Wundef \
-Wwrite-strings \