diff options
author | Michael Hanselmann <hansmi@gentoo.org> | 2004-12-15 22:50:04 +0000 |
---|---|---|
committer | Michael Hanselmann <hansmi@gentoo.org> | 2004-12-15 22:50:04 +0000 |
commit | d3870f53ed45ccbfc7a63b786c134c12e7dca4ce (patch) | |
tree | d96d912162c0539eceebab6147072ed2e281f03c /app-text | |
parent | BUG #72945: missing digest for 32bit library. (diff) | |
download | historical-d3870f53ed45ccbfc7a63b786c134c12e7dca4ce.tar.gz historical-d3870f53ed45ccbfc7a63b786c134c12e7dca4ce.tar.bz2 historical-d3870f53ed45ccbfc7a63b786c134c12e7dca4ce.zip |
Fixed compilation error in xmalloc.c and added to ~ppc.
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/bogosort/ChangeLog | 6 | ||||
-rw-r--r-- | app-text/bogosort/Manifest | 15 | ||||
-rw-r--r-- | app-text/bogosort/bogosort-0.4.2.ebuild | 13 | ||||
-rw-r--r-- | app-text/bogosort/files/xmalloc.patch | 15 |
4 files changed, 34 insertions, 15 deletions
diff --git a/app-text/bogosort/ChangeLog b/app-text/bogosort/ChangeLog index a78f64ace680..bcb06b918b61 100644 --- a/app-text/bogosort/ChangeLog +++ b/app-text/bogosort/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/bogosort # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/bogosort/ChangeLog,v 1.1 2004/12/14 22:58:49 ciaranm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/bogosort/ChangeLog,v 1.2 2004/12/15 22:50:04 hansmi Exp $ + + 15 Dec 2004; Michael Hanselmann <hansmi@gentoo.org> +files/xmalloc.patch, + bogosort-0.4.2.ebuild: + Fixed compilation error in xmalloc.c and added to ~ppc. *bogosort-0.4.2 (14 Dec 2004) diff --git a/app-text/bogosort/Manifest b/app-text/bogosort/Manifest index e5e1a783e51b..a25d11015bb0 100644 --- a/app-text/bogosort/Manifest +++ b/app-text/bogosort/Manifest @@ -1,14 +1,5 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 7b5df6d2428a49dc602dfa85ee9ac79b bogosort-0.4.2.ebuild 578 -MD5 1bc8a0513d1ec69f2e9b8b2f72a5f451 ChangeLog 347 MD5 4c1040b15c428fc436d1f5b746abfa8a metadata.xml 496 +MD5 12dbc5b512f92cf4b4d0b15dc92695e1 ChangeLog 506 +MD5 b1901c21e71066d58eda705cbc483aef bogosort-0.4.2.ebuild 681 MD5 375c74fb876d97ee1d8b1acb3e55ada5 files/digest-bogosort-0.4.2 66 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFBv3BILLFUmVNQ7rkRAnbcAJ9xEcwkh9QfBCZanYgh3FBkbjhSUQCeP/M0 -76GGKKnr/ua37tdNz26UVWw= -=DJQI ------END PGP SIGNATURE----- +MD5 5c0ac35193f6152a103241167bae834d files/xmalloc.patch 395 diff --git a/app-text/bogosort/bogosort-0.4.2.ebuild b/app-text/bogosort/bogosort-0.4.2.ebuild index a664071a224b..43f716fdb190 100644 --- a/app-text/bogosort/bogosort-0.4.2.ebuild +++ b/app-text/bogosort/bogosort-0.4.2.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/app-text/bogosort/bogosort-0.4.2.ebuild,v 1.1 2004/12/14 22:58:49 ciaranm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/bogosort/bogosort-0.4.2.ebuild,v 1.2 2004/12/15 22:50:04 hansmi Exp $ + +inherit libtool eutils DESCRIPTION="A file sorting program which uses the bogosort algorithm" HOMEPAGE="http://www.lysator.liu.se/~qha/bogosort/" @@ -8,12 +10,19 @@ SRC_URI="ftp://ulrik.haugen.se/pub/unix/bogosort/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ~sparc ~mips" +KEYWORDS="~x86 ~sparc ~mips ~ppc" IUSE="" DEPEND="" RDEPEND="" +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/xmalloc.patch +} + src_install() { make DESTDIR="${D}" install dodoc README NEWS ChangeLog AUTHORS diff --git a/app-text/bogosort/files/xmalloc.patch b/app-text/bogosort/files/xmalloc.patch new file mode 100644 index 000000000000..41545ca34ba8 --- /dev/null +++ b/app-text/bogosort/files/xmalloc.patch @@ -0,0 +1,15 @@ +--- xmalloc.c.orig 2004-12-15 23:44:16.880786468 +0100 ++++ xmalloc.c 2004-12-15 23:44:21.846546805 +0100 +@@ -68,12 +68,6 @@ + The caller may set it to some other value. */ + int xmalloc_exit_failure = EXIT_FAILURE; + +-#if __STDC__ && (HAVE_VPRINTF || HAVE_DOPRNT) +-void error (int, int, const char *, ...); +-#else +-void error (); +-#endif +- + static VOID * + fixup_null_alloc (n) + size_t n; |