[mingw-lcms2] windows.h must be lowercase
sailer
sailer at fedoraproject.org
Thu Mar 6 11:23:55 UTC 2014
commit 78cc4e97ee927a0b38fcab42450d7295d4060777
Author: Thomas Sailer <t.sailer at alumni.ethz.ch>
Date: Thu Mar 6 12:22:26 2014 +0100
windows.h must be lowercase
lcms2-mingw.patch | 11 +++++++++++
mingw-lcms2.spec | 2 ++
2 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/lcms2-mingw.patch b/lcms2-mingw.patch
new file mode 100644
index 0000000..c33e2bf
--- /dev/null
+++ b/lcms2-mingw.patch
@@ -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/
diff --git a/mingw-lcms2.spec b/mingw-lcms2.spec
index a6a74d2..57c70c6 100644
--- a/mingw-lcms2.spec
+++ b/mingw-lcms2.spec
@@ -11,6 +11,7 @@ Group: Development/Libraries
License: MIT
URL: http://www.littlecms.com/
Source0: http://www.littlecms.com/%{mingw_pkg_name}-%{version}%{prerelease}.tar.gz
+Patch0: lcms2-mingw.patch
BuildRequires: mingw32-filesystem
BuildRequires: mingw64-filesystem
@@ -69,6 +70,7 @@ mingw64-%{mingw_pkg_name} development.
%prep
%setup -q -n %{mingw_pkg_name}-%{version}%{prerelease}
+%patch0 -p0 -b .mingw
iconv -f ISO-8859-1 -t UTF-8 AUTHORS > AUTHORS.x
mv -f AUTHORS.x AUTHORS
More information about the scm-commits
mailing list