]> git.pld-linux.org Git - packages/crossmingw32-harfbuzz.git/commitdiff
- updated to 1.1.3 auto/th/crossmingw32-harfbuzz-1.1.3-1
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 12 Jan 2016 18:39:17 +0000 (19:39 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 12 Jan 2016 18:39:17 +0000 (19:39 +0100)
- added win32 patch (allow build with pre-Vista headers), like mingw32<=4.0.3

crossmingw32-harfbuzz.spec
harfbuzz-win32.patch [new file with mode: 0644]

index cc22f1e315d6f2371fd84eafdd286257fe1a8854..08f479883b0381ab3492e86e7807aaa1df894b11 100644 (file)
@@ -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 (file)
index 0000000..d1d9587
--- /dev/null
@@ -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); }
This page took 0.040221 seconds and 4 git commands to generate.