distro

small linux distro experiment
Log | Files | Refs

commit a3f0c55e8df2af76a4fa254ee5ce5ee4bd79286e
parent 2c9638ecb780b83d2a1a384eb038324731f3724c
Author: z3bra <contactatz3bradotorg>
Date:   Tue, 30 Oct 2018 08:26:04 +0100

libregexp: new port

Diffstat:
pkg/libregexp/mkfile | 8++++++++
pkg/libregexp/patches/000-fix-stddef-header.diff | 11+++++++++++
2 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/pkg/libregexp/mkfile b/pkg/libregexp/mkfile @@ -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 diff --git a/pkg/libregexp/patches/000-fix-stddef-header.diff b/pkg/libregexp/patches/000-fix-stddef-header.diff @@ -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)