[packages/crossmingw32-atkmm] - enable WinXP APIs for std-threads; release 3

qboosh qboosh at pld-linux.org
Fri Oct 5 18:26:22 CEST 2018


commit 65dd0373da185845c516f4275cbb814d0a518be4
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Oct 5 18:29:46 2018 +0200

    - enable WinXP APIs for std-threads; release 3

 crossmingw32-atkmm.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/crossmingw32-atkmm.spec b/crossmingw32-atkmm.spec
index 1f7bc5a..8a8708f 100644
--- a/crossmingw32-atkmm.spec
+++ b/crossmingw32-atkmm.spec
@@ -2,7 +2,7 @@ Summary:	A C++ interface for atk library - cross MinGW32 version
 Summary(pl.UTF-8):	Interfejs C++ dla biblioteki atk - wersja skrośna MinGW32
 Name:		crossmingw32-atkmm
 Version:	2.24.2
-Release:	2
+Release:	3
 License:	LGPL v2.1+
 Group:		Development/Libraries
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/atkmm/2.24/atkmm-%{version}.tar.xz
@@ -94,6 +94,8 @@ export PKG_CONFIG_LIBDIR=%{_prefix}/lib/pkgconfig:%{_npkgconfigdir}
 %{__autoconf}
 %{__autoheader}
 %{__automake}
+# std-threads required by glibmm requires at least WinXP API
+CPPFLAGS="%{rpmcppflags} -DWINVER=0x0501"
 %configure \
 	--target=%{target} \
 	--host=%{target} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-atkmm.git/commitdiff/65dd0373da185845c516f4275cbb814d0a518be4



More information about the pld-cvs-commit mailing list