[packages/crossmingw32-gettext] - updated to 1.0
qboosh
qboosh at pld-linux.org
Fri Jul 3 21:55:10 CEST 2026
commit 8ccd961569527b2b8dcfb67cf9d888f4f755c09e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Jul 3 21:55:05 2026 +0200
- updated to 1.0
crossmingw32-gettext.spec | 4 +-
gettext-mingw32.patch | 210 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 212 insertions(+), 2 deletions(-)
---
diff --git a/crossmingw32-gettext.spec b/crossmingw32-gettext.spec
index 3d871a7..e38f731 100644
--- a/crossmingw32-gettext.spec
+++ b/crossmingw32-gettext.spec
@@ -2,12 +2,12 @@
Summary: gettext libraries - cross MinGW32 version
Summary(pl.UTF-8): Biblioteki gettext - wersja skrośna dla MinGW32
Name: crossmingw32-%{realname}
-Version: 0.26
+Version: 1.0
Release: 1
License: LGPL v2.1+
Group: Development/Libraries
Source0: https://ftp.gnu.org/gnu/gettext/%{realname}-%{version}.tar.lz
-# Source0-md5: 22954d4bb74a5246de89a35fdfc5d174
+# Source0-md5: 83199a6c26bfda3f0c425b94e814139a
Patch0: %{name}-kill_tools.patch
Patch1: %{realname}-mingw32.patch
URL: http://www.gnu.org/software/gettext/
diff --git a/gettext-mingw32.patch b/gettext-mingw32.patch
index 63ece80..898442a 100644
--- a/gettext-mingw32.patch
+++ b/gettext-mingw32.patch
@@ -196,3 +196,213 @@
goto error;
}
+--- gettext-1.0/gettext-runtime/gnulib-lib/wchar.in.h.orig 2026-07-03 21:33:35.055508314 +0200
++++ gettext-1.0/gettext-runtime/gnulib-lib/wchar.in.h 2026-07-03 21:35:21.594931140 +0200
+@@ -36,7 +36,8 @@
+ && ((defined _INTTYPES_INCLUDED \
+ && !defined _GL_FINISHED_INCLUDING_SYSTEM_INTTYPES_H) \
+ || defined _GL_JUST_INCLUDE_SYSTEM_WCHAR_H)) \
+- || (defined __MINGW32__ && defined __STRING_H_SOURCED__))
++ || (defined __MINGW32__ && defined __STRING_H_SOURCED__) \
++ || defined _ at GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H)
+ /* Special invocation convention:
+ - Inside glibc and uClibc header files, but not MinGW.
+ - On HP-UX 11.00 we have a sequence of nested includes
+@@ -58,6 +59,8 @@
+
+ #ifndef _ at GUARD_PREFIX@_WCHAR_H
+
++#define _ at GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H
++
+ #if @HAVE_FEATURES_H@
+ # include <features.h> /* for __GLIBC__ */
+ #endif
+@@ -76,6 +79,8 @@
+ # @INCLUDE_NEXT@ @NEXT_WCHAR_H@
+ #endif
+
++#undef _ at GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H
++
+ #ifndef _ at GUARD_PREFIX@_WCHAR_H
+ #define _ at GUARD_PREFIX@_WCHAR_H
+
+--- gettext-1.0/gettext-runtime/intl/gnulib-lib/wchar.in.h.orig 2026-07-03 21:33:35.055508314 +0200
++++ gettext-1.0/gettext-runtime/intl/gnulib-lib/wchar.in.h 2026-07-03 21:35:21.594931140 +0200
+@@ -36,7 +36,8 @@
+ && ((defined _INTTYPES_INCLUDED \
+ && !defined _GL_FINISHED_INCLUDING_SYSTEM_INTTYPES_H) \
+ || defined _GL_JUST_INCLUDE_SYSTEM_WCHAR_H)) \
+- || (defined __MINGW32__ && defined __STRING_H_SOURCED__))
++ || (defined __MINGW32__ && defined __STRING_H_SOURCED__) \
++ || defined _ at GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H)
+ /* Special invocation convention:
+ - Inside glibc and uClibc header files, but not MinGW.
+ - On HP-UX 11.00 we have a sequence of nested includes
+@@ -58,6 +59,8 @@
+
+ #ifndef _ at GUARD_PREFIX@_WCHAR_H
+
++#define _ at GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H
++
+ #if @HAVE_FEATURES_H@
+ # include <features.h> /* for __GLIBC__ */
+ #endif
+@@ -76,6 +79,8 @@
+ # @INCLUDE_NEXT@ @NEXT_WCHAR_H@
+ #endif
+
++#undef _ at GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H
++
+ #ifndef _ at GUARD_PREFIX@_WCHAR_H
+ #define _ at GUARD_PREFIX@_WCHAR_H
+
+--- gettext-1.0/gettext-runtime/libasprintf/gnulib-lib/wchar.in.h.orig 2026-07-03 21:33:35.055508314 +0200
++++ gettext-1.0/gettext-runtime/libasprintf/gnulib-lib/wchar.in.h 2026-07-03 21:35:21.594931140 +0200
+@@ -36,7 +36,8 @@
+ && ((defined _INTTYPES_INCLUDED \
+ && !defined _GL_FINISHED_INCLUDING_SYSTEM_INTTYPES_H) \
+ || defined _GL_JUST_INCLUDE_SYSTEM_WCHAR_H)) \
+- || (defined __MINGW32__ && defined __STRING_H_SOURCED__))
++ || (defined __MINGW32__ && defined __STRING_H_SOURCED__) \
++ || defined _ at GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H)
+ /* Special invocation convention:
+ - Inside glibc and uClibc header files, but not MinGW.
+ - On HP-UX 11.00 we have a sequence of nested includes
+@@ -58,6 +59,8 @@
+
+ #ifndef _ at GUARD_PREFIX@_WCHAR_H
+
++#define _ at GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H
++
+ #if @HAVE_FEATURES_H@
+ # include <features.h> /* for __GLIBC__ */
+ #endif
+@@ -76,6 +79,8 @@
+ # @INCLUDE_NEXT@ @NEXT_WCHAR_H@
+ #endif
+
++#undef _ at GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H
++
+ #ifndef _ at GUARD_PREFIX@_WCHAR_H
+ #define _ at GUARD_PREFIX@_WCHAR_H
+
+--- gettext-1.0/gettext-tools/gnulib-lib/wchar.in.h.orig 2026-07-03 21:33:35.055508314 +0200
++++ gettext-1.0/gettext-tools/gnulib-lib/wchar.in.h 2026-07-03 21:35:21.594931140 +0200
+@@ -36,7 +36,8 @@
+ && ((defined _INTTYPES_INCLUDED \
+ && !defined _GL_FINISHED_INCLUDING_SYSTEM_INTTYPES_H) \
+ || defined _GL_JUST_INCLUDE_SYSTEM_WCHAR_H)) \
+- || (defined __MINGW32__ && defined __STRING_H_SOURCED__))
++ || (defined __MINGW32__ && defined __STRING_H_SOURCED__) \
++ || defined _ at GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H)
+ /* Special invocation convention:
+ - Inside glibc and uClibc header files, but not MinGW.
+ - On HP-UX 11.00 we have a sequence of nested includes
+@@ -58,6 +59,8 @@
+
+ #ifndef _ at GUARD_PREFIX@_WCHAR_H
+
++#define _ at GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H
++
+ #if @HAVE_FEATURES_H@
+ # include <features.h> /* for __GLIBC__ */
+ #endif
+@@ -76,6 +79,8 @@
+ # @INCLUDE_NEXT@ @NEXT_WCHAR_H@
+ #endif
+
++#undef _ at GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H
++
+ #ifndef _ at GUARD_PREFIX@_WCHAR_H
+ #define _ at GUARD_PREFIX@_WCHAR_H
+
+--- gettext-1.0/gettext-tools/libgettextpo/wchar.in.h.orig 2026-07-03 21:33:35.055508314 +0200
++++ gettext-1.0/gettext-tools/libgettextpo/wchar.in.h 2026-07-03 21:35:21.594931140 +0200
+@@ -36,7 +36,8 @@
+ && ((defined _INTTYPES_INCLUDED \
+ && !defined _GL_FINISHED_INCLUDING_SYSTEM_INTTYPES_H) \
+ || defined _GL_JUST_INCLUDE_SYSTEM_WCHAR_H)) \
+- || (defined __MINGW32__ && defined __STRING_H_SOURCED__))
++ || (defined __MINGW32__ && defined __STRING_H_SOURCED__) \
++ || defined _ at GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H)
+ /* Special invocation convention:
+ - Inside glibc and uClibc header files, but not MinGW.
+ - On HP-UX 11.00 we have a sequence of nested includes
+@@ -58,6 +59,8 @@
+
+ #ifndef _ at GUARD_PREFIX@_WCHAR_H
+
++#define _ at GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H
++
+ #if @HAVE_FEATURES_H@
+ # include <features.h> /* for __GLIBC__ */
+ #endif
+@@ -76,6 +79,8 @@
+ # @INCLUDE_NEXT@ @NEXT_WCHAR_H@
+ #endif
+
++#undef _ at GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H
++
+ #ifndef _ at GUARD_PREFIX@_WCHAR_H
+ #define _ at GUARD_PREFIX@_WCHAR_H
+
+--- gettext-1.0/gettext-tools/libgrep/gnulib-lib/wchar.in.h.orig 2026-07-03 21:33:35.055508314 +0200
++++ gettext-1.0/gettext-tools/libgrep/gnulib-lib/wchar.in.h 2026-07-03 21:35:21.594931140 +0200
+@@ -36,7 +36,8 @@
+ && ((defined _INTTYPES_INCLUDED \
+ && !defined _GL_FINISHED_INCLUDING_SYSTEM_INTTYPES_H) \
+ || defined _GL_JUST_INCLUDE_SYSTEM_WCHAR_H)) \
+- || (defined __MINGW32__ && defined __STRING_H_SOURCED__))
++ || (defined __MINGW32__ && defined __STRING_H_SOURCED__) \
++ || defined _ at GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H)
+ /* Special invocation convention:
+ - Inside glibc and uClibc header files, but not MinGW.
+ - On HP-UX 11.00 we have a sequence of nested includes
+@@ -58,6 +59,8 @@
+
+ #ifndef _ at GUARD_PREFIX@_WCHAR_H
+
++#define _ at GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H
++
+ #if @HAVE_FEATURES_H@
+ # include <features.h> /* for __GLIBC__ */
+ #endif
+@@ -76,6 +79,8 @@
+ # @INCLUDE_NEXT@ @NEXT_WCHAR_H@
+ #endif
+
++#undef _ at GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H
++
+ #ifndef _ at GUARD_PREFIX@_WCHAR_H
+ #define _ at GUARD_PREFIX@_WCHAR_H
+
+--- gettext-1.0/libtextstyle/lib/wchar.in.h.orig 2026-07-03 21:33:35.055508314 +0200
++++ gettext-1.0/libtextstyle/lib/wchar.in.h 2026-07-03 21:35:21.594931140 +0200
+@@ -36,7 +36,8 @@
+ && ((defined _INTTYPES_INCLUDED \
+ && !defined _GL_FINISHED_INCLUDING_SYSTEM_INTTYPES_H) \
+ || defined _GL_JUST_INCLUDE_SYSTEM_WCHAR_H)) \
+- || (defined __MINGW32__ && defined __STRING_H_SOURCED__))
++ || (defined __MINGW32__ && defined __STRING_H_SOURCED__) \
++ || defined _ at GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H)
+ /* Special invocation convention:
+ - Inside glibc and uClibc header files, but not MinGW.
+ - On HP-UX 11.00 we have a sequence of nested includes
+@@ -58,6 +59,8 @@
+
+ #ifndef _ at GUARD_PREFIX@_WCHAR_H
+
++#define _ at GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H
++
+ #if @HAVE_FEATURES_H@
+ # include <features.h> /* for __GLIBC__ */
+ #endif
+@@ -76,6 +79,8 @@
+ # @INCLUDE_NEXT@ @NEXT_WCHAR_H@
+ #endif
+
++#undef _ at GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H
++
+ #ifndef _ at GUARD_PREFIX@_WCHAR_H
+ #define _ at GUARD_PREFIX@_WCHAR_H
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-gettext.git/commitdiff/8ccd961569527b2b8dcfb67cf9d888f4f755c09e
More information about the pld-cvs-commit
mailing list