Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2023 15:55:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 274133] openssh-portable configure test for zlib version is broken in FreeBSD 13.2
Message-ID:  <bug-274133-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274133

            Bug ID: 274133
           Summary: openssh-portable configure test for zlib version is
                    broken in FreeBSD 13.2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: buildisok, toolchain
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: hostmaster@whois.gts.net

Created attachment 245292
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D245292&action=
=3Dedit
proposed fix for zlib version test

Ports & Packages/openssh-portable

# uname -a
FreeBSD fbsd13_2 13.2-STABLE FreeBSD 13.2-STABLE stable/13-n256387-7af7a0d1=
b14e
GENERIC amd64


openssh-portable zlib test is broken -

1. FBSD 13.2 compiler does not work correctly for this -

        if (n !=3D 3 && n !=3D 4)

... it needs parentheses around each expression to work properly

2. zlib.h has -

        #define ZLIB_VERSION "1.3"

so n =3D=3D 2 for that string



proposed fix attached

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274133-7788>