]> git.pld-linux.org Git - packages/crossmingw32-harfbuzz.git/commitdiff
- updated to 0.9.15
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 7 Apr 2013 12:35:28 +0000 (14:35 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 7 Apr 2013 12:35:28 +0000 (14:35 +0200)
- added mingw32 patch (avoid snprintf->_snprintf rename for mingw32)
- avoid detecting host icu when cross-compiling

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

index 2662c45625f623459e5583ede85e607320f9f698..0de36777014072ec00abeb3177e6a1805fb8e478 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:       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 (file)
index 0000000..243c1d6
--- /dev/null
@@ -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
This page took 0.4633 seconds and 4 git commands to generate.