[packages/crossmingw32-libiconv] - updated to 1.19

qboosh qboosh at pld-linux.org
Sun May 24 16:20:56 CEST 2026


commit 3716eb6d2127bcf62845c3ea934f7997c6752b13
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun May 24 16:21:02 2026 +0200

    - updated to 1.19

 crossmingw32-libiconv.spec |  6 ++++--
 libiconv-win32.patch       | 54 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+), 2 deletions(-)
---
diff --git a/crossmingw32-libiconv.spec b/crossmingw32-libiconv.spec
index 8ec004a..9a16e9b 100644
--- a/crossmingw32-libiconv.spec
+++ b/crossmingw32-libiconv.spec
@@ -2,12 +2,12 @@ Summary:	Character set conversion library - MinGW32 cross version
 Summary(pl.UTF-8):	Biblioteka konwersji zestawów znaków - wersja skrośna dla MinGW32
 %define		realname   libiconv
 Name:		crossmingw32-%{realname}
-Version:	1.18
+Version:	1.19
 Release:	1
 License:	LGPL v2.1+
 Group:		Development/Libraries
 Source0:	https://ftp.gnu.org/gnu/libiconv/%{realname}-%{version}.tar.gz
-# Source0-md5:	1af69958b42981d3c3029ffb4c7ebaed
+# Source0-md5:	c04d0fa4cae4e9a4febc457fc00ee519
 Patch0:		%{realname}-win32.patch
 URL:		http://www.gnu.org/software/libiconv/
 BuildRequires:	automake
@@ -27,6 +27,7 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define		_sysprefix		/usr
 %define		_prefix			%{_sysprefix}/%{target}
 %define		_libdir			%{_prefix}/lib
+%define		_docdir			%{_sysprefix}/share/doc
 %define		_dlldir			/usr/share/wine/windows/system
 %define		__cc			%{target}-gcc
 %define		__cxx			%{target}-g++
@@ -115,6 +116,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS NOTES README THANKS
 %{_libdir}/libcharset.dll.a
 %{_libdir}/libiconv.dll.a
 %{_libdir}/libcharset.la
diff --git a/libiconv-win32.patch b/libiconv-win32.patch
index 7abd607..fe1bce1 100644
--- a/libiconv-win32.patch
+++ b/libiconv-win32.patch
@@ -8,3 +8,57 @@
  #  include <winsock2.h>
  # endif
  #endif
+--- libiconv-1.19/srclib/canonicalize-lgpl.c.orig	2026-05-24 16:10:34.577748038 +0200
++++ libiconv-1.19/srclib/canonicalize-lgpl.c	2026-05-24 16:11:37.804072179 +0200
+@@ -104,7 +104,11 @@ file_accessible (char const *file)
+   return __faccessat (AT_FDCWD, file, F_OK, AT_EACCESS) == 0;
+ # else
+   struct stat st;
++#  ifdef EOVERFLOW
+   return stat (file, &st) == 0 || errno == EOVERFLOW;
++#  else
++  return stat (file, &st) == 0 || errno == ERANGE;
++#  endif
+ # endif
+ }
+ 
+@@ -319,7 +323,11 @@ realpath_stk (const char *name, char *re
+             {
+               if (++num_links > __eloop_threshold ())
+                 {
++#ifdef ELOOP
+                   __set_errno (ELOOP);
++#else
++                  __set_errno (ERANGE);
++#endif
+                   goto error;
+                 }
+ 
+--- libiconv-1.19/srclib/stat.c.orig	2026-05-24 16:14:05.953269585 +0200
++++ libiconv-1.19/srclib/stat.c	2026-05-24 16:14:27.903150673 +0200
+@@ -256,7 +256,11 @@ rpl_stat (char const *name, struct stat
+           FindClose (h);
+           if (malloca_rname != NULL)
+             freea (malloca_rname);
++# ifdef EOVERFLOW
+           errno = EOVERFLOW;
++#else
++          errno = ERANGE;
++#endif
+           return -1;
+         }
+ 
+--- libiconv-1.19/srclib/stat-w32.c.orig	2026-05-24 16:14:54.359674012 +0200
++++ libiconv-1.19/srclib/stat-w32.c	2026-05-24 16:16:14.239241267 +0200
+@@ -190,7 +190,11 @@ _gl_fstat_by_handle (HANDLE h, const cha
+       /* Test for error conditions before starting to fill *buf.  */
+       if (sizeof (buf->st_size) <= 4 && info.nFileSizeHigh > 0)
+         {
++#ifdef EOVERFLOW
+           errno = EOVERFLOW;
++#else
++          errno = ERANGE;
++#endif
+           return -1;
+         }
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-libiconv.git/commitdiff/3716eb6d2127bcf62845c3ea934f7997c6752b13



More information about the pld-cvs-commit mailing list