tlibregexp: new port - distro - linux distribution experiments
DIR Log
DIR Files
DIR Refs
DIR README
---
DIR commit a3f0c55e8df2af76a4fa254ee5ce5ee4bd79286e
DIR parent 2c9638ecb780b83d2a1a384eb038324731f3724c
HTML Author: z3bra <contactatz3bradotorg>
Date: Tue, 30 Oct 2018 08:26:04 +0100
libregexp: new port
Diffstat:
A pkg/libregexp/mkfile | 8 ++++++++
A pkg/libregexp/patches/000-fix-stdd… | 11 +++++++++++
2 files changed, 19 insertions(+), 0 deletions(-)
---
DIR diff --git a/pkg/libregexp/mkfile b/pkg/libregexp/mkfile
t@@ -0,0 +1,8 @@
+pkg = libregexp9
+ver = 2.0
+url = http://swtch.com/plan9port/unix/$pkg.tgz
+
+<../build.mk
+
+CFLAGS = ${CFLAGS} -c -I.
+MAKEFLAGS = PREFIX=`{pwd}/.rootfs
DIR diff --git a/pkg/libregexp/patches/000-fix-stddef-header.diff b/pkg/libregexp/patches/000-fix-stddef-header.diff
t@@ -0,0 +1,11 @@
+diff -urN a/lib9.h b/lib9.h
+--- a/lib9.h 2017-09-01 18:32:12.000000000 +0200
++++ b/lib9.h 2018-10-30 08:22:18.612154392 +0100
+@@ -2,6 +2,7 @@
+ #include <setjmp.h>
+ #include <string.h>
+ #include <stdlib.h>
++#include <stddef.h>
+ #include <unistd.h>
+
+ #define exits(x) exit(x && *x ? 1 : 0)