tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
librda: Apply patch to use proper gettext
OPNA2608
6 months ago
0d0645a1
b5c5527f
+32
2 changed files
expand all
collapse all
unified
split
pkgs
by-name
li
librda
1001-configure-GLib-gettext-is-deprecated-use-regular-get.patch
package.nix
+26
pkgs/by-name/li/librda/1001-configure-GLib-gettext-is-deprecated-use-regular-get.patch
···
1
1
+
From 08208a1193d10903bd291c4993bdcd4203c20780 Mon Sep 17 00:00:00 2001
2
2
+
From: OPNA2608 <opna2608@protonmail.com>
3
3
+
Date: Wed, 16 Jul 2025 20:34:38 +0200
4
4
+
Subject: [PATCH] configure: GLib gettext is deprecated, use regular gettext
5
5
+
6
6
+
---
7
7
+
configure.ac | 3 ++-
8
8
+
1 file changed, 2 insertions(+), 1 deletion(-)
9
9
+
10
10
+
diff --git a/configure.ac b/configure.ac
11
11
+
index 0a50ed8..8e30d7b 100644
12
12
+
--- a/configure.ac
13
13
+
+++ b/configure.ac
14
14
+
@@ -90,7 +90,8 @@ GETTEXT_PACKAGE=librda
15
15
+
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
16
16
+
[The gettext translation domain])
17
17
+
AC_SUBST(GETTEXT_PACKAGE)
18
18
+
-AM_GLIB_GNU_GETTEXT
19
19
+
+AM_GNU_GETTEXT([external])
20
20
+
+AM_GNU_GETTEXT_VERSION([0.21])
21
21
+
22
22
+
AC_CONFIG_FILES([
23
23
+
Makefile
24
24
+
--
25
25
+
2.49.0
26
26
+
+6
pkgs/by-name/li/librda/package.nix
···
28
28
"bin"
29
29
];
30
30
31
31
+
patches = [
32
32
+
# Use proper gettext instead of GLib macros
33
33
+
# Remove when https://github.com/ArcticaProject/librda/pull/10 merged & in release
34
34
+
./1001-configure-GLib-gettext-is-deprecated-use-regular-get.patch
35
35
+
];
36
36
+
31
37
strictDeps = true;
32
38
33
39
nativeBuildInputs = [