tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
pinentry: update gettext 0.25 fixes to also apply to Linux
K900
9 months ago
466cedff
41d70b19
+22
-3
2 changed files
expand all
collapse all
unified
split
pkgs
tools
security
pinentry
default.nix
gettext-0.25.patch
+4
-1
pkgs/tools/security/pinentry/default.nix
reviewed
···
91
91
dontWrapQtApps = true;
92
92
93
93
patches =
94
94
-
[ ./autoconf-ar.patch ]
94
94
+
[
95
95
+
./autoconf-ar.patch
96
96
+
./gettext-0.25.patch
97
97
+
]
95
98
++ lib.optionals (lib.elem "gtk2" buildFlavors) [
96
99
(fetchpatch {
97
100
url = "https://salsa.debian.org/debian/pinentry/raw/debian/1.1.0-1/debian/patches/0007-gtk2-When-X11-input-grabbing-fails-try-again-over-0..patch";
+18
-2
pkgs/tools/security/pinentry/gettext-0.25.patch
reviewed
···
1
1
diff --git a/configure.ac b/configure.ac
2
2
-
index 1b3ded6..0b78e69 100644
2
2
+
index 2a9f5d2..a3d9b79 100644
3
3
--- a/configure.ac
4
4
+++ b/configure.ac
5
5
-
@@ -358,6 +358,8 @@ if test "$pinentry_tty" = "yes"; then
5
5
+
@@ -45,6 +45,7 @@ m4_esyscmd([echo ]mym4_version[>VERSION])
6
6
+
7
7
+
AC_INIT([mym4_package],[mym4_version],[https://bugs.gnupg.org])
8
8
+
9
9
+
+AC_CONFIG_MACRO_DIRS([m4])
10
10
+
AC_CONFIG_AUX_DIR([build-aux])
11
11
+
AC_CONFIG_HEADERS([config.h])
12
12
+
AC_CONFIG_SRCDIR(pinentry/pinentry.h)
13
13
+
@@ -329,13 +330,15 @@ if test "$pinentry_tty" = "yes"; then
6
14
[The TTY version of Pinentry is to be build])
7
15
fi
8
16
9
17
+AM_GNU_GETTEXT_VERSION([0.21])
10
18
+AM_GNU_GETTEXT([external])
19
19
+
+AM_ICONV
11
20
12
21
dnl
13
22
dnl Additional checks pinentry Curses.
23
23
+
dnl
24
24
+
if test "$pinentry_curses" = "yes" \
25
25
+
-o "$fallback_curses" = "yes" ; then
26
26
+
- AM_ICONV
27
27
+
if test "$am_cv_func_iconv" != "yes"; then
28
28
+
AC_MSG_ERROR([[
29
29
+
***