From owner-freebsd-ports-bugs@freebsd.org Sat Mar 27 06:01:06 2021 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D27535BA25A for ; Sat, 27 Mar 2021 06:01:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F6p9t5QfGz4mgR for ; Sat, 27 Mar 2021 06:01:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B86825BA703; Sat, 27 Mar 2021 06:01:06 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B82ED5BA259 for ; Sat, 27 Mar 2021 06:01:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F6p9t4mRmz4mRt for ; Sat, 27 Mar 2021 06:01:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 970E127D71 for ; Sat, 27 Mar 2021 06:01:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12R6166r078774 for ; Sat, 27 Mar 2021 06:01:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12R616QQ078773 for ports-bugs@FreeBSD.org; Sat, 27 Mar 2021 06:01:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 254570] security/fwknop Fix compilation error on 13 and 14 Date: Sat, 27 Mar 2021 06:01:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sean.greven@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Mar 2021 06:01:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254570 --- Comment #1 from sean.greven@gmail.com --- Comment on attachment 223598 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D223598 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 drastica= lly wrong.=20=20 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@BBD13RC3:/usr/ports/security/fwknop # make =3D=3D=3D> Patching for fwknop-2.6.10_2 =3D=3D=3D> 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 typ= e: '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 --=20 You are receiving this mail because: You are the assignee for the bug.=