commit 24a2a94fa5c6755d2297401d9262e145d1a4974c
Author: Jakub Bogusz <[email protected]>
Date:   Tue Jan 12 19:39:17 2016 +0100

    - updated to 1.1.3
    - added win32 patch (allow build with pre-Vista headers), like 
mingw32<=4.0.3

 crossmingw32-harfbuzz.spec |  6 ++++--
 harfbuzz-win32.patch       | 12 ++++++++++++
 2 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/crossmingw32-harfbuzz.spec b/crossmingw32-harfbuzz.spec
index cc22f1e..08f4798 100644
--- a/crossmingw32-harfbuzz.spec
+++ b/crossmingw32-harfbuzz.spec
@@ -1,12 +1,13 @@
 Summary:       HarfBuzz - internationalized text shaping library - MinGW32 
cross version
 Summary(pl.UTF-8):     Rasteryzer fontów TrueType - wersja skrośna dla MinGW32
 Name:          crossmingw32-harfbuzz
-Version:       1.1.2
+Version:       1.1.3
 Release:       1
 License:       MIT
 Group:         Development/Libraries
 Source0:       
http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-%{version}.tar.bz2
-# Source0-md5: e6210d3cfd4064d95621fc16913268ed
+# Source0-md5: 671daf05153d57258e5cb992aa28c64a
+Patch0:                harfbuzz-win32.patch
 URL:           http://www.freedesktop.org/wiki/HarfBuzz
 BuildRequires: autoconf >= 2.64
 BuildRequires: automake >= 1:1.11.1
@@ -88,6 +89,7 @@ Biblioteka DLL harfbuzz dla Windows.
 
 %prep
 %setup -q -n harfbuzz-%{version}
+%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/harfbuzz-win32.patch b/harfbuzz-win32.patch
new file mode 100644
index 0000000..d1d9587
--- /dev/null
+++ b/harfbuzz-win32.patch
@@ -0,0 +1,12 @@
+--- harfbuzz-1.1.3/src/hb-uniscribe.cc.orig    2016-01-06 13:29:29.337284954 
+0100
++++ harfbuzz-1.1.3/src/hb-uniscribe.cc 2016-01-12 17:19:29.371811035 +0100
+@@ -42,6 +42,9 @@
+ #define HB_DEBUG_UNISCRIBE (HB_DEBUG+0)
+ #endif
+ 
++#ifndef E_NOT_SUFFICIENT_BUFFER
++#define E_NOT_SUFFICIENT_BUFFER ((HRESULT)0x8007007A)
++#endif
+ 
+ static inline uint16_t hb_uint16_swap (const uint16_t v)
+ { return (v >> 8) | (v << 8); }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-harfbuzz.git/commitdiff/24a2a94fa5c6755d2297401d9262e145d1a4974c

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to