diff options
author | Guy Martin <gmsoft@gentoo.org> | 2004-10-11 21:15:51 +0000 |
---|---|---|
committer | Guy Martin <gmsoft@gentoo.org> | 2004-10-11 21:15:51 +0000 |
commit | 56ae83d54fd78aa23d570fb86cfd50ddeb265b69 (patch) | |
tree | d705a5da1361207008c9c0be20f56b7ee2ebfb0e /dev-db | |
parent | virtualize cdrtools dep (Manifest recommit) (diff) | |
download | gentoo-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')
-rw-r--r-- | dev-db/sqlite/ChangeLog | 5 | ||||
-rw-r--r-- | dev-db/sqlite/files/sqlite-2.8.15-alignement-fix.patch | 12 | ||||
-rw-r--r-- | dev-db/sqlite/sqlite-2.8.15.ebuild | 14 |
3 files changed, 28 insertions, 3 deletions
diff --git a/dev-db/sqlite/ChangeLog b/dev-db/sqlite/ChangeLog index f6c5f4c2a865..c749ad1dfb6c 100644 --- a/dev-db/sqlite/ChangeLog +++ b/dev-db/sqlite/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-db/sqlite # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.47 2004/10/09 18:14:39 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.48 2004/10/11 21:15:51 gmsoft Exp $ + + 11 Oct 2004; Guy Martin <gmsoft@gentoo.org> sqlite-2.8.15.ebuild: + Added a alignement fix for hppa. Stable on hppa. 09 Oct 2004; Jason Wever <weeve@gentoo.org> sqlite-3.0.7.ebuild: Added ~sparc keyword. 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; + diff --git a/dev-db/sqlite/sqlite-2.8.15.ebuild b/dev-db/sqlite/sqlite-2.8.15.ebuild index 947c7760e5ff..c35320860e68 100644 --- a/dev-db/sqlite/sqlite-2.8.15.ebuild +++ b/dev-db/sqlite/sqlite-2.8.15.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-2.8.15.ebuild,v 1.4 2004/09/25 07:46:06 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-2.8.15.ebuild,v 1.5 2004/10/11 21:15:51 gmsoft Exp $ + +inherit eutils IUSE="nls" @@ -12,7 +14,15 @@ DEPEND="virtual/libc dev-lang/tcl" SLOT="0" LICENSE="as-is" -KEYWORDS="~x86 ~ppc ~sparc ~alpha ~arm ~mips ~hppa ~ppc64 ~amd64 macos ppc-macos" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~arm ~mips hppa ~ppc64 ~amd64 macos ppc-macos" + +src_unpack() { + + unpack ${A} + + use hppa && epatch ${FILESDIR}/${P}-alignement-fix.patch + +} src_compile() { local myconf |