From 78277a64c43dd2796e307aa77d7002daed20afac Mon Sep 17 00:00:00 2001 From: Gleb Popov Date: Mon, 28 Oct 2024 21:40:14 +0300 Subject: [PATCH] devel/appstream: Include a patch fixing UB from upstream Sponsored by: Future Crew, LLC --- devel/appstream/Makefile | 6 ++++-- devel/appstream/distinfo | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/devel/appstream/Makefile b/devel/appstream/Makefile index 6b9c037abca7..bc6d48fae5a4 100644 --- a/devel/appstream/Makefile +++ b/devel/appstream/Makefile @@ -3,10 +3,13 @@ PORTNAME?= AppStream DISTVERSION= 1.0.3 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= devel MASTER_SITES= https://www.freedesktop.org/software/${PORTNAME:tl}/releases/ +PATCH_SITES= https://github.com/ximion/appstream/commit/ +PATCHFILES= da31a9318e53cf0310637773ca26eaa910782a7d.patch:-p1 + MAINTAINER= desktop@FreeBSD.org COMMENT?= Machine-readable software metadata for desktop environments WWW= https://www.freedesktop.org/wiki/Distributions/AppStream/ @@ -30,7 +33,6 @@ USES+= gettext gnome localbase:ldflags meson pkgconfig \ USE_GNOME+= glib20 introspection:build libxml2 libxslt:build USE_LDCONFIG= yes -#CFLAGS+= -D__BSD_VISIBLE=1 MESON_ARGS+= -Dstemming=true \ -Dvapi=true \ -Dapidocs=false \ diff --git a/devel/appstream/distinfo b/devel/appstream/distinfo index ccb95802a518..2fac193a3bf6 100644 --- a/devel/appstream/distinfo +++ b/devel/appstream/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1729852129 +TIMESTAMP = 1730140549 SHA256 (AppStream-1.0.3.tar.xz) = 5ab6f6cf644e7875a9508593962e56bb430f4e59ae0bf03be6be7029deb6baa4 SIZE (AppStream-1.0.3.tar.xz) = 2644220 +SHA256 (da31a9318e53cf0310637773ca26eaa910782a7d.patch) = f7d0b6c5688a0437901ab0ad534478084e7852c26a30a863c93d256878607a10 +SIZE (da31a9318e53cf0310637773ca26eaa910782a7d.patch) = 1017