summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-12-16 17:11:49 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-12-16 17:11:49 +0000
commit0f410656875ead93f94f96124d564fdef4d0d82b (patch)
treefa2aef8d28c644d6d607d6603900a4a8bcbacbdd /x11
parentUpdate to 0.10.46 and only keep one libgoffice version (diff)
x11/grim: apply upstream fix to restore -Werror
This is a small application and upstream is cooperative, so warnings often indicate actual bugs.
Notes
Notes: svn path=/head/; revision=520274
Diffstat (limited to 'x11')
-rw-r--r--x11/grim/Makefile4
-rw-r--r--x11/grim/distinfo2
2 files changed, 5 insertions, 1 deletions
diff --git a/x11/grim/Makefile b/x11/grim/Makefile
index 701af609bd43..9697782e99c8 100644
--- a/x11/grim/Makefile
+++ b/x11/grim/Makefile
@@ -6,6 +6,9 @@ DISTVERSION= 1.2.0
PORTREVISION= 1
CATEGORIES= x11
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+= 5ebea4eb7308.patch:-p1
+
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Grab images from a Wayland compositor
@@ -19,7 +22,6 @@ USES= compiler:c11 gnome meson pkgconfig
USE_GITHUB= yes
USE_GNOME= cairo
GH_ACCOUNT= emersion
-MESON_ARGS= -Dwerror=false # https://github.com/emersion/grim/issues/37
PLIST_FILES= bin/${PORTNAME}
OPTIONS_DEFINE= JPEG MANPAGES
diff --git a/x11/grim/distinfo b/x11/grim/distinfo
index 52fad352d4ad..743a10cfa26e 100644
--- a/x11/grim/distinfo
+++ b/x11/grim/distinfo
@@ -1,3 +1,5 @@
TIMESTAMP = 1559587817
SHA256 (emersion-grim-v1.2.0_GH0.tar.gz) = b184417220497442eaf2b3a4bc2f1e513e83e41bb5279dc3065209f5f2b611b1
SIZE (emersion-grim-v1.2.0_GH0.tar.gz) = 14445
+SHA256 (5ebea4eb7308.patch) = 5e9ca625e13313d0dfe9bc0ee57061d63a99fe4874628ea1c1d2ab83a96555d6
+SIZE (5ebea4eb7308.patch) = 1271