git: d1e02dd7d390 - main - graphics/libliftoff: switch 32-bit workaround to upstream fix

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Thu, 23 Feb 2023 00:52:49 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d1e02dd7d39033041808f63317eba2e2071f0c2a

commit d1e02dd7d39033041808f63317eba2e2071f0c2a
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-02-23 00:10:01 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-02-23 00:36:56 +0000

    graphics/libliftoff: switch 32-bit workaround to upstream fix
---
 graphics/libliftoff/Makefile | 10 ++++------
 graphics/libliftoff/distinfo |  2 ++
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/graphics/libliftoff/Makefile b/graphics/libliftoff/Makefile
index a8a7bba87755..ac715977046f 100644
--- a/graphics/libliftoff/Makefile
+++ b/graphics/libliftoff/Makefile
@@ -1,8 +1,12 @@
 PORTNAME=	libliftoff
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.4.0
+PORTREVISION=	1
 CATEGORIES=	graphics
 
+PATCH_SITES=	${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/-/commit/
+PATCHFILES+=	2218b45d14de.patch:-p1 # https://gitlab.freedesktop.org/emersion/libliftoff/-/issues/75
+
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Lightweight KMS plane library
 WWW=		https://gitlab.freedesktop.org/emersion/libliftoff
@@ -19,10 +23,4 @@ GL_SITE=	https://gitlab.freedesktop.org
 GL_ACCOUNT=	emersion
 GL_COMMIT=	40834142e1ab25cf0fc8e5461e51f08562294f11
 
-# https://gitlab.freedesktop.org/emersion/libliftoff/-/issues/75
-CFLAGS_armv6=	-Wno-error=sign-compare -Wno-error=sign-conversion
-CFLAGS_armv7=	-Wno-error=sign-compare -Wno-error=sign-conversion
-CFLAGS_i386=	-Wno-error=sign-compare -Wno-error=sign-conversion
-CFLAGS_powerpc=	-Wno-error=sign-compare -Wno-error=sign-conversion
-
 .include <bsd.port.mk>
diff --git a/graphics/libliftoff/distinfo b/graphics/libliftoff/distinfo
index 4a0049257fc7..87ad6a2212bf 100644
--- a/graphics/libliftoff/distinfo
+++ b/graphics/libliftoff/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1676927062
 SHA256 (emersion-libliftoff-40834142e1ab25cf0fc8e5461e51f08562294f11_GL0.tar.gz) = 73db89515450af439983806e0cf4d05164e9b26874285e341929e78ea963b3d5
 SIZE (emersion-libliftoff-40834142e1ab25cf0fc8e5461e51f08562294f11_GL0.tar.gz) = 36355
+SHA256 (2218b45d14de.patch) = 9d8dc7b33191eeb47e3ea51e29668e7059b979f1c0d26949c3ffd22ad3eac307
+SIZE (2218b45d14de.patch) = 4350