commit f9ba0ecc6fe8f6d668fc4c517c6deb46ebe79512
Author: Jakub Bogusz <qbo...@pld-linux.org>
Date:   Sun Apr 7 14:35:28 2013 +0200

    - updated to 0.9.15
    - added mingw32 patch (avoid snprintf->_snprintf rename for mingw32)
    - avoid detecting host icu when cross-compiling

 crossmingw32-harfbuzz.spec |  7 +++++--
 harfbuzz-mingw32.patch     | 11 +++++++++++
 2 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/crossmingw32-harfbuzz.spec b/crossmingw32-harfbuzz.spec
index 2662c45..0de3677 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:       0.9.13
+Version:       0.9.15
 Release:       1
 License:       MIT
 Group:         Development/Libraries
 Source0:       
http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-%{version}.tar.bz2
-# Source0-md5: 00cdc6644fae1be8c1d566082286b6f9
+# Source0-md5: f6075024947eb445dd3bec587b1753d1
+Patch0:                harfbuzz-mingw32.patch
 URL:           http://www.freedesktop.org/wiki/HarfBuzz
 BuildRequires: crossmingw32-cairo >= 1.8.0
 BuildRequires: crossmingw32-freetype >= 2.3.8
@@ -84,10 +85,12 @@ Biblioteka DLL harfbuzz dla Windows.
 
 %prep
 %setup -q -n harfbuzz-%{version}
+%patch0 -p1
 
 %build
 export PKG_CONFIG_LIBDIR=%{_pkgconfigdir}
 %configure \
+       ICU_CONFIG=/none \
        --target=%{target} \
        --build=i686-pc-linux-gnu \
        --host=%{target} \
diff --git a/harfbuzz-mingw32.patch b/harfbuzz-mingw32.patch
new file mode 100644
index 0000000..243c1d6
--- /dev/null
+++ b/harfbuzz-mingw32.patch
@@ -0,0 +1,11 @@
+--- harfbuzz-0.9.15/src/hb-private.hh.orig     2013-03-19 12:04:53.000000000 
+0100
++++ harfbuzz-0.9.15/src/hb-private.hh  2013-04-07 13:28:22.647401427 +0200
+@@ -184,7 +184,7 @@
+ #endif
+ 
+ 
+-#if (defined(__WIN32__) && !defined(__WINE__)) || defined(_MSC_VER)
++#if defined(_MSC_VER)
+ #define snprintf _snprintf
+ #endif
+ 
================================================================

---- gitweb:

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

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to