pdfgrep: update to 2.2.0.

This commit is contained in:
Leah Neukirchen 2024-03-26 14:43:43 +01:00
parent 0391d19bdd
commit 2c1a2ee092
2 changed files with 4 additions and 16 deletions

View file

@ -1,12 +0,0 @@
--- a/src/pdfgrep.cc
+++ b/src/pdfgrep.cc
@@ -460,7 +460,9 @@ int main(int argc, char** argv)
// Set locale to user-preference. If this locale is an UTF-8 locale, the
// regex-functions regcomp/regexec become unicode aware, which means
// e.g. that '.' will match a unicode character, not a single byte.
+#ifdef __GLIBC__
locale::global(locale(""));
+#endif
enum re_engine_type {
RE_POSIX = 0,

View file

@ -1,13 +1,13 @@
# Template file for 'pdfgrep'
pkgname=pdfgrep
version=2.1.2
revision=2
version=2.2.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libgcrypt-devel poppler-cpp-devel pcre-devel"
makedepends="libgcrypt-devel poppler-cpp-devel pcre2-devel"
short_desc="A commandline utility to search text in PDF files"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="https://pdfgrep.org"
distfiles="https://pdfgrep.org/download/pdfgrep-${version}.tar.gz"
checksum=0ef3dca1d749323f08112ffe68e6f4eb7bc25f56f90a2e933db477261b082aba
checksum=0661e531e4c0ef097959aa1c9773796585db39c72c84a02ff87d2c3637c620cb