Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi,

On Tue, Aug 23, 2011 at 11:19:29AM +0200, Rene Engelhard wrote:
I know this s bbroken right now, too, but shouldn't we (if we add this version), then fix the
big-endian stuff, too?

(As we don't use the cmake build we need to sett he -DWORDS_BIGENDIAN manually, I think we
can rsue and export the variable we use in configure anyway. Can come up with a patch tonight...)

There we go now already. trvial :)

Can commit to master tonight, and if someone agres I can also cherry-pick
to -3-4 then...

Grüße/Regards,

René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  rene@debian.org | GnuPG-Key ID: D03E3E70
   `-   Fingerprint: E12D EA46 7506 70CF A960 801D 0AA0 4571 D03E 3E70
From 1b0f75050095fe7ce6d09720c63825883a94be29 Mon Sep 17 00:00:00 2001
From: Rene Engelhard <rene@debian.org>
Date: Tue, 23 Aug 2011 11:35:15 +0200
Subject: [PATCH] export WORDS_BIGENDIAN in set_soenv and make graphite2 use
 it

---
 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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.