diff options
| author | Michael Forney <mforney@mforney.org> | 2018-11-07 13:58:29 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2018-11-07 14:04:38 -0800 |
| commit | 80770716279ced2795dbdec6b92cc1a06be2ab61 (patch) | |
| tree | bff34f37cd7bdbc1246d34b22c2dfe94b55d25bd /pkg/openbsd/patch/0018-yacc-Remove-__unused.patch | |
| parent | 5a0f00b6c147fa44a4c2f2598a14154d8a5c155e (diff) | |
Build nc from libressl
This way we don't have to maintain the nc linux port patch ourselves.
It also avoids a circular dependency between the libressl and openbsd
packages.
Diffstat (limited to 'pkg/openbsd/patch/0018-yacc-Remove-__unused.patch')
| -rw-r--r-- | pkg/openbsd/patch/0018-yacc-Remove-__unused.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkg/openbsd/patch/0018-yacc-Remove-__unused.patch b/pkg/openbsd/patch/0018-yacc-Remove-__unused.patch new file mode 100644 index 00000000..d8e49be7 --- /dev/null +++ b/pkg/openbsd/patch/0018-yacc-Remove-__unused.patch @@ -0,0 +1,27 @@ +From 8c468833465d7fa0d5372807de01272414b1f4bb Mon Sep 17 00:00:00 2001 +From: Michael Forney <mforney@mforney.org> +Date: Tue, 10 Oct 2017 02:55:38 -0700 +Subject: [PATCH] yacc: Remove __unused + +We can't define this to __attribute__((unused)) because musl uses this +identifier as a structure field. +--- + usr.bin/yacc/main.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/usr.bin/yacc/main.c b/usr.bin/yacc/main.c +index 3d9f6add5c8..dd34a04c5bf 100644 +--- a/usr.bin/yacc/main.c ++++ b/usr.bin/yacc/main.c +@@ -122,7 +122,7 @@ done(int k) + + + void +-onintr(__unused int signo) ++onintr(int signo) + { + sigdie = 1; + done(1); +-- +2.14.2 + |
