From nobody Mon Jun 26 12:16:19 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 4QqRdv40dcz4kFDx; Mon, 26 Jun 2023 12:16: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 4QqRdv1yTnz41HP; Mon, 26 Jun 2023 12:16:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687781779; 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=Q/nzC/5+BESR8emiHuFyygXAsP3AH6jv+0xF0GbJPL8=; b=Fs8qFhz3X7mfFHZosWnjaTHu901wtyvsAktJvS/HNbeeoSg5deUnClVDCpWcBgJmcWR9Nt X32azD8WNxUKl31B1QjKDRFgJD0DtdPfGntFMLx8C0YJt/S+lO2t48YCFZ+XE4H2ILxa2r L5P4uqhGA4OORJGu68XCIh88KzPvnCGS8zw0oD8VoviaRFJgRnCn6iVCuz0Bxnl/OI+t8n qsf3nkn+c/BudZ2H0ivP4gaGNJ7JgWxqCTJKqqjEtk+xCLpehfPZ+OcyGSbqlq28Aws9TO HNxLRAEk3wRIrBF+JrLZgCkKdkNdF682e7J1P16RVD0/KwoDZSZkPv9FAi4zsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687781779; 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=Q/nzC/5+BESR8emiHuFyygXAsP3AH6jv+0xF0GbJPL8=; b=nQwOQgkkbMjVtztqiq0q9UTZd2FnrF+Lsyc+6viico2R1AnFOPusjX62XuPjUtjMAScJcm zuwTZ0xJRkaGryFbw5CwgH6Iv7dXENI3LIDlkwuhVocMwSlydAQrE977elN9IIAKdOe7Ho vXAdSIDt8Dqcc0d2XKRwa7kqI39xFvX0SoYQq8A1H99IDgfJqfDhpBDKOGcmWjwHalaIir Dn6Oi3of7KRKWg2ZBb7IrPFz1CNkX9qXCnk/NnKD4tS7q3Ar2m/rSDz1ZzPHNRX5ADhHip CuhwduB1keIHHcgV72xRQC7pJ4EKq2qPbqxlA/v8H2VudBHo+8jQ+hReOpuH5w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687781779; a=rsa-sha256; cv=none; b=pplQiJ5fThd/4UMXu4kHr5gNqMFzZynZjwiO3Yr/QX3AX6Ie622QIGPXgGEyFbjnjYy9mO DS1CqDNpWgj15cN0Xh3/c27WiltbE7jJXGFFeYfOQ/pSo4G5TCczcznhIGWN36eEODFaEK xVWN98BQx4RvyBP/qUbY3eMxcOctptE0RGQ8sgSO3QIBxPRY4FKnFJtGOtbN0QltrtkxvB DpiVYnmQq3d6jq26Mn3g1otO6cs3+S3nIo7JDRv2d9v2LDkdzhKArn610ZOuweUKLd8dRf wIAOlOVzSpluPh+hp7ikjwLehMbihAOJgMM+gTTRrqitzETiiLhbfkqPX0b/MA== 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 4QqRdv11zcz18YH; Mon, 26 Jun 2023 12:16:19 +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 35QCGJM9000073; Mon, 26 Jun 2023 12:16:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35QCGJmZ000072; Mon, 26 Jun 2023 12:16:19 GMT (envelope-from git) Date: Mon, 26 Jun 2023 12:16:19 GMT Message-Id: <202306261216.35QCGJmZ000072@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: 5b3ae40ea0b2 - main - graphics/togl: 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: 5b3ae40ea0b2a9ebb0a2f727fc2bb6e6bd81f34b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=5b3ae40ea0b2a9ebb0a2f727fc2bb6e6bd81f34b commit 5b3ae40ea0b2a9ebb0a2f727fc2bb6e6bd81f34b Author: Muhammad Moinur Rahman AuthorDate: 2023-06-26 11:53:11 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-26 12:16:01 +0000 graphics/togl: Fix build with llvm16 - Pet portclippy Sponsored by: The FreeBSD Foundation --- graphics/togl/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/graphics/togl/Makefile b/graphics/togl/Makefile index 45deaa70a367..3943f03e8d82 100644 --- a/graphics/togl/Makefile +++ b/graphics/togl/Makefile @@ -14,18 +14,24 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= gl gmake tk:86,tea xorg -USE_XORG= x11 xt xmu USE_GL= gl USE_LDCONFIG= ${PREFIX}/lib/Togl2.0 +USE_XORG= x11 xt xmu WRKSRC= ${WRKDIR}/Togl2.0 -TOGL_INSTDIR= ${PREFIX}/lib/${DISTNAME} +PORTDOCS= * +PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES -PORTDOCS= * -PORTEXAMPLES= * +TOGL_INSTDIR= ${PREFIX}/lib/${DISTNAME} + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif post-patch: @${REINPLACE_CMD} -e 's|wish |${WISH:T} |' ${WRKSRC}/*.tcl