From nobody Sun Aug 04 20:51:37 2024 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 4WcWvZ0rYJz5T0dM; Sun, 04 Aug 2024 20:51:38 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WcWvY4n0Tz4dtD; Sun, 4 Aug 2024 20:51:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722804697; 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=7lI3tFZjDfkLx3DQdmRN/LYMV8gyQXa2Jw917gXjF2Q=; b=Qou44il6dT27mM0lbSQukX2kAB7GfNzHEks+HVnCTzMeizQvIsKIacD0JJlNKOH8/5VBTN Y0upza0xkwLkQUjYWLKSnMg5zkOTCnUWYh7qA+RAblkSVPY4JLtdZWoQGKGmXlKF5AD8DW u4LvNDMJibTbtLLkOLo1wgP1ySGL/21bxlEzleT8crVOFPli4EnSaQ1prrFwR3dLMMGCKN BpiYuz1kSXSm5sDn3doP2+AAfcS5ES2YRVXrUiWVWryzeg8SwRrh3aZjwBMnXR+IMQU7Gm G3QFwYF8JlknGYpwT2pMGsaSwLr5vI96j39rkfCL1oToc4kj9QkTf2JV17x1Aw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722804697; a=rsa-sha256; cv=none; b=glfeYWzNL8F57twIuHBpG3/dZ9lzWkE1OFJVzymrab6B1ukYmvAuagL1u+hW7Qxs6KjPXQ EVCrxytPJzOSOOsmtpseP+TnqQWammLkpGQVjLU+HhL/YJskR9DNsGF7XNqg2EiJyN46mc JTt4khUZk35g/X2nM5iO0jTzIxothkeBVc0TliyMKZxdcj/hFQzDNmqfSe5RevFOJWtLL3 NQ4q2XV1BzC5dW5NP6/iNj6mYVbA2U9HvJ0lB5mdU+6V6Qgg8+oyhYWR4ehdDgyhCDjYlO ZpOx+3Zi9jT/uipX76A8ObyCWzC/P2oiDEizob87hSWPOVu0CdOWie5o94iJfw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722804697; 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=7lI3tFZjDfkLx3DQdmRN/LYMV8gyQXa2Jw917gXjF2Q=; b=CPhSZlMF0BF18fXSpoON6egotelnwrKc0r7/00mkMSmKuufTRe7kCU5Q5o4mZ2OuHeZQ9g gz0Q5G1jqguarOogCncnEhhX7D0CrF3BSYgE7n3tL6W24+I29yeNWkZk78PUVOzcg6wTUT 5djbz2jC1eVeZwW/Vq/DjT3VOBKKAsGg9nXviOCjZlsT+AKqOOQjdjfShg8fzgJVzRHsQV qcXhqInkUN5wPQgPUiMcKBgbYQs9L3pLPkNoxu+xbU9NWfh9L33zb5GyvWVYua9P0too9j kBhW5ShhP29UNn8EtMQMVl8vhEnjMur9LBR+F48/gKIjRIIBZq9lFqZEF6Lyaw== 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 4WcWvY4NqHz19WD; Sun, 4 Aug 2024 20:51:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 474KpbUJ019952; Sun, 4 Aug 2024 20:51:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 474Kpb90019949; Sun, 4 Aug 2024 20:51:37 GMT (envelope-from git) Date: Sun, 4 Aug 2024 20:51:37 GMT Message-Id: <202408042051.474Kpb90019949@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: e56cb1f7a29e - main - graphics/dspdfviewer: Fix builds in 13.3 and 14.1. 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-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: e56cb1f7a29ed63d9939da158b3e05298523ccda Auto-Submitted: auto-generated The branch main has been updated by fox: URL: https://cgit.FreeBSD.org/ports/commit/?id=e56cb1f7a29ed63d9939da158b3e05298523ccda commit e56cb1f7a29ed63d9939da158b3e05298523ccda Author: Santhosh Raju AuthorDate: 2024-08-04 17:42:03 +0000 Commit: Santhosh Raju CommitDate: 2024-08-04 20:35:54 +0000 graphics/dspdfviewer: Fix builds in 13.3 and 14.1. --- graphics/dspdfviewer/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphics/dspdfviewer/Makefile b/graphics/dspdfviewer/Makefile index 2fae98627929..1386d1fdcce0 100644 --- a/graphics/dspdfviewer/Makefile +++ b/graphics/dspdfviewer/Makefile @@ -62,12 +62,12 @@ 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 +.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) && ${CHOSEN_COMPILER_TYPE} == clang CFLAGS+= -Wno-error=unsafe-buffer-usage .endif # Fixes build failure for Clang 18.1.4 -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1500018 && ${CHOSEN_COMPILER_TYPE} == clang +.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1401000 || ${OSVERSION} >= 1500018) && ${CHOSEN_COMPILER_TYPE} == clang CFLAGS+= -Wno-error=switch-default .endif