[teklib-general] teklib: Util module: was broken on big endian architectures, fix...
Timm S. Mueller
tmueller at neoscientists.org
Wed Dec 3 09:52:49 CET 2008
details: http://hg.teklib.org/teklib/rev/572e3a70d388
changeset: 208:572e3a70d388
user: Timm S. Mueller <tmueller at neoscientists.org>
date: Wed Dec 03 09:44:21 2008 +0100
description:
Util module: was broken on big endian architectures, fixed; DirectFB display
driver is no longer part of the default build procedure
diffs (27 lines):
diff -r 26f2c2d9990d -r 572e3a70d388 src/build/tmkmakefile
--- a/src/build/tmkmakefile Thu Nov 27 18:49:49 2008 +0100
+++ b/src/build/tmkmakefile Wed Dec 03 09:44:21 2008 +0100
@@ -36,9 +36,6 @@
display_x11
[/embed]
[embed body="meta"]
- display_dfb
- [/embed]
- [embed body="meta"]
display_rawfb
[/embed]
[/case_no_descend]
diff -r 26f2c2d9990d -r 572e3a70d388 src/util/util_mod.c
--- a/src/util/util_mod.c Thu Nov 27 18:49:49 2008 +0100
+++ b/src/util/util_mod.c Wed Dec 03 09:44:21 2008 +0100
@@ -64,8 +64,8 @@
if (util->tmu_BigEndian)
{
- ((TMFPTR *) util)[-31-8] = (TMFPTR) util_htonlb;
- ((TMFPTR *) util)[-32-8] = (TMFPTR) util_htonsb;
+ ((TMFPTR *) util)[-35] = (TMFPTR) util_htonlb;
+ ((TMFPTR *) util)[-36] = (TMFPTR) util_htonsb;
}
return TTRUE;
More information about the teklib-general
mailing list