From nobody Fri Jul 21 17:20:19 2023 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 4R6xC758cTz4nwL2; Fri, 21 Jul 2023 17:20:19 +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 4R6xC72WKrz3Pn8; Fri, 21 Jul 2023 17:20:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689960019; 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=iBxbbMilzHHo+j+/l/WHRWaSa9S4VmwTWmQU0qWq7s8=; b=BP9Vy970BuPli5XY55gLGBViJmesKcVG206sXIQC1kvbIjmDbAJaxzcOeyb8G6TYr8Nj25 BLRvpIcGmtc7bIR01B54nJS+iUw1pckarXkDAvCPgh0u6eA7xL8AS4/SpxU8hi0hACenuE Mp/gRqrlca5N8Xx4wN10XISM0Mhao3URkzxexOf1egoQyyW/ZGrKUTPw4QRlKntbb6HDxO nNrEoNcSGWhCI0U02W+jhIKK/AdpgaB9HV11Okd6VC9Xqee7DvsvgF1S+Iqxl6ejWpN2Lj ouxUvC3fJRJCGt0YJoQszclIDYrv2qatlpY5C8GEkXoMS6dTZJGqwfYuFHv6eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689960019; 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=iBxbbMilzHHo+j+/l/WHRWaSa9S4VmwTWmQU0qWq7s8=; b=ST/puzVBG3kEVYKyEk39Pfk7FSHll6OedaXtLc7wsdZhMlbphjhyTWjvt0dsvGH+Z+BgCV gp2NcMEcW4zswqwFLjwIMb4PFb193i56Hu/0opCvSdoh92sdZ2QNVqr5KSiqbMg/z3oBDG FmED3MWkRlwDRIQGOj6Md3jQNRcw1/EwYwPbOT7Y3tmNMQX42G3VopafjEso5/jvpSP5+7 IClpVqZwarsxYJ8BfvfybsM5rbH9rIhx5QWHaQC3JzPR2aiVcDWP8GFQS+RBOaLY7M2ilj wus6qZqlgJOxa9T4rkog2WcZm+sGHA0XgNHcUG/oEg2ezdz/C/CCGtuF6shEYg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689960019; a=rsa-sha256; cv=none; b=lUyLnpBkyuk0QB7DOIc7KWkeAbMfuI9AdYNGPJVSkRU80Kx+FZpzMERrG+pBpd/zEUTg40 P4H/muM/CtxMXWWmKTwbQfnPwFhnR9n67B7sqKj0dFly9Ujob2EIUbwq1MJhez7Ub8Xw6U bDunA4Re22cKsAVH0eeYklycr7zbrQOwq7Jj95g81DI4bvah1VtoUBiKeoVa9boApQU5F3 SLHXW+BZHkqKu0dnNKGVCBgauHqjrI7O+LzCmbGFDMqhyntNWGdxCPBOGu+M38FI5W5bAc IjjQ5U3QE/gTofGNyptR8GdNFimXpwApGRZeuBO2nksy19H/tRjt9x4a+61jfA== 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 4R6xC71dG1zLjG; Fri, 21 Jul 2023 17:20:19 +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 36LHKJrQ084527; Fri, 21 Jul 2023 17:20:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36LHKJuT084526; Fri, 21 Jul 2023 17:20:19 GMT (envelope-from git) Date: Fri, 21 Jul 2023 17:20:19 GMT Message-Id: <202307211720.36LHKJuT084526@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: 26f27d056052 - main - net/ss5: Fix build with llvm16 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 26f27d05605286c0c2beb0e6fe310481ac96c70c Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=26f27d05605286c0c2beb0e6fe310481ac96c70c commit 26f27d05605286c0c2beb0e6fe310481ac96c70c Author: Muhammad Moinur Rahman AuthorDate: 2023-07-21 17:10:33 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-21 17:20:05 +0000 net/ss5: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- net/ss5/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/net/ss5/Makefile b/net/ss5/Makefile index 42083975e752..e3ae3dcf4587 100644 --- a/net/ss5/Makefile +++ b/net/ss5/Makefile @@ -11,8 +11,6 @@ WWW= http://ss5.sourceforge.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/License -WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:C/-[0-9]+//} - USES= ldap ssl USE_RC_SUBR= ${PORTNAME} @@ -22,12 +20,21 @@ CONFIGURE_ARGS= --with-binpathbase=${PREFIX}/sbin \ --with-confpathbase=${PREFIX}/etc \ --with-libpath=${PREFIX}/lib -MAKE_ENV= DATADIR=${DATADIR} EXAMPLESDIR=${EXAMPLESDIR} MAKE_ARGS+= CC="${CC}" +MAKE_ENV= DATADIR=${DATADIR} EXAMPLESDIR=${EXAMPLESDIR} + CFLAGS+= -fcommon +WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:C/-[0-9]+//} + OPTIONS_DEFINE= DOCS EXAMPLES +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: @${REINPLACE_CMD} -e 's,/usr/local/etc/opt/ss5,${PREFIX}/etc/ss5,' \ ${WRKSRC}/include/config.h.in