From nobody Thu Dec 08 21:45:24 2022 X-Original-To: perl@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NSnks2NvXz4jY0v for ; Thu, 8 Dec 2022 21:45:25 +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 4NSnks0M52z3j36 for ; Thu, 8 Dec 2022 21:45:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670535925; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ONFOkFaOA74lMgA0OmqpF2rquX8ExWZgVTxnpPU6UZk=; b=cLArnSmqc98mecwt9yKY3QDJHggiZIIhGRjVDI8TaViUn9JV2FlvqkIk/zIYNthMHJyWYT bj7b3dCL2hh2Bxjso3CZYVfGBswjTtc3jiDv31r6chR+lhWTjD8iLAEav8ZsObBQ2Esc/K O/TkP0ZLmLI0o3CnBhLlqlP50yIQ2nw+uHLC0rlxICwckxZ1j6l7s64jX72EZ1bfHsg1vi O4A7pj+raY0l9rsdpzgEBUxgWENWEUuRfd31Hit2Tp+qIZPbnBITgBN7jESQ7nuyyY35P0 ywWVdh+de/YVcfQ2UtH8ODZ+yHhT95Z1w49hH1dyUqTz0EuWspNe+9UrRxXYRA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670535925; a=rsa-sha256; cv=none; b=nbW0IyhAL5fiT/n0UZHD5u/R9VLMoT7Wb2gg4xcrDk/hMtyIbZ3o4keYDYXFwXWY2J8jdJ Erk6fUJFElyVNzmPj5IeQFvO1xghnDwkGXnl0aQGYl7zHmP4uWAlaA8d2f85hlJT4N2NIF S6zvKlmqOy3ZvPIv3wtXr1TJApI8/Lz2sFlMRBjZqj6k5Tm8k0/ZAuX6r8Ig9rG9AVSVhP OSKE7TdC01kgbGr0H1o3vnvqVpUGHaWKbLYTfDRnPwqAY5nxp2MnhpGjv+Vud02r24Eiog +O+Q1fHZCQsyBHWGfa3xUpbSRvWEAOia73pvT4IGlu+CkM2fxzz9TtyUCAXrVA== 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 4NSnkr6Hx1z19y0 for ; Thu, 8 Dec 2022 21:45:24 +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 2B8LjOe9064506 for ; Thu, 8 Dec 2022 21:45:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2B8LjObd064504 for perl@FreeBSD.org; Thu, 8 Dec 2022 21:45:24 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: perl@FreeBSD.org Subject: [Bug 268258] security/p5-Crypt-SSLeay: fix build with clang 15 Date: Thu, 08 Dec 2022 21:45:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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 Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: perl@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: maintainer of a number of perl-related ports List-Archive: https://lists.freebsd.org/archives/freebsd-perl List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-perl@freebsd.org X-BeenThere: freebsd-perl@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268258 Bug ID: 268258 Summary: security/p5-Crypt-SSLeay: fix build with clang 15 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: perl@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(perl@FreeBSD.org) Assignee: perl@FreeBSD.org During an exp-run for llvm 15 (see bug 265425), it turned out that security/p5-Crypt-SSLeay failed to build with clang 15: SSLeay.xs:159:31: warning: call to undeclared function 'SSLv2_client_meth= od'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ctx =3D SSL_CTX_new(SSLv2_client_method()); ^ SSLeay.xs:159:31: error: incompatible integer to pointer conversion passi= ng 'int' to parameter of type 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') [-Wint-conversion] ctx =3D SSL_CTX_new(SSLv2_client_method()); ^~~~~~~~~~~~~~~~~~~~~ This is because SSLeay.xs uses the obsolete define OPENSSL_NO_SSL2 to deter= mine whether OpenSSL still supports SSLv2. Since this define was removed from OpenSSL 1.1 and later, define it via CFLAGS instead. --=20 You are receiving this mail because: You are the assignee for the bug.=