FreeBSD Bugzilla – Attachment 230667 Details for
Bug 260430
net/frr7: configure: error: This FRR version needs pthreads
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
-Wno-error patch
8af9f8a9145f.patch (text/plain), 1.47 KB, created by
Franco Fichtner
on 2022-01-03 12:28:35 UTC
(
hide
)
Description:
-Wno-error patch
Filename:
MIME Type:
Creator:
Franco Fichtner
Created:
2022-01-03 12:28:35 UTC
Size:
1.47 KB
patch
obsolete
>From 8af9f8a9145fbbf1d5cbb5ab1524ce90bc131ac7 Mon Sep 17 00:00:00 2001 >From: Franco Fichtner <franco@opnsense.org> >Date: Mon, 3 Jan 2022 12:57:20 +0100 >Subject: [PATCH] net/frr7: fix build due to -Werror clash during configure > >Likely caused by llvm update to version 13. > > configure:9654: checking for the pthreads library -lpthread > configure:9692: cc -std=gnu11 -o conftest -O2 -pipe -std=gnu99 -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -funwind-tables -Wall -Wextra -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith - Wbad-function-cast -Wwrite-strings -Wundef -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror -I/usr/local/include -I/usr/local/include -L/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/li b -fstack-protector-strong conftest.c -lpthread >&5 > conftest.c:27:51: error: parameter 'a' set but not used [-Werror,-Wunused-but-set-parameter] > static void routine(void *a) { a = 0; } > 1 error generated. >--- > net/frr7/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/net/frr7/Makefile b/net/frr7/Makefile >index cd4b803e54d..5264483bda3 100644 >--- a/net/frr7/Makefile >+++ b/net/frr7/Makefile >@@ -83,7 +83,7 @@ VTYSH_DESC= Build integrated vty shell > USERS= frr > GROUPS= frr frrvty > >-CPPFLAGS+= -I${LOCALBASE}/include >+CPPFLAGS+= -I${LOCALBASE}/include -Wno-error > LDFLAGS+= -L${LOCALBASE}/lib > > # PIM compile but didn't work on FreeBSD
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 260430
: 230667