zathura: update to 0.5.8
This commit is contained in:
parent
e982424a46
commit
fd9b9da765
2 changed files with 8 additions and 27 deletions
|
@ -1,24 +0,0 @@
|
||||||
From 0c344affeaaae5b1360d0958fb23b3481f63945c
|
|
||||||
From: Adam Sampson <ats@offog.org>
|
|
||||||
Date: Mon, 13 May 2024 01:07:10 +0100
|
|
||||||
Subject: [PATCH] Fix type mismatch with g_ascii_string_to_unsigned
|
|
||||||
|
|
||||||
The out_num argument is a guint64, which isn't the same as unsigned long
|
|
||||||
on some platforms (e.g. AArch32 Linux).
|
|
||||||
---
|
|
||||||
zathura/utils.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/zathura/utils.c b/zathura/utils.c
|
|
||||||
index 2b3b39b3..bda6f86a 100644
|
|
||||||
--- a/zathura/utils.c
|
|
||||||
+++ b/zathura/utils.c
|
|
||||||
@@ -321,7 +321,7 @@ parse_first_page_column_list(const char* first_page_column_list, unsigned int* s
|
|
||||||
unsigned int* settings = g_malloc_n(length, sizeof(unsigned int));
|
|
||||||
|
|
||||||
for (unsigned int i=0; i<length; i++) {
|
|
||||||
- unsigned long column = 1;
|
|
||||||
+ guint64 column = 1;
|
|
||||||
|
|
||||||
if (g_ascii_string_to_unsigned(tokens[i], 10, 1, i+1, &column, NULL)) {
|
|
||||||
settings[i] = (unsigned int)column;
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'zathura'
|
# Template file for 'zathura'
|
||||||
pkgname=zathura
|
pkgname=zathura
|
||||||
version=0.5.6
|
version=0.5.8
|
||||||
revision=2
|
revision=1
|
||||||
build_style=meson
|
build_style=meson
|
||||||
configure_args="-Dsynctex=enabled"
|
configure_args="-Dsynctex=enabled"
|
||||||
hostmakedepends="pkg-config gettext python3-Sphinx desktop-file-utils
|
hostmakedepends="pkg-config gettext python3-Sphinx desktop-file-utils
|
||||||
|
@ -15,7 +15,7 @@ license="Zlib"
|
||||||
homepage="https://pwmt.org/projects/zathura/"
|
homepage="https://pwmt.org/projects/zathura/"
|
||||||
changelog="https://pwmt.org/projects/zathura/changelog/${version}/index.html"
|
changelog="https://pwmt.org/projects/zathura/changelog/${version}/index.html"
|
||||||
distfiles="https://pwmt.org/projects/zathura/download/zathura-${version}.tar.xz"
|
distfiles="https://pwmt.org/projects/zathura/download/zathura-${version}.tar.xz"
|
||||||
checksum=b478e35e87cce57d651b4112dc8193c4b744a07f121b7b6465229a8f386f10da
|
checksum=f2bf8dcb2edff10a8e11f1f981bf8f6a42b997b4f851ab00bfd33a706ad43af8
|
||||||
|
|
||||||
if [ -z "$CROSS_BUILD" ] && [ "$XBPS_CHECK_PKGS" ]; then
|
if [ -z "$CROSS_BUILD" ] && [ "$XBPS_CHECK_PKGS" ]; then
|
||||||
configure_args+=" -Dtests=enabled"
|
configure_args+=" -Dtests=enabled"
|
||||||
|
@ -23,6 +23,11 @@ else
|
||||||
configure_args+=" -Dtests=disabled"
|
configure_args+=" -Dtests=disabled"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||||
|
CPPFLAGS="-D__NR_landlock_create_ruleset=444 -D__NR_landlock_add_rule=445 \
|
||||||
|
-D__NR_landlock_restrict_self=446"
|
||||||
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue