[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (ad5d2044cb3e8bcc29b6f020f8075410e501a5e7)

Vlad Glagolev scm at sourcemage.org
Fri Nov 25 13:04:28 EST 2011


GIT changes to master grimoire by Vlad Glagolev <stealth at sourcemage.org>:

 libs/fribidi/HISTORY    |    4 ++++
 libs/fribidi/PRE_BUILD  |    4 ++++
 libs/fribidi/glib.patch |   12 ++++++++++++
 3 files changed, 20 insertions(+)

New commits:
commit ad5d2044cb3e8bcc29b6f020f8075410e501a5e7
Author: Vlad Glagolev <stealth at sourcemage.org>
Commit: Vlad Glagolev <stealth at sourcemage.org>

    fribidi: fixed compilation with glib2

diff --git a/libs/fribidi/HISTORY b/libs/fribidi/HISTORY
index e5cedf7..fdc53c4 100644
--- a/libs/fribidi/HISTORY
+++ b/libs/fribidi/HISTORY
@@ -1,3 +1,7 @@
+2011-11-25 Vlad Glagolev <stealth at sourcemage.org>
+	* PRE_BUILD: added, to apply the patch
+	* glib.patch: added, to fix compilation
+
 2011-11-12 Robin Cook <rcook at wyrms.net>
 	* DETAILS: updated VERSION to 0.19.2
 	* DEPENDS: added optional on glib2
diff --git a/libs/fribidi/PRE_BUILD b/libs/fribidi/PRE_BUILD
new file mode 100755
index 0000000..ca4957b
--- /dev/null
+++ b/libs/fribidi/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+patch -p0 < "$SPELL_DIRECTORY/glib.patch"
diff --git a/libs/fribidi/glib.patch b/libs/fribidi/glib.patch
new file mode 100644
index 0000000..2ae0a63
--- /dev/null
+++ b/libs/fribidi/glib.patch
@@ -0,0 +1,12 @@
+--- lib/fribidi-types.h.orig
++++ lib/fribidi-types.h
+@@ -40,8 +40,7 @@
+ 
+ #if FRIBIDI_USE_GLIB+0
+ # ifndef __FRIBIDI_DOC
+-#  include <glib/gtypes.h>
+-#  include <glib/gunicode.h>
++#  include <glib.h>
+ # endif	/* !__FRIBIDI_DOC */
+ # define FRIBIDI_INT8_LOCAL		gint8
+ # define FRIBIDI_INT16_LOCAL		gint16


More information about the SM-Commit mailing list