logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: 59e17d3fce4dfb8e036f4871a435a442964ee857
parent d1eae8f1ef0cdff5ee73ec7f710926ea4c3f8c7c
Author: Michael Forney <mforney@mforney.org>
Date:   Thu,  8 Sep 2022 12:05:12 -0700

sndio: Use issetugid, strlcat, and strlcpy from libc

Diffstat:

Mpkg/sndio/config.h3+++
Mpkg/sndio/gen.lua4++--
2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/pkg/sndio/config.h b/pkg/sndio/config.h @@ -1,2 +1,5 @@ +#define HAVE_ISSETUGID 1 +#define HAVE_STRLCAT 1 +#define HAVE_STRLCPY 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_SOCK_CLOEXEC 1 diff --git a/pkg/sndio/gen.lua b/pkg/sndio/gen.lua @@ -1,6 +1,6 @@ cflags{ '-std=c99', '-Wall', '-Wpedantic', - '-Wno-format-truncation', + '-Wno-format-truncation', '-Wno-maybe-uninitialized', '-D _GNU_SOURCE', '-I $srcdir/libsndio', '-I $srcdir/bsd-compat', @@ -21,7 +21,7 @@ local objs = objects[[ sio_aucat.c sioctl.c sioctl_aucat.c ) - bsd-compat/(issetugid.c strlcat.c strlcpy.c strtonum.c clock_gettime.c) + bsd-compat/(getpeereid.c issetugid.c strlcat.c strlcpy.c strtonum.c clock_gettime.c) $builddir/pkg/tinyalsa/libtinyalsa.a ]]