changeset 813:46b1eb76c87d

bugfixes for package fribidi
author Volker Grabsch <vog@notjusthosting.com>
date Wed, 24 Feb 2010 17:42:11 +0100
parents cc5accf80b3b
children 7b9d13f0d445
files src/fribidi-fix-gassert.patch src/fribidi.mk
diffstat 2 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/fribidi-fix-gassert.patch	Wed Feb 24 17:42:11 2010 +0100
@@ -0,0 +1,14 @@
+This file is part of mingw-cross-env.
+See doc/index.html for further information.
+
+diff -ru fribidi-0.19.2.orig/lib/fribidi-common.h fribidi-0.19.2/lib/fribidi-common.h
+--- fribidi-0.19.2.orig/lib/fribidi-common.h	2007-04-05 18:13:24.000000000 +0200
++++ fribidi-0.19.2/lib/fribidi-common.h	2010-02-24 17:20:47.000000000 +0100
+@@ -63,6 +63,7 @@
+ #if FRIBIDI_USE_GLIB+0
+ # ifndef __FRIBIDI_DOC
+ #  include <glib/gmacros.h>
++#  include <glib/gtestutils.h>
+ # endif	/* !__FRIBIDI_DOC */
+ # define FRIBIDI_BEGIN_DECLS		G_BEGIN_DECLS
+ # define FRIBIDI_END_DECLS		G_END_DECLS
--- a/src/fribidi.mk	Wed Feb 24 15:01:38 2010 +0100
+++ b/src/fribidi.mk	Wed Feb 24 17:42:11 2010 +0100
@@ -19,6 +19,7 @@
 endef
 
 define $(PKG)_BUILD
+    $(SED) -i 's,__declspec(dllimport),,' '$(1)/lib/fribidi-common.h'
     cd '$(1)' && ./configure \
         --host='$(TARGET)' \
         --disable-shared \