windows.h must be lowercase

epel9
Thomas Sailer 11 years ago
parent 68572100e4
commit 78cc4e97ee

@ -0,0 +1,11 @@
--- src/lcms2_internal.h.mingw 2014-03-06 12:12:07.654380274 +0100
+++ src/lcms2_internal.h 2014-03-06 12:12:19.590079255 +0100
@@ -174,7 +174,7 @@
#ifdef CMS_IS_WINDOWS_
#define WIN32_LEAN_AND_MEAN 1
-#include <Windows.h>
+#include <windows.h>
// From: http://locklessinc.com/articles/pthreads_on_windows/

@ -11,6 +11,7 @@ Group: Development/Libraries
License: MIT License: MIT
URL: http://www.littlecms.com/ URL: http://www.littlecms.com/
Source0: http://www.littlecms.com/%{mingw_pkg_name}-%{version}%{prerelease}.tar.gz Source0: http://www.littlecms.com/%{mingw_pkg_name}-%{version}%{prerelease}.tar.gz
Patch0: lcms2-mingw.patch
BuildRequires: mingw32-filesystem BuildRequires: mingw32-filesystem
BuildRequires: mingw64-filesystem BuildRequires: mingw64-filesystem
@ -69,6 +70,7 @@ mingw64-%{mingw_pkg_name} development.
%prep %prep
%setup -q -n %{mingw_pkg_name}-%{version}%{prerelease} %setup -q -n %{mingw_pkg_name}-%{version}%{prerelease}
%patch0 -p0 -b .mingw
iconv -f ISO-8859-1 -t UTF-8 AUTHORS > AUTHORS.x iconv -f ISO-8859-1 -t UTF-8 AUTHORS > AUTHORS.x
mv -f AUTHORS.x AUTHORS mv -f AUTHORS.x AUTHORS

Loading…
Cancel
Save