From nobody Sat Sep 28 13:41:42 2024 X-Original-To: dev-commits-ports-all@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 4XG7m65Lz3z5XMhl; Sat, 28 Sep 2024 13:41:42 +0000 (UTC) (envelope-from git@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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XG7m64h59z4Vqc; Sat, 28 Sep 2024 13:41:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727530902; 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=5X3f6MNjzIiuHJqaBSHhTUglQYqZzvmz8FbPZ7TMyas=; b=x6ken3l7ReGpJHm72s+fAh8tppMwmNblWD4HUed+XpXATq00ojowyS9w1EjXtEqelZop5Y HJGuMcCXQXbsARRKwUIl0QD1Phm8S6+/xi/QozFXZuQkKFDc+sfbCHBLGpnfiwExjGY39c CspHUAxRQkOvpNl2EZqD14oMfT2OxB+YwYq/PqOcJ9q+TowuE391YKhHxc0ZjoQoeBZbEs ZQJOUJOUT8heryEZoZmP0PiBy+xltS16C1M4TxbVUxblBqoLOx0DVdfRbQjgRSOA5Y3Shx Lmbqv60nm6b4KnSnXgnMs1MVNYQutlLXfUg103B/6xIP2X62hLt5sexZ2qqmxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727530902; 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=5X3f6MNjzIiuHJqaBSHhTUglQYqZzvmz8FbPZ7TMyas=; b=Et8/xDFeJpYE0aCBtvRc4mX7Ftx5WTbWbj3KTdiR02PuLNG/tOlnhDkBbgeun0xZwSUbWj P3DGcHxh3v95mJT67RD1vGuXtbykdtRmSc6uFvDSJCOhp9gyYmL42sbKukUG7re34lghOq DL15vI9UH+pyXB0OnD3bOnldr0VqJSNPjVHkDWl83Z2kAJhZUNhQqIyzG41VRwucnHXipU kziTzAOTs7gVXg9jeLrlh67hx8qVcPL9XMWllg13NIEC+NGZgz294Ykv878G9q0gFR/9WS lhqT6kXmCSo5X0XZCFCAr2DS096xzvUuNTgNmSKDi4rcEWoRHWqq1h5acQMSoQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727530902; a=rsa-sha256; cv=none; b=jhggdltV3E4dO2s0c6/KIMVHc/Xi9aMCe+IGK8+SWZciNbtQtLTfB/S+3sNKUq9Txxvk27 kzfj3xqWXxVmHQUSbO8abxOGkaf1D1GyXSea8l9KzWoNRQ8g5gRZpgsJuHCH/j6yn5ub36 kMl90G3tJ3rl/m2gkW8vsybKdYkjmFQgxXwtZG6TkZ1/qdH7kZHGOvkj92XnpzuM62rbqJ WTxJBnpbMDkvTfuRJLfhrTco+DOBkz9bFpbjMAha1G1c9XIdXdd1/CfXO21Y88JnA0tczX t7SPoy7fGSFyAWZgkAfGO04kJqlQxyuMUQxqmij0xRuTSOiuPkaaVybTFzwvzw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4XG7m64Hn8zRPJ; Sat, 28 Sep 2024 13:41:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48SDfgo2016795; Sat, 28 Sep 2024 13:41:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48SDfgLT016792; Sat, 28 Sep 2024 13:41:42 GMT (envelope-from git) Date: Sat, 28 Sep 2024 13:41:42 GMT Message-Id: <202409281341.48SDfgLT016792@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Dimitry Andric Subject: git: b5e7a8ad3ae0 - 2024Q3 - www/mod_perl2: fix build with clang 19 on i386 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: ports X-Git-Refname: refs/heads/2024Q3 X-Git-Reftype: branch X-Git-Commit: b5e7a8ad3ae02963d086ef16fc5e1312b4297255 Auto-Submitted: auto-generated The branch 2024Q3 has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=b5e7a8ad3ae02963d086ef16fc5e1312b4297255 commit b5e7a8ad3ae02963d086ef16fc5e1312b4297255 Author: Dimitry Andric AuthorDate: 2024-09-19 19:41:23 +0000 Commit: Dimitry Andric CommitDate: 2024-09-28 13:38:32 +0000 www/mod_perl2: fix build with clang 19 on i386 Clang 19 has become more strict about incompatible function pointer types, which results in an error building mod_perl2 on i386: modperl_common_util.c:57:53: error: incompatible function pointer types initializing 'int (*)(PerlInterpreter *, SV *, MAGIC *, SV *, const char *, I32)' (aka 'int (*)(struct interpreter *, struct sv *, struct magic *, struct sv *, const char *, long)') with an expression of type 'int (PerlInterpreter *, SV *, MAGIC *, SV *, const char *, int)' (aka 'int (struct interpreter *, struct sv *, struct magic *, struct sv *, const char *, int)') [-Wincompatible-function-pointer-types] 57 | modperl_table_magic_copy}; | ^~~~~~~~~~~~~~~~~~~~~~~~ Perl uses the type `I32` for the last parameter, which is apparently `long` on i386. So use that instead. PR: 281594 MFH: 2024Q3 (cherry picked from commit 99f25aaa64395af55a872fc6cf77127f5f0e4997) --- .../files/patch-src_modules_perl_modperl__common__util.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/www/mod_perl2/files/patch-src_modules_perl_modperl__common__util.c b/www/mod_perl2/files/patch-src_modules_perl_modperl__common__util.c new file mode 100644 index 000000000000..f02c783ce1d9 --- /dev/null +++ b/www/mod_perl2/files/patch-src_modules_perl_modperl__common__util.c @@ -0,0 +1,11 @@ +--- src/modules/perl/modperl_common_util.c.orig 2022-01-30 13:02:22 UTC ++++ src/modules/perl/modperl_common_util.c +@@ -41,7 +41,7 @@ int modperl_table_magic_copy(pTHX_ SV *sv, MAGIC *mg, + + MP_INLINE static + int modperl_table_magic_copy(pTHX_ SV *sv, MAGIC *mg, SV *nsv, +- const char *name, int namelen) ++ const char *name, I32 namelen) + { + /* prefetch the value whenever we're iterating over the keys */ + MAGIC *tie_magic = mg_find(nsv, PERL_MAGIC_tiedelem);