]> git.pld-linux.org Git - packages/crossmingw32-gettext.git/commitdiff
- added mingw32 patch (adjust for w32api 5.0.x); release 3 auto/th/crossmingw32-gettext-0.19.8.1-3
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 1 Oct 2018 17:25:13 +0000 (19:25 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 1 Oct 2018 17:25:13 +0000 (19:25 +0200)
crossmingw32-gettext.spec
gettext-mingw32.patch [new file with mode: 0644]

index b5a6788fe697995666a5b4865bb082ad2c1074b6..09aee7d183825870c7f2e2dd89b9d61b0a98079c 100644 (file)
@@ -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@m4_esyscmd(\[build-aux/git-version-gen \.tarball-version\])@[%{version}]@' \
diff --git a/gettext-mingw32.patch b/gettext-mingw32.patch
new file mode 100644 (file)
index 0000000..b1416a8
--- /dev/null
@@ -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
This page took 0.135811 seconds and 4 git commands to generate.