From nobody Thu Jun 08 15:31:10 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 4QcSq25r9yz4brlG; Thu, 8 Jun 2023 15:31:10 +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 4QcSq25GLNz4WmD; Thu, 8 Jun 2023 15:31:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686238270; 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=TXA1T6zw/Io5MXPm82mLh8KTjpmrg9bIq0EOAAGmlHo=; b=TNtuhG7evS7skPb1um1+gfaDvmZdnFCgdDg+uZIT6f7u5xv3H+Q+tTElmO3NPmat2F08E2 akHi5Yx/4UaKl0gJhqXaXulPpUOz69Ze4ZfN+pR7sAXeMJuQTA1K3nYm6n8r2OfeFc83B3 GLfnoVgpA9/KYWTpeczJ2wo9Eu6/TaCYy0s06e1O1/z+KsYWQYdjlDoaYaqP7rxXIIGoCK QmqMiwQEuBbs2BUDTyD4M+9HoyZeEuzz+5ifZf59niiJLq1nOXUkePoQxoWA4IQ9AMriBo JCtUgY4GFr9LcLKz8ux8+pIrmGdQYpVfTCKxh/GobCZh+Z9TGOhRM1Kg2Q5FUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686238270; 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=TXA1T6zw/Io5MXPm82mLh8KTjpmrg9bIq0EOAAGmlHo=; b=naEnk3jBWsn/pIG8MD4hvHXqqRK+oHk5VuzWYDUBEpGzaLM60n/iOivJsTJRfYHN0ML7m2 SMG2XKifdMHA/l1xd0tdvr7s975YhvBl9p4CDLw8bdPF6osr9SL8he2ZMpnBxRVbijVJ5V 3JKjLVuQ8VN4bQI4uIY8vkhwdgnpBfeU/r8sm+6Y7VnYh2flmqXIey8Z+13JUZnddSaLiv NSOdC0mXPfhaXdq2OU3GPyCMadepOyggbHcwiZpGv/F54GEMarmM/PGtpjYzfs6j7yD7O4 zx3dECwYY9xSCxtpl2e3P1412GjXFeImsMpuOit56zem50X6TzCDJMRDxkUK7Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686238270; a=rsa-sha256; cv=none; b=prK1hIFhT7CngJB74WvT5ypX7tXQ56wUURM5SAe1OHqrkQcpyxJBLR2gdntsw0x2r3zQd8 vCa4K8HR2fme6eZe9/vSVQpce2PWqjFeXp7SWffhL11si3xTJyLUkzcVO70mig7eBG+fC2 YSVnN6NRfYQA9qY/grcHdF023BZPnu7iZgGZKSQuVUVazPnaq/zwQzTdc6duozcjoR28od /zYBhaVixBEoYxl9X8v0UcxyY7HdwPouNPihVRosvQ+E/t5xpYeKsmNbO6+YBRecb4RLH/ DdEw/1J0TIeJn0u+Hw+YYAv1ptokxfYOqLdQ6dCxqZMgxlle4NaxbP1nzvp68w== 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 4QcSq24829z100h; Thu, 8 Jun 2023 15:31:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 358FVA4U062589; Thu, 8 Jun 2023 15:31:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 358FVApv062588; Thu, 8 Jun 2023 15:31:10 GMT (envelope-from git) Date: Thu, 8 Jun 2023 15:31:10 GMT Message-Id: <202306081531.358FVApv062588@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: fecc06b7b163 - main - ftp/wput: Fix build with llvm15 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: fecc06b7b1637568a0fe899a3474eade15555f56 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=fecc06b7b1637568a0fe899a3474eade15555f56 commit fecc06b7b1637568a0fe899a3474eade15555f56 Author: Muhammad Moinur Rahman AuthorDate: 2023-06-08 14:23:53 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-08 15:30:55 +0000 ftp/wput: Fix build with llvm15 - Pet portclippy Approved by: portmgr (blanket) --- ftp/wput/Makefile | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/ftp/wput/Makefile b/ftp/wput/Makefile index f57270f7e485..fa4d05f13416 100644 --- a/ftp/wput/Makefile +++ b/ftp/wput/Makefile @@ -11,24 +11,32 @@ WWW= http://wput.sourceforge.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -PORTDOCS= ABOUT-NLS COPYING ChangeLog INSTALL TODO -PORTEXAMPLES= USAGE.examples USAGE.resumehandling USAGE.urlhandling \ - passwordfile wputrc - USES= tar:tgz + GNU_CONFIGURE= yes + MAKE_JOBS_UNSAFE=yes +PORTDOCS= ABOUT-NLS COPYING ChangeLog INSTALL TODO +PORTEXAMPLES= USAGE.examples USAGE.resumehandling USAGE.urlhandling \ + passwordfile wputrc + OPTIONS_DEFINE= TLS NLS DOCS EXAMPLES OPTIONS_DEFAULT=TLS OPTIONS_SUB= yes -TLS_LIB_DEPENDS= libgnutls.so:security/gnutls -TLS_CONFIGURE_WITH= ssl NLS_USES= gettext iconv +NLS_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG} NLS_CONFIGURE_ENABLE= nls NLS_CONFIGURE_WITH= libintl-prefix=${LOCALBASE} -NLS_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG} +TLS_LIB_DEPENDS= libgnutls.so:security/gnutls +TLS_CONFIGURE_WITH= ssl + +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif pre-configure: @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \ @@ -43,4 +51,4 @@ post-install: @${INSTALL} -d ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${EXAMPLESDIR} -.include +.include