Skip to content
Snippets Groups Projects
Commit 00c1cf11 authored by Natanael Copa's avatar Natanael Copa
Browse files

community/blind: fix build with gcc14 on 32 bit

parent fdbf92af
No related branches found
No related tags found
1 merge request!75609community/blind: fix build with gcc14 on 32 bit
Pipeline #274430 skipped
......@@ -2,7 +2,7 @@
# Maintainer: Jean-Louis Fuchs <jean-louis.fuchs@adfinis-sygroup.ch>
pkgname=blind
pkgver=1.1
pkgrel=4
pkgrel=5
pkgdesc="blind is a collection of command line video editing utilities"
url="https://tools.suckless.org/blind/"
arch="all"
......@@ -11,6 +11,7 @@ checkdepends="ffmpeg"
subpackages="$pkgname-doc"
source="https://dl.suckless.org/tools/blind-$pkgver.tar.gz
fix-readall.patch
fix-tozu.patch
test.ff.bz2
"
......@@ -32,6 +33,9 @@ package() {
cp blind-rotate-* "$pkgdir/usr/bin/"
}
sha512sums="620a5edc69bf736f642948e4f6ac6dda8cdbea4bdad143b09f931e62aaa57983e23ff60961d1485dcbce1ac461be12b393fe03f056ef46ca5ad2012cb03cf637 blind-1.1.tar.gz
sha512sums="
620a5edc69bf736f642948e4f6ac6dda8cdbea4bdad143b09f931e62aaa57983e23ff60961d1485dcbce1ac461be12b393fe03f056ef46ca5ad2012cb03cf637 blind-1.1.tar.gz
cc5ef6e5d84202a4194b4858177d7385674208338de5ce68918838d162ad57bc89f738484bda3bdb2e121fb75029fe74bbf460e92d0ba6b3a678883f151002f9 fix-readall.patch
0834032e1e416824883658478b8cc2821df9b41cf4f169f471df0476c35dfe4a6bcc9c103e5522e54d7f820f77710e3215c691fa39311f6be3310cb1745e2b73 test.ff.bz2"
5581d09b2fb38979b8af725309dd208b6d1f4cd033a05c1251c6b39611030bf7829052e20f4512fe84641baf03b90ab6919f0fac85d7e8c2d9161985c45363b2 fix-tozu.patch
0834032e1e416824883658478b8cc2821df9b41cf4f169f471df0476c35dfe4a6bcc9c103e5522e54d7f820f77710e3215c691fa39311f6be3310cb1745e2b73 test.ff.bz2
"
diff --git a/src/util/to.h b/src/util/to.h
index c927d57..e3a4943 100644
--- a/src/util/to.h
+++ b/src/util/to.h
@@ -15,11 +15,11 @@ int tolli(const char *s, long long int min, long long int max, long long int *ou
return 0;\
}
DEF_STR_TO_INT(tolu, unsigned long int, tollu, unsigned long long int, "lu")
+DEF_STR_TO_INT(tozu, size_t, tollu, unsigned long long int, "zu")
DEF_STR_TO_INT(tou, unsigned int, tollu, unsigned long long int, "u")
DEF_STR_TO_INT(toli, long int, tolli, long long int, "li")
DEF_STR_TO_INT(toi, int, tolli, long long int, "i")
#undef DEF_STR_TO_INT
-#define tozu tolu
#define tozi toli
#define toju tollu
#define toji tolli
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment