[PATCH] export WORDS_BIGENDIAN in set_soenv and make graphite2 use it
Rene Engelhard
rene at debian.org
Tue Aug 23 02:35:15 PDT 2011
---
graphite/graphite_make.patch | 6 +++++-
set_soenv.in | 1 +
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/graphite/graphite_make.patch b/graphite/graphite_make.patch
index 73b6205..c137c12 100644
--- a/graphite/graphite_make.patch
+++ b/graphite/graphite_make.patch
@@ -1,6 +1,6 @@
--- misc/build/graphite2-1.0.2/src/makefile.mk Fri Mar 4 10:20:30 2011 +0700
+++ misc/build/graphite2-1.0.2/src/makefile.mk Fri Mar 4 10:20:30 2011 +0700
-@@ -1,1 +1,34 @@
+@@ -1,1 +1,38 @@
-dummy
+EXTERNAL_WARNINGS_NOT_ERRORS := TRUE
+
@@ -18,6 +18,10 @@
+CFLAGS+=-O3 -DNDEBUG
+.ENDIF
+
++.IF "$(WORDS_BIGENDIAN)" == "yes"
++CFLAGS += -DWORDS_BIGENDIAN
++.ENDIF
++
+_NS := GR2
+
+GR2_MACHINE=call
diff --git a/set_soenv.in b/set_soenv.in
index 03edbcf..2d97ff2 100755
--- a/set_soenv.in
+++ b/set_soenv.in
@@ -1826,6 +1826,7 @@ ToFile( "ALIGNOF_SHORT", "@ALIGNOF_SHORT@", "e" );
ToFile( "ALIGNOF_INT", "@ALIGNOF_INT@", "e" );
ToFile( "ALIGNOF_LONG", "@ALIGNOF_LONG@", "e" );
ToFile( "ALIGNOF_DOUBLE", "@ALIGNOF_DOUBLE@", "e" );
+ToFile( "WORDS_BIGENDIAN", "@WORDS_BIGENDIAN@", "e" );
ToFile( "HAVE_GCC_NO_LONG_DOUBLE", "@HAVE_GCC_NO_LONG_DOUBLE@", "e" );
ToFile( "HAVE_GCC_AVX", "@HAVE_GCC_AVX@", "e" );
ToFile( "HAVE_GCC_VISIBILITY_FEATURE",
--
1.7.5.4
--/i8j2F0k9BYX4qLc--
More information about the LibreOffice
mailing list