From nobody Wed Nov 29 18:20:58 2023 X-Original-To: dev-commits-ports-main@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 4SgSLf5Qtrz534Jq; Wed, 29 Nov 2023 18:20:58 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SgSLf2JD6z4J7N; Wed, 29 Nov 2023 18:20:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701282058; 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=2Ge9NH64txI7XNTyorSAjSA8OIXmIyPj0b35aah0wLI=; b=ZMnMMixlc0ukasub3x+nNDhmPBP+CV6TL35+tm5FFbXBdWhsiTs/EJgy30MQ3dGe5nxCVz trehzOTuDoPywS1OakaILJMvPgjxV+oiETWL+3pqKBon7JLDD7cXWjn5d7tbGNQkNIsje3 jXa6HhjDm0ahDg3vGEqCJ5RdG1b54PU8eTPnho45gETUHgtfHf8L1PYFki1fISDrbwb+27 B+aO+Hp3ZWMn9W0sU8obg+r7rJZetltNN8wW4hkWvTWOhj9rmdqn+9J+EapAm9zO8WvCi8 U9IlnogeeN7ExaUilTe2MhbNol5PTSbfDbfDf0i5fMLwAAo1k179Lj+5fbnSZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701282058; 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=2Ge9NH64txI7XNTyorSAjSA8OIXmIyPj0b35aah0wLI=; b=Tkz9ElR0tjC8Yo/iZCD4n8Ib3EZ0n+A8ouci+mhDHSYmYSy26XoisND6XYkF2zw3qv2+Iz UzVXQJiuQESUaqChxJIM//yQ/r0Nnorj09RHLvxWjGMowAbsbGKAQGzEg3j407NQWdLDwS /8/nL+hEnZu1Ppx8P0KuUVIrVDIM4tjkYznVAK0bcfAgn3Dkqpz1ezzkQXOWkGc7uU+OfG 6hewsQTk9TGldlvwSQcD9nr17bl82pkl9oC0N6aW8mVYouDdBx70nPY3J5jDLI7lhaDUbi IL3jFd7U2KMF1BY39lLTIJoI8jDfB1hT9DRhWLgu8tnkm2f62nqk4/P1sGyIig== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701282058; a=rsa-sha256; cv=none; b=L8Oy4P/jqkZRXUiTvM7osVMQiCUzHiSZDl38+5j7o0ThJNBbqeeZhI5xopHvWeY6ehSUxR Xa4S+iARTPCGZrD3meDtmXKhx14wQ1Tzaq1I6FgvCRnQD4+ffO4Lyc3XZajt8gNu5BCNVL P3cAi5/Up/M6wRiG422gs+Wsf+2P6WJ1hoe6KLMaQgnKg3wxWXOFbBbHDcKwTBM9ajh61S 03JM7vsu2XGnEXe/Cz0MGUyNhTtxqoc7dYBdosFFUe7uE0yNS72CqazjNIvvGnTKPPHRw9 Z7uSmSZj8o7HJwjTGfOeAmMBtj1AV4kjuQwnB6RhLlXS9FlnnkKBvGXg4rDvyw== 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 4SgSLf1MW9z2P5; Wed, 29 Nov 2023 18:20:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3ATIKwGu023944; Wed, 29 Nov 2023 18:20:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3ATIKwXq023941; Wed, 29 Nov 2023 18:20:58 GMT (envelope-from git) Date: Wed, 29 Nov 2023 18:20:58 GMT Message-Id: <202311291820.3ATIKwXq023941@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Renato Botelho Subject: git: fc1d174e5cec - main - www/mod_umask: Fix build on FreeBSD 14+ List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: garga X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fc1d174e5cec8f1699f840d0216868da658aa30a Auto-Submitted: auto-generated The branch main has been updated by garga: URL: https://cgit.FreeBSD.org/ports/commit/?id=fc1d174e5cec8f1699f840d0216868da658aa30a commit fc1d174e5cec8f1699f840d0216868da658aa30a Author: Ralf Gebhart AuthorDate: 2023-11-29 18:18:35 +0000 Commit: Renato Botelho CommitDate: 2023-11-29 18:20:48 +0000 www/mod_umask: Fix build on FreeBSD 14+ PR: 275429 --- www/mod_umask/Makefile | 5 ++--- www/mod_umask/files/patch-src_mod__umask.c | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/www/mod_umask/Makefile b/www/mod_umask/Makefile index 5c6f97243fdd..95fab0d45927 100644 --- a/www/mod_umask/Makefile +++ b/www/mod_umask/Makefile @@ -11,13 +11,12 @@ WWW= http://www.outoforder.cc/projects/httpd/mod_umask/ LICENSE= APACHE20 -BROKEN_FreeBSD_14= fails to build: incompatible function pointer types - USES= apache tar:bzip2 -GNU_CONFIGURE= yes AP_FAST_BUILD= yes AP_GENPLIST= yes SRC_FILE= src/${PORTNAME}.c +GNU_CONFIGURE= yes + .include diff --git a/www/mod_umask/files/patch-src_mod__umask.c b/www/mod_umask/files/patch-src_mod__umask.c new file mode 100644 index 000000000000..aeda748019bb --- /dev/null +++ b/www/mod_umask/files/patch-src_mod__umask.c @@ -0,0 +1,19 @@ +--- src/mod_umask.c.orig 2004-10-12 19:03:16 UTC ++++ src/mod_umask.c +@@ -26,6 +26,7 @@ + * + */ + ++#include + #include "httpd.h" + #include "http_core.h" + #include "http_config.h" +@@ -42,7 +43,7 @@ struct umask_config_rec + long int mask; + }; + +-static void *umask_create_config(apr_pool_t * p, char *dir) ++static void *umask_create_config(apr_pool_t * p, server_rec *dir) + { + umask_config_rec *dConfig = apr_pcalloc(p, sizeof(*dConfig)); +