summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Martin <gmsoft@gentoo.org>2004-10-11 21:15:51 +0000
committerGuy Martin <gmsoft@gentoo.org>2004-10-11 21:15:51 +0000
commit56ae83d54fd78aa23d570fb86cfd50ddeb265b69 (patch)
treed705a5da1361207008c9c0be20f56b7ee2ebfb0e /dev-db/sqlite/files
parentvirtualize cdrtools dep (Manifest recommit) (diff)
downloadgentoo-2-56ae83d54fd78aa23d570fb86cfd50ddeb265b69.tar.gz
gentoo-2-56ae83d54fd78aa23d570fb86cfd50ddeb265b69.tar.bz2
gentoo-2-56ae83d54fd78aa23d570fb86cfd50ddeb265b69.zip
Added a alignement fix for hppa. Stable on hppa.
Diffstat (limited to 'dev-db/sqlite/files')
-rw-r--r--dev-db/sqlite/files/sqlite-2.8.15-alignement-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-db/sqlite/files/sqlite-2.8.15-alignement-fix.patch b/dev-db/sqlite/files/sqlite-2.8.15-alignement-fix.patch
new file mode 100644
index 000000000000..9420d1d277d1
--- /dev/null
+++ b/dev-db/sqlite/files/sqlite-2.8.15-alignement-fix.patch
@@ -0,0 +1,12 @@
+diff -uNr sqlite.orig/src/vdbeInt.h sqlite/src/vdbeInt.h
+--- sqlite.orig/src/vdbeInt.h 2004-10-16 01:33:02.779442000 +0200
++++ sqlite/src/vdbeInt.h 2004-10-16 01:35:01.139442000 +0200
+@@ -115,7 +115,7 @@
+ int flags; /* Some combination of MEM_Null, MEM_Str, MEM_Dyn, etc. */
+ double r; /* Real value */
+ char *z; /* String value */
+- char zShort[NBFS]; /* Space for short strings */
++ char zShort[NBFS]; __attribute__ ((__aligned__(16))); /* Space for short strings */
+ };
+ typedef struct Mem Mem;
+