From nobody Sat Aug 05 14:46:48 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 4RJ5565PdFz4m7Bn; Sat, 5 Aug 2023 14:46:50 +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 4RJ5562pxNz3bdq; Sat, 5 Aug 2023 14:46:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691246810; 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=4VNhmkyWEiFwkTPtINMLo8OUw/0o8SRYGsrlMqfQMwU=; b=Rh8T7EBMBY3gLxEl6M8SXxMZIp9dHUmDLW20s016Mqr/vXeS1M1UiMXfDVfIsfPdjbJq3U dGf+EyOQOmiau4GszN2GZbiRaie2EZenMyp/rNvQWTsLT5M4pLs5oJ9370NUJ+I5eODJQ4 yjkLFhrwhqYlombNBC6vYQtDVVPdAAeqGpZf2yKKS3QCIMMjxTwlyIQuSPcvHk0jvlqxxY 9J7GmbcG3oY6vJOukgrejiw6Acpd0Q+Q1bd9z90vUxs61bR5b/dBKrBJ5r74MliWBgZo3g CMM5HnGQ7SJCB9m7MEa2+fMAXgJe49xj1h1yJR48QBe3ezO1N6dzptx2AjB/ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691246810; 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=4VNhmkyWEiFwkTPtINMLo8OUw/0o8SRYGsrlMqfQMwU=; b=fEd4HlpTco5+baGivzfpE4mr22t4Q7WaJqwbTMlpZlFJe6VKwrm148r3WlL0iJpCIxohaD wVgt7aUR0oMC2EEEo54ywNm23lrXae8cH28Ix9Pr/8Powsf+UrIaWiPQq3kwNLGhbEZEMc nJRqBFOLhbzo0RorffgPbAKMoAGujeSxSRqMY5hbc6wT0u2gBsxi/VBl+gOvH4SJav8QS8 5yYgvn+S+HyYMV/I9DVZzDRZf/jrApHRNljob3RhtxXXzs6ak3+WP8hOADY+dpM7wz44Hv qhpGeVJdro1L1PCv49omeZpjFIn1Yx1JDgWxDfopmHPxmaTzcsP166Ow038D3A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691246810; a=rsa-sha256; cv=none; b=Cz/bHRwB4wYO9Z0mt01GaFIfqLGM7Aan0+fCQ7FP3BPDdgGbkza1v9rrkQuH4Cp0Vg4LId swp63qtLXVjMKIMnZmMYDBEzRHxRC/LJI07QdgtGnFmm3Ts2zfdKVMF6oP3st7jtGx4k9u aSr6ZDS27MQexbqBN0R11x2tvup/8c3MQ6OU92QxURvA1C4rnQ4+bHJpJzI17Te8do5U93 JX8YpQD11ZP0OSg3DYAYvpTg8Yjd/JXqbuf/bX4kmVTd9JJRw2LSvUEuNqm+70MgWJxCc3 kbnehHKGX1t90n+jjoMPsTLZpEboyjUEdAFFqDgkBS45oxu/DgUeXz7HtFv6Eg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RJ5550N1szY8m; Sat, 5 Aug 2023 14:46:49 +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 375EkmH3059509; Sat, 5 Aug 2023 14:46:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 375EkmVS059508; Sat, 5 Aug 2023 14:46:48 GMT (envelope-from git) Date: Sat, 5 Aug 2023 14:46:48 GMT Message-Id: <202308051446.375EkmVS059508@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 070863350c0b - main - www/fnord: Fix build with llvm16 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 070863350c0b75779f8664164596888f3ba5f951 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=070863350c0b75779f8664164596888f3ba5f951 commit 070863350c0b75779f8664164596888f3ba5f951 Author: Muhammad Moinur Rahman AuthorDate: 2023-08-05 14:02:18 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-05 14:46:35 +0000 www/fnord: Fix build with llvm16 - Pet portclippy Sponsored by: The FreeBSD Foundation --- www/fnord/Makefile | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/www/fnord/Makefile b/www/fnord/Makefile index acf752186d4b..9eca73ef35b4 100644 --- a/www/fnord/Makefile +++ b/www/fnord/Makefile @@ -14,26 +14,28 @@ EXPIRATION_DATE=2023-09-30 USES= gmake tar:bzip2 +MAKE_ARGS+= DIET="" CC="${CC}" CXX="${CXX}" +MAKE_ENV+= CFLAGS="${CFLAGS}" + +SUB_FILES= pkg-message fnord.inetd + PLIST_FILES= bin/fnord \ bin/fnord-conf \ bin/fnord.inetd -SUB_FILES= pkg-message fnord.inetd - OPTIONS_DEFINE= DAEMONTOOLS TCPSERVER CGI DIR_LIST SYSTEM_SYMLINK_DEREF OLD_STYLE_REDIRECT OPTIONS_DEFAULT= CGI DIR_LIST -DAEMONTOOLS_DESC= Use DJB's daemontools -TCPSERVER_DESC= Use DJB's tcpserver + CGI_DESC= Enable CGI support +DAEMONTOOLS_DESC= Use DJB's daemontools DIR_LIST_DESC= Enable directory listing -SYSTEM_SYMLINK_DEREF_DESC= Enable system symlink (needs DIR_LIST) OLD_STYLE_REDIRECT_DESC= Enable old style redirection +SYSTEM_SYMLINK_DEREF_DESC= Enable system symlink (needs DIR_LIST) +TCPSERVER_DESC= Use DJB's tcpserver DAEMONTOOLS_RUN_DEPENDS= setuidgid:sysutils/daemontools TCPSERVER_RUN_DEPENDS= tcpserver:sysutils/ucspi-tcp -MAKE_ARGS+= DIET="" CC="${CC}" CXX="${CXX}" - .include .if ${PORT_OPTIONS:MCGI} @@ -75,6 +77,11 @@ post-patch: @[ -z '${SED_SCRIPT}' ] || \ ${REINPLACE_CMD} ${SED_SCRIPT} ${WRKSRC}/httpd.c @${REINPLACE_CMD} -e "/strip/d" ${WRKSRC}/Makefile +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) + @${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS=-Wno-error=incompatible-function-pointer-types |g' \ + ${WRKSRC}/Makefile +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/fnord ${STAGEDIR}${PREFIX}/bin