From nobody Sat Jul 15 17:51:21 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 4R3G9k3QQtz4nTPb; Sat, 15 Jul 2023 17:51:22 +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 4R3G9k1bv2z4CVn; Sat, 15 Jul 2023 17:51:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689443482; 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=htjfGMCeoHzCw829vbwIdSK2KJCNDdpfvV/cCC/WY+w=; b=L56jjClsUEbrlYWTafN4n/c9yp2nZ1tmCxE5H4Fix2LGtuaLiecmSdb2tlt1UA5WVJfCpQ TYRaV7BN0HB72vIB+wcPAgzEy6YfzG/tFhMNG7Fh/0eyctu12oh4QTsEgrXa6WQlT8ulgC Pm3RSPxLwK1qP+2LaukqeeIvsDZfdNHojiD9c6lB0zyEX779p83P9BgJqWWes0pFiqHc/q l81bHsJDu4yg6m9QcQ3ipi6PedyKn9xS4CD8QaXV+kEztDqHY5k/vv9DmdTa2HTaf/q5h+ IDmfGr90+eP+JFe+4bGmFx7YH4noRiJ67JHI0RycKaBhfOR6lmQDNQwr1XzmxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689443482; 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=htjfGMCeoHzCw829vbwIdSK2KJCNDdpfvV/cCC/WY+w=; b=OoLc/vOpi3PXkqBn259TMS68W+r0dK3EqbYEe8UfI7Og8+oeHCG8ZqDFT8IOTOTd7eY3/R kwdziM9UfJ4R5i2tWpYgd9P1iD+Ptk8cGSONV/TWLoj8cGXtW0bXwhAkE55a3YIpS2fZAQ TbmsuWBGLOSVV9QGWXndRYE/0r52XkW6o9BUj8SxRXa3DnWQzK2MExDRUPTPps43t4z8UY CTGTTSVomJ2oGdwK5/x+lXzZZ62NKB2FMqqGPEa/yLiMgAVQkQxey+wDZ6zaPgeh6DeYve UGn8/nOVnO7mkb6lL4tUctn3fjTyg1eEqI2lj/fdTn9uupbdIohGPR8KGhfKWw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689443482; a=rsa-sha256; cv=none; b=pnneQUoGUjg96nzlHL88c5HuAsTmFKMcsiBMI7fBXl+5mEJPqYfmDuMyS206rB+GethXsK d7rawD9hG0qlM0fmMScO9qy+SImifpKL5QMENI786U/09cEgN0j6CPlgj5ZpopBY9LZobn raQTjf5ckd7IKSU1UDcr7ND7vmtaK7btNQ2iDmVHVqdJK8MOmELfbDnvX3WOZCVYe3V5+6 yabcmWsi80bSx8MEDlP3/8lckhmwTXdIv5GrmmYQGCCrbrgXBV3xg2+MjcU0CY2FIKKdYN TWSawLyli9kkYOUs6zWemE2DyCg6avHJoEO8uMP+CQfDIk13yXniO3n8p0g3+A== 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 4R3G9j5hQTz18Nv; Sat, 15 Jul 2023 17:51:21 +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 36FHpLOC024040; Sat, 15 Jul 2023 17:51:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36FHpLM0024039; Sat, 15 Jul 2023 17:51:21 GMT (envelope-from git) Date: Sat, 15 Jul 2023 17:51:21 GMT Message-Id: <202307151751.36FHpLM0024039@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Santhosh Raju Subject: git: 788dadebf927 - main - graphics/dspdfviewer: Fix build failures for clang 16.0.6 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: fox X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 788dadebf927edb0b9f9e73c1ee4ff22dc224c2c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fox: URL: https://cgit.FreeBSD.org/ports/commit/?id=788dadebf927edb0b9f9e73c1ee4ff22dc224c2c commit 788dadebf927edb0b9f9e73c1ee4ff22dc224c2c Author: Santhosh Raju AuthorDate: 2023-07-15 17:40:52 +0000 Commit: Santhosh Raju CommitDate: 2023-07-15 17:50:34 +0000 graphics/dspdfviewer: Fix build failures for clang 16.0.6 Change applies to 14.0-CURRENT (1400092 and above). --- graphics/dspdfviewer/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/graphics/dspdfviewer/Makefile b/graphics/dspdfviewer/Makefile index 18d66caf2b14..49ce4329c964 100644 --- a/graphics/dspdfviewer/Makefile +++ b/graphics/dspdfviewer/Makefile @@ -61,6 +61,11 @@ CFLAGS+= -Wno-error=suggest-override CFLAGS+= -Wno-error=bitwise-instead-of-logical .endif +# Fixes build failure for Clang 16.0.6 +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400059 && ${CHOSEN_COMPILER_TYPE} == clang +CFLAGS+= -Wno-error=unsafe-buffer-usage +.endif + # Prepare for Qt5-5.15 CFLAGS+= -Wno-deprecated