diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-02-11 13:33:29 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-02-11 13:33:29 +0000 |
commit | 1e78c54390ea7281e3b95c9250e30fd4191a3eb7 (patch) | |
tree | 5e9c6bae435c84a92c7643841663c9bdd6c0f8b5 /x11-misc/xstroke | |
parent | Removing old versions + accompanying files (diff) | |
download | gentoo-2-1e78c54390ea7281e3b95c9250e30fd4191a3eb7.tar.gz gentoo-2-1e78c54390ea7281e3b95c9250e30fd4191a3eb7.tar.bz2 gentoo-2-1e78c54390ea7281e3b95c9250e30fd4191a3eb7.zip |
Fix segfault on amd64, see bug #112567.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'x11-misc/xstroke')
-rw-r--r-- | x11-misc/xstroke/ChangeLog | 8 | ||||
-rw-r--r-- | x11-misc/xstroke/Manifest | 29 | ||||
-rw-r--r-- | x11-misc/xstroke/files/digest-xstroke-0.6-r1 | 3 | ||||
-rw-r--r-- | x11-misc/xstroke/files/xstroke-0.6-sigsegv_sprintf.patch | 13 | ||||
-rw-r--r-- | x11-misc/xstroke/xstroke-0.6-r1.ebuild | 42 |
5 files changed, 83 insertions, 12 deletions
diff --git a/x11-misc/xstroke/ChangeLog b/x11-misc/xstroke/ChangeLog index f63e71d81f36..5c26b5326643 100644 --- a/x11-misc/xstroke/ChangeLog +++ b/x11-misc/xstroke/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-misc/xstroke # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xstroke/ChangeLog,v 1.22 2006/01/22 02:06:09 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xstroke/ChangeLog,v 1.23 2006/02/11 13:33:29 nelchael Exp $ + +*xstroke-0.6-r1 (11 Feb 2006) + + 11 Feb 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +files/xstroke-0.6-sigsegv_sprintf.patch, +xstroke-0.6-r1.ebuild: + Fix segfault on amd64, see bug #112567. 22 Jan 2006; Bryan Østergaard <kloeri@gentoo.org -xstroke-0.5.12-r1.ebuild, xstroke-0.6.ebuild: diff --git a/x11-misc/xstroke/Manifest b/x11-misc/xstroke/Manifest index 45f607ede161..3364a5dc3b49 100644 --- a/x11-misc/xstroke/Manifest +++ b/x11-misc/xstroke/Manifest @@ -1,14 +1,21 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 11c76b7ab02b919c109532d9aa7508c4 ChangeLog 3002 +MD5 13085c4ee18fda402d69290be2589458 ChangeLog 3197 +RMD160 76d4baeab68fe50b84218cb068fc3f87976a9391 ChangeLog 3197 +SHA256 112af8561d6e940134ba0aae7d5727a110b876fc8025e3197d0d82f331fcab21 ChangeLog 3197 MD5 0bff6fe5c7b5973932081ba82302166d files/digest-xstroke-0.6 64 +RMD160 1c4080c3005aba78203dc7798f1e247812673fe4 files/digest-xstroke-0.6 64 +SHA256 fa99c1982f9e617db86d4344a8fca2aff432be28c11678eaf457fb5b6c6eb77d files/digest-xstroke-0.6 64 +MD5 90228eed14629ca7a947b20c302f1639 files/digest-xstroke-0.6-r1 238 +RMD160 168746aae8b97bfef885baf801385ac689c0c2c3 files/digest-xstroke-0.6-r1 238 +SHA256 cee05aac221875aa683aac424caf4932c390261270b8478f9904f2cb65151d2f files/digest-xstroke-0.6-r1 238 +MD5 76562ba25791586cd928104aee494702 files/xstroke-0.6-sigsegv_sprintf.patch 438 +RMD160 d5e4f2d4fb427c0087cf3648d4967998aef170e4 files/xstroke-0.6-sigsegv_sprintf.patch 438 +SHA256 d0acd3dac33f2e4bfc03c3b8a73bd04fd5525bdc5a407d04e1ed180284a8c98a files/xstroke-0.6-sigsegv_sprintf.patch 438 MD5 cdb11033a3fa6525334cecf938961c07 metadata.xml 166 +RMD160 7b80226659bf40e97050b1ffce1858d5f20b3c60 metadata.xml 166 +SHA256 8e7de0a7f7c15840474de373a3ce36adcc5dd658b2e4d18366fcb63b964a0826 metadata.xml 166 +MD5 ebdc635a97b99131eb9e0403a163f22f xstroke-0.6-r1.ebuild 955 +RMD160 f604ab7a6093bfab952e2b1217e100750a0626f4 xstroke-0.6-r1.ebuild 955 +SHA256 e07b7df869af9beca17bcd69eab978b3c8cd077c03656df8e8dc752e061b1501 xstroke-0.6-r1.ebuild 955 MD5 c846e902c3c4ee28b965001757e110a1 xstroke-0.6.ebuild 855 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFD0ujnugEuf3OQ0akRAqBdAJ96z5BcAeiSkP88TUOkc1jEU9CeEACfeNzg -NTR6ORG91Lh2fF+NnrB3FtU= -=hGjd ------END PGP SIGNATURE----- +RMD160 851c70448daadc8b138f221db0f96fbfaddd2379 xstroke-0.6.ebuild 855 +SHA256 1c34856d1d2e2eb6e559023efa00a2019ff947dc11d01639e3a581d33f34ca3b xstroke-0.6.ebuild 855 diff --git a/x11-misc/xstroke/files/digest-xstroke-0.6-r1 b/x11-misc/xstroke/files/digest-xstroke-0.6-r1 new file mode 100644 index 000000000000..8ff254ab2d1e --- /dev/null +++ b/x11-misc/xstroke/files/digest-xstroke-0.6-r1 @@ -0,0 +1,3 @@ +MD5 fe4cb132369e25afc6703fc5dc0b45c2 xstroke-0.6.tar.bz2 140237 +RMD160 0872e73b4f28d09943195fce1dc2fd4756a607cf xstroke-0.6.tar.bz2 140237 +SHA256 814a38ec6dada26a7bda5439fe34995d5ac812bf2e8c008f8b297ab08b42fb5f xstroke-0.6.tar.bz2 140237 diff --git a/x11-misc/xstroke/files/xstroke-0.6-sigsegv_sprintf.patch b/x11-misc/xstroke/files/xstroke-0.6-sigsegv_sprintf.patch new file mode 100644 index 000000000000..b36958849f53 --- /dev/null +++ b/x11-misc/xstroke/files/xstroke-0.6-sigsegv_sprintf.patch @@ -0,0 +1,13 @@ +diff -Nru xstroke-0.6.vanilla/sprintf_alloc.c xstroke-0.6/sprintf_alloc.c +--- xstroke-0.6.vanilla/sprintf_alloc.c 2005-11-26 01:55:32.000000000 +0100 ++++ xstroke-0.6/sprintf_alloc.c 2005-11-26 01:55:55.000000000 +0100 +@@ -74,7 +74,8 @@ + { + char *new_str; + /* Guess we need no more than 100 bytes. */ +- int n, size = 100; ++ /* yeah... right... */ ++ int n, size = 512; + + if ((*str = malloc (size)) == NULL) + return -1; diff --git a/x11-misc/xstroke/xstroke-0.6-r1.ebuild b/x11-misc/xstroke/xstroke-0.6-r1.ebuild new file mode 100644 index 000000000000..a0f9a74280f5 --- /dev/null +++ b/x11-misc/xstroke/xstroke-0.6-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xstroke/xstroke-0.6-r1.ebuild,v 1.1 2006/02/11 13:33:29 nelchael Exp $ + +inherit eutils + +DESCRIPTION="Gesture/Handwriting recognition engine for X" +HOMEPAGE="http://www.xstroke.org/" +SRC_URI="http://www.xstroke.org/releases/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha hppa ~mips ppc sparc x86" +IUSE="" + +RDEPEND="|| ( ( + x11-libs/libXtst + x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXrender + x11-libs/libXt + x11-libs/libXft ) + virtual/x11 )" +DEPEND="${RDEPEND} + media-libs/freetype + media-libs/fontconfig + || ( ( + x11-proto/xextproto + x11-proto/xproto ) + virtual/x11 )" + +src_unpack() { + + unpack "${A}" + epatch "${FILESDIR}/${P}-sigsegv_sprintf.patch" + +} + +src_install() { + make DESTDIR="${D}" BINDIR=/usr/bin install || die "make install failed" + dodoc AUTHORS ChangeLog NEWS README TODO +} |