Attached please find a new patch that pledges audio/gsm and a diff to the Makefile that bumps the revision.
Jan
$OpenBSD$ --- src/toast.c.orig Mon Sep 12 17:41:27 2016 +++ src/toast.c Mon Sep 12 17:41:36 2016 @@ -756,6 +756,9 @@ int main P2((ac, av), int ac, char **av) extern int optind; extern char * optarg; + if (pledge("stdio rpath wpath cpath fattr", NULL) == -1) + err(1, NULL); + parse_argv0(*av); while ((opt = getopt(ac, av, "fcdpvhuaslVFC:")) != EOF) switch (opt) {
Index: Makefile =================================================================== RCS file: /cvs/ports/audio/gsm/Makefile,v retrieving revision 1.44 diff -u -p -r1.44 Makefile --- Makefile 10 Mar 2016 23:05:53 -0000 1.44 +++ Makefile 12 Sep 2016 15:55:40 -0000 @@ -3,6 +3,7 @@ COMMENT= u-law to gsm encoding audio converter and library DISTNAME= gsm-1.0.14 +REVISION= 0 WRKDIST= ${WRKDIR}/gsm-1.0-pl14 SHARED_LIBS= gsm 1.0