From nobody Sun Jun 11 19:16:37 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 4QfPgn6r7Fz4cXTy; Sun, 11 Jun 2023 19:16:37 +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 4QfPgn6DFhz4NZK; Sun, 11 Jun 2023 19:16:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686510997; 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=liyNoY8q5x6OC2Da3psFsGBQHQSPFl5+BUcbG4mPnLY=; b=I4eyA3VFddjJvAl8dVY8z7I1fhd2ehYzWwpysNHGfF9+mK9AXfuZDMngEeZJVBjxYLuhyB yWxpZpMAjBj7+ouZh5o09v7qRkQeXob3z0UK6Xea0NhmqxfXsRQfrV+GW6f4YU7nQ1/3r6 OrRHB6XKMxIXiMImJIpPIfOG1bCr5NaP1rvU7to4txHzCm075q+nn2v8AbDXTmiBPW8/lO EvFViArVAgWJPYpjxGnwg0ko3EJbjn6MIoY34UwyJ3Ar422LzAIYM4aHtQeUff6wtNmOYF 5xvOx1P5xWoIfn8rEALMHMHjkRgM1WuUzzsCsEj2U7dw06CkEmWfJY76/l542g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686510997; 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=liyNoY8q5x6OC2Da3psFsGBQHQSPFl5+BUcbG4mPnLY=; b=QiKG4fNZIghUe4XdmiWp5wPuNbaPKuyV1qNAxJNm0qZdA48WhLYUlmMYpp8Kkn7VUdm9J7 VGcEevr8Aifp3ChD3VJAt5g7kWkRYRkGoz4KmFZgmUPJYE39z9b/dQco2M1VSnjk31EEGB TJCIUuWeIInUPZHHe6YMwwDjL6yj15U1L5rWhIuxild33shCSsXd0a/7f50eQsdu5gHAnv 0p+dlAfLrf+1wauJ4Elr81E6E8rXOC6CSNpQCuXiYjNYr6CFUKNJyJOqGdc95yHc9RfFnC oZZm1k1yJtTvnphbywXXjHjGv6jT4PUPBbrCMAAPFr7c/2yYf78EjOr+wFzIqQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686510997; a=rsa-sha256; cv=none; b=dAY4fwqC2R2dxEqCb2rlaU++W/QC1EyUWX9weQnFIJfRS0oZHgZ/kIk9sSK7A+YkGKsxkv LpYp0Ma+IIjHotEXdIOILiWZwI8y5smN0grocZ9IrtH9ZF0WyWoKZoHKmTtKqEpKnt44Ik SPACxWMN1CCdkMjnn8Kac25Tt2VRrtUfAK4Wj8p+8BH96/qeShABSxRxpbc/WO950Vy4nj xWLcy/3CUDlifMrIioURbIvf+8cGLomJh0n4LQkUvD5JOBthMwJvnLjAftDXZgT1U1i07F eXcmEP5v2BldCI1IixTdL/bkqQnbxS7kQnOrflDnKFYy6isIhKmQja49Dw3smw== 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 4QfPgn5680z19Gd; Sun, 11 Jun 2023 19:16:37 +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 35BJGbgF052592; Sun, 11 Jun 2023 19:16:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35BJGbtu052589; Sun, 11 Jun 2023 19:16:37 GMT (envelope-from git) Date: Sun, 11 Jun 2023 19:16:37 GMT Message-Id: <202306111916.35BJGbtu052589@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: 503747762063 - main - math/xgraph: Fix build with llvm15 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: 503747762063e16a0a460e909a28d34b26643abc Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=503747762063e16a0a460e909a28d34b26643abc commit 503747762063e16a0a460e909a28d34b26643abc Author: Muhammad Moinur Rahman AuthorDate: 2023-06-11 18:52:14 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-11 19:16:23 +0000 math/xgraph: Fix build with llvm15 - Pet portclippy - Adopt port --- math/xgraph/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/math/xgraph/Makefile b/math/xgraph/Makefile index e2f304b956fe..50e959ef51a6 100644 --- a/math/xgraph/Makefile +++ b/math/xgraph/Makefile @@ -5,7 +5,7 @@ CATEGORIES= math print MASTER_SITES= ftp://ftp.cs.utoronto.ca/pub/radford/ DISTNAME= xgraph-11 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Program that helps you plot graphs LICENSE= XGRAPH @@ -15,14 +15,21 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= imake tar:Z xorg USE_XORG= x11 xext + WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= EXAMPLES +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + post-extract: @${SED} -ne '2,19 {s|^ \* *||;p;}' < ${WRKSRC}/copyright.h > ${WRKSRC}/COPYING -post-install: +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/xgraph ${INSTALL_DATA} ${WRKSRC}/examples/*.xg ${STAGEDIR}${PREFIX}/share/examples/xgraph