[Bug 254570] security/fwknop Fix compilation error on 13 and 14
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Mar 27 06:01:06 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254570
--- Comment #1 from sean.greven at gmail.com ---
Comment on attachment 223598
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=223598
Fix compilation error on FreeBSD 13 and 14.
Hey Jens, thank you for creating this diff.
I am unable to apply this patch and I suspect I am doing something drastically
wrong.
I manually created the file patch-client_log__msg.h
and updated the Makefile with the changes however when I try run make I get:
root at BBD13RC3:/usr/ports/security/fwknop # make
===> Patching for fwknop-2.6.10_2
===> Applying FreeBSD patches for fwknop-2.6.10_2 from
/usr/ports/security/fwknop/files
File to patch:
and when I point that to the log_msg.h file manually it patches the file but
ends up with an error anyway.
./log_msg.h:1:1: error: expected identifier or '('
--- client/log_msg.h.orig 2021-03-26 08:55:00 UTC
^
./log_msg.h:7:2: error: extraneous closing brace ('}')
-} log_level_t;
^
./log_msg.h:7:4: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
-} log_level_t;
^
./log_msg.h:8:1: error: expected external declaration
+};
^
./log_msg.h:8:2: error: extraneous closing brace ('}')
+};
^
./log_msg.h:52:3: error: redefinition of 'log_level_t' with a different type:
'enum (anonymous enum at ./log_msg.h:43:1)' vs 'int'
} log_level_t;
^
./log_msg.h:7:4: note: previous definition is here
-} log_level_t;
^
1 warning and 5 errors generated.
*** [fwknop-fwknop.o] Error code 1
Any ideas
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list