[packages/poldek] fix compatibility with gettext >= 0.24
atler
atler at pld-linux.org
Thu Jun 26 00:49:36 CEST 2025
commit b28d7f49746ccf5944167a214e9e0f713c36615f
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Jun 26 00:44:37 2025 +0200
fix compatibility with gettext >= 0.24
linguas.patch | 35 +++++++++++++++++++++++++++++++++++
poldek.spec | 2 ++
2 files changed, 37 insertions(+)
---
diff --git a/poldek.spec b/poldek.spec
index f56f788..2aad2ed 100644
--- a/poldek.spec
+++ b/poldek.spec
@@ -55,6 +55,7 @@ Patch3: fix-reinstall-sigsev.patch
Patch4: restore-verify-all.patch
Patch5: proxy-fix.patch
Patch6: verify-fix.patch
+Patch7: linguas.patch
URL: http://poldek.pld-linux.org/
%{?with_rpm5:BuildRequires: %{db_pkg}-devel >= %{ver_db}}
BuildRequires: autoconf >= 2.63
@@ -234,6 +235,7 @@ Moduły języka Python dla poldka.
%patch -P 4 -p1
%patch -P 5 -p1
%patch -P 6 -p1
+%patch -P 7 -p1
%{__rm} doc/poldek.info
%{__rm} m4/libtool.m4 m4/lt*.m4
diff --git a/linguas.patch b/linguas.patch
new file mode 100644
index 0000000..97d86cf
--- /dev/null
+++ b/linguas.patch
@@ -0,0 +1,35 @@
+From 9a91c58a282617a536a99d86be4eaa2da7e433ed Mon Sep 17 00:00:00 2001
+From: Jan Palus <jpalus at fastmail.com>
+Date: Thu, 26 Jun 2025 00:30:42 +0200
+Subject: [PATCH] list available translations in po/LINGUAS file
+
+fixes compatibility with gettext >= 0.24
+---
+ configure.ac | 2 --
+ po/LINGUAS | 1 +
+ 2 files changed, 1 insertion(+), 2 deletions(-)
+ create mode 100644 po/LINGUAS
+
+diff --git a/configure.ac b/configure.ac
+index fab947b..9afc747 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -46,8 +46,6 @@ fi
+ AC_SUBST(VERSION_CVSTAG)
+ AC_DEFINE_UNQUOTED([VERSION_YEAR], "$VERSION_YEAR", [version year])
+
+-ALL_LINGUAS="pl de"
+-
+ dnl cond. building NFY
+ dnl AC_DEFINE([ENABLE_VFILE_TRURLIO],1,[defined if trurlio is used for vfile operations])
+
+diff --git a/po/LINGUAS b/po/LINGUAS
+new file mode 100644
+index 0000000..78b66c3
+--- /dev/null
++++ b/po/LINGUAS
+@@ -0,0 +1 @@
++de pl
+--
+2.50.0
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/poldek.git/commitdiff/0d5c1aefc187d34a4656fa6c56dc57b95aa437d6
More information about the pld-cvs-commit
mailing list