SOURCES: libgpod-align.patch (NEW) - build hack (not a real fix - ...
qboosh
qboosh at pld-linux.org
Mon Nov 7 21:06:08 CET 2005
Author: qboosh Date: Mon Nov 7 20:06:08 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- build hack (not a real fix - it would require library usage changes; expect crashes on sparc and unaligned traps on alpha when headers are unaligned)
---- Files affected:
SOURCES:
libgpod-align.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/libgpod-align.patch
diff -u /dev/null SOURCES/libgpod-align.patch:1.1
--- /dev/null Mon Nov 7 21:06:08 2005
+++ SOURCES/libgpod-align.patch Mon Nov 7 21:06:03 2005
@@ -0,0 +1,11 @@
+--- libgpod/src/db-parse-context.c.orig 2005-09-22 18:16:50.000000000 +0000
++++ libgpod/src/db-parse-context.c 2005-11-07 19:59:27.716675000 +0000
+@@ -132,7 +132,7 @@
+ return NULL;
+ }
+
+- h = (MHeader *)ctx->cur_pos;
++ h = (MHeader *)(void*)ctx->cur_pos; /* XXX: unaligned access on unaligned header */
+ if (strncmp (id, (char *)h->header_id, 4) != 0) {
+ return NULL;
+ }
================================================================
More information about the pld-cvs-commit
mailing list