[packages/crossmingw32-gettext] - added mingw32 patch (adjust for w32api 5.0.x); release 3

qboosh qboosh at pld-linux.org
Mon Oct 1 19:21:54 CEST 2018


commit c2c3acfd36bc602b458fbcc44b4c4500aa9567af
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Oct 1 19:25:13 2018 +0200

    - added mingw32 patch (adjust for w32api 5.0.x); release 3

 crossmingw32-gettext.spec |  4 +++-
 gettext-mingw32.patch     | 10 ++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/crossmingw32-gettext.spec b/crossmingw32-gettext.spec
index b5a6788..09aee7d 100644
--- a/crossmingw32-gettext.spec
+++ b/crossmingw32-gettext.spec
@@ -3,13 +3,14 @@ Summary:	gettext libraries - cross MinGW32 version
 Summary(pl.UTF-8):	Biblioteki gettext - wersja skrośna dla MinGW32
 Name:		crossmingw32-%{realname}
 Version:	0.19.8.1
-Release:	2
+Release:	3
 License:	LGPL v2+
 Group:		Development/Libraries
 Source0:	http://ftp.gnu.org/gnu/gettext/%{realname}-%{version}.tar.lz
 # Source0-md5:	d838d2c4144261d0c5fbab4a0aceb5c1
 Patch0:		%{realname}-libintl_by_gcj.patch
 Patch1:		%{name}-kill_tools.patch
+Patch2:		%{realname}-mingw32.patch
 URL:		http://www.gnu.org/software/gettext/
 BuildRequires:	autoconf >= 2.62
 BuildRequires:	automake >= 1:1.13
@@ -80,6 +81,7 @@ Biblioteki DLL gettext dla Windows.
 %setup -q -n %{realname}-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %{__sed} -i \
 	-e 's at m4_esyscmd(\[build-aux/git-version-gen \.tarball-version\])@[%{version}]@' \
diff --git a/gettext-mingw32.patch b/gettext-mingw32.patch
new file mode 100644
index 0000000..b1416a8
--- /dev/null
+++ b/gettext-mingw32.patch
@@ -0,0 +1,10 @@
+--- gettext-0.19.8.1/gettext-runtime/gnulib-lib/strerror-override.c.orig	2016-06-11 14:59:31.000000000 +0200
++++ gettext-0.19.8.1/gettext-runtime/gnulib-lib/strerror-override.c	2018-10-01 19:19:40.808530467 +0200
+@@ -24,6 +24,7 @@
+ #include <errno.h>
+ 
+ #if GNULIB_defined_EWINSOCK /* native Windows platforms */
++# include <winerror.h>
+ # if HAVE_WINSOCK2_H
+ #  include <winsock2.h>
+ # endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-gettext.git/commitdiff/c2c3acfd36bc602b458fbcc44b4c4500aa9567af



More information about the pld-cvs-commit mailing list