grim: cherry picked a commit from upstream
This commit is contained in:
parent
ea315f5b90
commit
675519132e
@ -1,5 +1,6 @@
|
|||||||
untrusted comment: verify with /etc/ports/contrib.pub
|
untrusted comment: verify with /etc/ports/contrib.pub
|
||||||
RWSagIOpLGJF3yaVMLY7TZtjArwa906oExzhM/I9KC15tQpd9iA5AzHAz0PAklmiLz2hm9z0PlxcAO8NrMsymaLx9Zh/qhkRQQk=
|
RWSagIOpLGJF3+o2uG/RQDW4A07W/fhZXTqmVI2H6kLGl5YeFyRvHcJxMlWi2NeQDwoUtYiXG6iZ8OBhXTXYc2GkgsElup7fAgc=
|
||||||
SHA256 (Pkgfile) = 6998abb0ce1340e039d6072c6959968eb7dfc249264e5983ae30e2591fe1c46f
|
SHA256 (Pkgfile) = 15610a25b2c528eb573ed5a1eb82239933cfd62bf87c5315019e0d45ab9e8dea
|
||||||
SHA256 (.footprint) = 4a30d767110c116125a3214f7563187ac62cf79a7d99a9635dc6e3cd2989a32c
|
SHA256 (.footprint) = 4a30d767110c116125a3214f7563187ac62cf79a7d99a9635dc6e3cd2989a32c
|
||||||
SHA256 (grim-1.4.0.tar.gz) = b6786e889ed93568634189a59f6b6429c041bf74883c10e8b6e2ed6772ae7ffb
|
SHA256 (grim-1.4.0.tar.gz) = b6786e889ed93568634189a59f6b6429c041bf74883c10e8b6e2ed6772ae7ffb
|
||||||
|
SHA256 (89e02e663fabc534b7e7039514f60a8c5d70070d.patch) = 4e1d5d743984b03a750557dfcfcec610c6d0dcf6fd666ab6672f662273069053
|
||||||
|
25
grim/89e02e663fabc534b7e7039514f60a8c5d70070d.patch
Normal file
25
grim/89e02e663fabc534b7e7039514f60a8c5d70070d.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 89e02e663fabc534b7e7039514f60a8c5d70070d Mon Sep 17 00:00:00 2001
|
||||||
|
From: Simon Ser <contact@emersion.fr>
|
||||||
|
Date: Wed, 9 Feb 2022 01:24:11 +0100
|
||||||
|
Subject: [PATCH] write_jpg: fix printf format specifier
|
||||||
|
|
||||||
|
---
|
||||||
|
write_jpg.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/write_jpg.c b/write_jpg.c
|
||||||
|
index 4476f5f..0cb57d3 100644
|
||||||
|
--- a/write_jpg.c
|
||||||
|
+++ b/write_jpg.c
|
||||||
|
@@ -54,7 +54,7 @@ int write_to_jpeg_stream(pixman_image_t *image, FILE *stream, int quality) {
|
||||||
|
size_t written = fwrite(data, 1, len, stream);
|
||||||
|
if (written < len) {
|
||||||
|
free(data);
|
||||||
|
- fprintf(stderr, "Failed to write jpg; only %zu of %zu bytes written\n",
|
||||||
|
+ fprintf(stderr, "Failed to write jpg; only %zu of %lu bytes written\n",
|
||||||
|
written, len);
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
--
|
||||||
|
2.34.4
|
||||||
|
|
@ -6,12 +6,15 @@
|
|||||||
|
|
||||||
name=grim
|
name=grim
|
||||||
version=1.4.0
|
version=1.4.0
|
||||||
release=1
|
release=2
|
||||||
source=(https://github.com/emersion/grim/archive/v$version/$name-$version.tar.gz)
|
source=(https://github.com/emersion/grim/archive/v$version/$name-$version.tar.gz
|
||||||
|
89e02e663fabc534b7e7039514f60a8c5d70070d.patch)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
prt-get isinst bash-completion && PKGMK_GRIM+=' -D bash-completions=true'
|
prt-get isinst bash-completion && PKGMK_GRIM+=' -D bash-completions=true'
|
||||||
|
|
||||||
|
patch -Np1 -d $name-$version -i $SRC/89e02e663fabc534b7e7039514f60a8c5d70070d.patch
|
||||||
|
|
||||||
meson setup $name-$version build $PKGMK_GRIM \
|
meson setup $name-$version build $PKGMK_GRIM \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--buildtype=plain \
|
--buildtype=plain \
|
||||||
|
Loading…
Reference in New Issue
Block a user