From nobody Mon Jun 05 18:09:15 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 4QZhSq2qqSz4Zm0q; Mon, 5 Jun 2023 18:09:15 +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 4QZhSq2Q8Bz3l4R; Mon, 5 Jun 2023 18:09:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685988555; 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=8i0mfYAJJBNAowebGZ2PCyidG8b8LG3+Nk4rCcE8I1U=; b=QlwXjL5DOXgPl2OHV2MqHRod7X7Q/FygUXjIzazPZtYQuZAF8Ov219mKuYDYe6+ZXBdkVm sgOV3E+CZtEYAwZHNZdKteqvvzkRow5qj6eCZGjQjfXh7SRN/mv/pk1x8REkLmxmES0PBS CtvPn0hEblcWoSoeW/f6/RmuGrAKpWDdgAzd56y29flBl7ptIjbqRgTEKVWsiTDTFYWrRl 8jVH+uZB6hvsaz+V4jSJ2EJMHiiRhuCsC3wHJ0IVo56LmnP8Qu1FY1EwOAWXHc5Xt9r3Yg oo3M+0E3YfXbAO5VW+627ksXJCf8sXz9ASOcJPDY30ZSlRrPp+yJxriEwaAq9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685988555; 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=8i0mfYAJJBNAowebGZ2PCyidG8b8LG3+Nk4rCcE8I1U=; b=ViznsIaGIFTwbaLHY/5WLwlKiI6MBZlt/dRdclu+PxRAv4+kQd5AB3tRz26+Sl73GGU1hg KXt+ejCpL0+lqwt1jd3gtJGDdX+qxgfEgKoJJBldXbqAPAVBIkqkGCn4LVNkD20Ar6m0wb ZDMACcjqksVfwIDRjytu5aWRVqJ6F78eskhCyD8I/yn4y65wIPFfr95nuCmj0JxeAaFbCo HQVnVsvUWTwIvwaCH9bxdIiowd8N+OeH9m//E4MO5bqlCaXQyUi1Z6z18MMLPkFEAK+Wuz Ax2VFMflzi9U7JJPV3AMdWWor/5H5aCtPnC8gN9UKOZgmeUmBRIggVcSpLkO9A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685988555; a=rsa-sha256; cv=none; b=ol/RL1yvvFPx8lyadho3EAoHuPtP8mZxvN9JJGV5AYFRvAoJtTW93J4kFs1tp3HEJmXaNd nQzXbLTsK7Kb7o/MwwkU09tB3mGm6OJHFg2cqKWigupKKnQ58c0rzCyicuJBInjaDPHwqG lqbCBL5o0ju0ArXdQ+rPSJwGXTV3ep69vLnoZF0zvfNFCvgOORjPxbVd3IgwQzMX4D6PyF LfKQqc+xILxfjw0YAhW+0QR9tQKJiwWna1OR4+n5jTJK0hXAAe7cpPbmBYbNjVFofmsahK 8UdAE2Ay8ah5MuowXk9SS939ADrkxKiH6ixF56h9aRxLgD+lQLurGOidKs6UqQ== 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 4QZhSq1VyYzx0b; Mon, 5 Jun 2023 18:09:15 +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 355I9FqR067557; Mon, 5 Jun 2023 18:09:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 355I9FLx067556; Mon, 5 Jun 2023 18:09:15 GMT (envelope-from git) Date: Mon, 5 Jun 2023 18:09:15 GMT Message-Id: <202306051809.355I9FLx067556@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: 365553bf46d1 - main - graphics/py-ming: 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: 365553bf46d1d4de026b4fbe2ebff8628707b285 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=365553bf46d1d4de026b4fbe2ebff8628707b285 commit 365553bf46d1d4de026b4fbe2ebff8628707b285 Author: Muhammad Moinur Rahman AuthorDate: 2023-06-05 16:50:32 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-05 18:09:01 +0000 graphics/py-ming: Fix build with llvm15 Approved by: portmgr (blanket) --- graphics/py-ming/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/graphics/py-ming/Makefile b/graphics/py-ming/Makefile index ea4c561726f3..9e7b634cca09 100644 --- a/graphics/py-ming/Makefile +++ b/graphics/py-ming/Makefile @@ -35,6 +35,12 @@ GH_PROJECT= libming PORTSCOUT= limit:^ming- +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + post-patch: @${REINPLACE_CMD} -e 's| --root ".*"||' ${WRKSRC}/py_ext/Makefile.am @${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}/|g' ${WRKSRC}/py_ext/setup.py.in @@ -43,4 +49,4 @@ post-patch: post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + -.include +.include