diff options
author | Mark Brand <mabrand@mabrand.nl> | 2012-06-11 11:29:32 (GMT) |
---|---|---|
committer | Mark Brand <mabrand@mabrand.nl> | 2012-06-11 11:29:32 (GMT) |
commit | 110ca386128edf7584c9b4366b6c094e5dfe2dca (patch) | |
tree | 748828deb8c09e1ff3581aaed60be9a07d2ab697 | |
parent | 0dbe16246de6a9f240fc3bbacc926025b3e4a3fc (diff) | |
download | mxe-110ca386128edf7584c9b4366b6c094e5dfe2dca.zip mxe-110ca386128edf7584c9b4366b6c094e5dfe2dca.tar.gz mxe-110ca386128edf7584c9b4366b6c094e5dfe2dca.tar.bz2 |
package fontconfig: update checksum
-rw-r--r-- | src/fontconfig-1-fixes.patch | 62 | ||||
-rw-r--r-- | src/fontconfig.mk | 2 |
2 files changed, 1 insertions, 63 deletions
diff --git a/src/fontconfig-1-fixes.patch b/src/fontconfig-1-fixes.patch deleted file mode 100644 index dc672d6..0000000 --- a/src/fontconfig-1-fixes.patch +++ /dev/null @@ -1,62 +0,0 @@ -This file is part of MXE. -See index.html for further information. - -From a92a1d2fb38398601fedf1a29d4c9d9afde5cbf2 Mon Sep 17 00:00:00 2001 -From: Mark Brand <mabrand@mabrand.nl> -Date: Mon, 11 Jun 2012 12:38:33 +0200 -Subject: [PATCH] fix building for WIN32 - -8c255fb185d5651b57380b0a9443001e8051b29d moved some code out of switch -but did not declare 'buffer'. Also, replacing the "break" with -"goto bail" neglected the WIN32 specific code. - -taken from -http://lists.freedesktop.org/archives/fontconfig/2012-June/004113.html ---- - src/fcxml.c | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -diff --git a/src/fcxml.c b/src/fcxml.c -index 5201b3c..be1a555 100644 ---- a/src/fcxml.c -+++ b/src/fcxml.c -@@ -1850,6 +1850,9 @@ FcParseDir (FcConfigParse *parse) - { - const FcChar8 *attr, *data; - FcChar8 *prefix = NULL; -+#ifdef _WIN32 -+ FcChar8 buffer[1000]; -+#endif - - attr = FcConfigGetAttribute (parse, "prefix"); - if (attr && FcStrCmp (attr, (const FcChar8 *)"xdg") == 0) -@@ -1886,7 +1889,7 @@ FcParseDir (FcConfigParse *parse) - if (!GetModuleFileName (NULL, buffer, sizeof (buffer) - 20)) - { - FcConfigMessage (parse, FcSevereError, "GetModuleFileName failed"); -- break; -+ goto bail; - } - /* - * Must use the multi-byte aware function to search -@@ -1905,7 +1908,7 @@ FcParseDir (FcConfigParse *parse) - if (!GetModuleFileName (NULL, buffer, sizeof (buffer) - 20)) - { - FcConfigMessage (parse, FcSevereError, "GetModuleFileName failed"); -- break; -+ goto bail; - } - p = _mbsrchr (data, '\\'); - if (p) *p = '\0'; -@@ -1919,7 +1922,7 @@ FcParseDir (FcConfigParse *parse) - if (rc == 0 || rc > sizeof (buffer) - 20) - { - FcConfigMessage (parse, FcSevereError, "GetSystemWindowsDirectory failed"); -- break; -+ goto bail; - } - if (data [strlen (data) - 1] != '\\') - strcat (data, "\\"); --- -1.7.10.3 - diff --git a/src/fontconfig.mk b/src/fontconfig.mk index 8b4f647..67738ce 100644 --- a/src/fontconfig.mk +++ b/src/fontconfig.mk @@ -3,7 +3,7 @@ PKG := fontconfig $(PKG)_IGNORE := -$(PKG)_CHECKSUM := c85281c06ffe7db1676a107584bbeb7fd290cbcc +$(PKG)_CHECKSUM := 9f4dff0a6e50ade2b919f33795eae8438a285595 $(PKG)_SUBDIR := fontconfig-$($(PKG)_VERSION) $(PKG)_FILE := fontconfig-$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := http://fontconfig.org/release/$($(PKG)_FILE) |