diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2012-02-06 06:59:47 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2012-02-06 06:59:47 +0000 |
commit | 72e123afc2267bdcdc503d7a6cc865f49e4396f5 (patch) | |
tree | 9d6cd2fd5ce082b10c5d2d0f9f5087a5f47fd68b /media-libs/aalib | |
parent | Version bump, move from java-overlay. (diff) | |
download | historical-72e123afc2267bdcdc503d7a6cc865f49e4396f5.tar.gz historical-72e123afc2267bdcdc503d7a6cc865f49e4396f5.tar.bz2 historical-72e123afc2267bdcdc503d7a6cc865f49e4396f5.zip |
Fixed bug #224267 by Peter Hüwe (missing function prototypes). Added myself to maintainers.
Package-Manager: portage-2.2.0_alpha84_p53/cvs/Linux x86_64
Diffstat (limited to 'media-libs/aalib')
-rw-r--r-- | media-libs/aalib/ChangeLog | 11 | ||||
-rw-r--r-- | media-libs/aalib/Manifest | 16 | ||||
-rw-r--r-- | media-libs/aalib/aalib-1.4_rc5-r1.ebuild | 53 | ||||
-rw-r--r-- | media-libs/aalib/files/aalib-1.4_rc5-fix-protos.patch | 56 | ||||
-rw-r--r-- | media-libs/aalib/metadata.xml | 12 |
5 files changed, 140 insertions, 8 deletions
diff --git a/media-libs/aalib/ChangeLog b/media-libs/aalib/ChangeLog index 4ca8e93b4558..6114a766496f 100644 --- a/media-libs/aalib/ChangeLog +++ b/media-libs/aalib/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/aalib -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/aalib/ChangeLog,v 1.41 2011/02/06 12:08:49 leio Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/aalib/ChangeLog,v 1.42 2012/02/06 06:59:47 slyfox Exp $ + +*aalib-1.4_rc5-r1 (06 Feb 2012) + + 06 Feb 2012; Sergei Trofimovich <slyfox@gentoo.org> +aalib-1.4_rc5-r1.ebuild, + +files/aalib-1.4_rc5-fix-protos.patch, metadata.xml: + Fixed bug #224267 by Peter Hüwe (missing function prototypes). Added myself to + maintainers. 06 Feb 2011; Mart Raudsepp <leio@gentoo.org> aalib-1.4_rc5.ebuild: Drop to ~mips diff --git a/media-libs/aalib/Manifest b/media-libs/aalib/Manifest index 0e3b5292e2ee..4181fe30be90 100644 --- a/media-libs/aalib/Manifest +++ b/media-libs/aalib/Manifest @@ -1,6 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX aalib-1.4_rc4-gentoo.patch 1245 RMD160 ca2df1fc54bf70ff57bec5260dad401e2a0dac12 SHA1 c2a2fd25e70e65706a86017c4c1da247957d6981 SHA256 fa5d946e9d0e4a78c37187f6795b27bcb057e9e2ec00fe3a873a11e25fba23a7 AUX aalib-1.4_rc4-m4.patch 241 RMD160 8da68015ba2e16647f281aebd59bcc0329fe9954 SHA1 8262748e21eb7f7aeb517cbebf1dfec1017b84a8 SHA256 24d09cb9eb9ed8d0990c677b5fbfe43762fe872d198c146c7de6fdb39eab692f +AUX aalib-1.4_rc5-fix-protos.patch 2105 RMD160 82296048048ff818a0d67b7d7edffca3d418dec4 SHA1 4690b4e33c2e8fa0c0d520c13948a8ff83c719f6 SHA256 1ada77080d8dbd5636d2d9a29a3fcf9033fe9ff9860cede5ab8338d5bcbea161 DIST aalib-1.4rc5.tar.gz 391028 RMD160 a10bcab16d3aa0e60facca3e989f6a51846885f6 SHA1 a23269e950a249d2ef93625837cace45ddbce03b SHA256 fbddda9230cf6ee2a4f5706b4b11e2190ae45f5eda1f0409dc4f99b35e0a70ee +EBUILD aalib-1.4_rc5-r1.ebuild 1399 RMD160 3131395fc64c49fefa534d01ce7ef10ff8b98a7a SHA1 8850d47f415350bae251035ec12cf2d3a92714e9 SHA256 13e72cf696eceeaaf651bee7c4294ee70cba15ea731265700d109a86151a8b5b EBUILD aalib-1.4_rc5.ebuild 1323 RMD160 41b8ca511b7210109a465a33b1cf7687d306d018 SHA1 e276edcbc05c9cf5d805ef559ee5df8783543740 SHA256 123b277cb3a1dee42bd409b22b9003ba99e257f16e997f89bb4b603ee59a7baa -MISC ChangeLog 5287 RMD160 d3e15945c48d106f02d45046136814600ede294b SHA1 cefa8bfe1675be3fdc8a40a1958896624bb2e70a SHA256 e425bc4082b62465209642fa052a697cb2900f9da42db9f202f6d69d293cb62e -MISC metadata.xml 225 RMD160 6e3fccd1ae62f02a0cb28d319aa185af0020822d SHA1 1b8ccc849053361ac907dc9b652796defd1ce906 SHA256 1a7f3e805478b42bc379b2a36944579d34d7e66ba5bf418a651e1cd58ad0a7f5 +MISC ChangeLog 5555 RMD160 c2398f319e24d880d3c104683db1d57cd0135f35 SHA1 8ad166a4c28d3117cd4eb1e32a7c347265ba025a SHA256 0aab12fd590b70a047ef7cb78650c09122f13aac2555bccdaf79e44f253abe55 +MISC metadata.xml 326 RMD160 60bcb8ed3e9b7341db79664c4b78409cb2816290 SHA1 b4059a02ebc5da99e9dd834b62c64dff16f6d5ca SHA256 95f97cf9a89a4d76a706ed7b4d58e279d2b0e54b2eb45cdc4b7d443d222e1314 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iEYEARECAAYFAk8vem4ACgkQcaHudmEf86rerACfWZHxT/+gcwBw89zOJuf8DM6R +BqIAn0x607RHMpHuMrk2bwAr9hMwMugA +=BkK3 +-----END PGP SIGNATURE----- diff --git a/media-libs/aalib/aalib-1.4_rc5-r1.ebuild b/media-libs/aalib/aalib-1.4_rc5-r1.ebuild new file mode 100644 index 000000000000..d10c67f397e0 --- /dev/null +++ b/media-libs/aalib/aalib-1.4_rc5-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/aalib/aalib-1.4_rc5-r1.ebuild,v 1.1 2012/02/06 06:59:47 slyfox Exp $ + +inherit eutils libtool toolchain-funcs autotools + +MY_P="${P/_/}" +S="${WORKDIR}/${PN}-1.4.0" + +DESCRIPTION="A ASCII-Graphics Library" +HOMEPAGE="http://aa-project.sourceforge.net/aalib/" +SRC_URI="mirror://sourceforge/aa-project/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="X slang gpm" + +RDEPEND="X? ( x11-libs/libX11 ) + slang? ( >=sys-libs/slang-1.4.2 )" +DEPEND="${RDEPEND} + >=sys-libs/ncurses-5.1 + X? ( x11-proto/xproto ) + gpm? ( sys-libs/gpm )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-1.4_rc4-gentoo.patch + epatch "${FILESDIR}"/${PN}-1.4_rc4-m4.patch + epatch "${FILESDIR}"/${PN}-1.4_rc5-fix-protos.patch #224267 + + sed -i -e 's:#include <malloc.h>:#include <stdlib.h>:g' "${S}"/src/*.c + + # Fix bug #165617. + use gpm && sed -i \ + 's/gpm_mousedriver_test=yes/gpm_mousedriver_test=no/' "${S}/configure.in" + + eautoreconf +} + +src_compile() { + econf \ + $(use_with slang slang-driver) \ + $(use_with X x11-driver) \ + || die + emake CC="$(tc-getCC)" || die +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc ANNOUNCE AUTHORS ChangeLog NEWS README* +} diff --git a/media-libs/aalib/files/aalib-1.4_rc5-fix-protos.patch b/media-libs/aalib/files/aalib-1.4_rc5-fix-protos.patch new file mode 100644 index 000000000000..b22738a25c6c --- /dev/null +++ b/media-libs/aalib/files/aalib-1.4_rc5-fix-protos.patch @@ -0,0 +1,56 @@ +fix missing protos + + * QA Notice: Package triggers severe warnings which indicate that it + * may exhibit random runtime failures. + * aainfo.c:12:2: warning: incompatible implicit declaration of built-in function 'exit' + * aainfo.c:17:2: warning: incompatible implicit declaration of built-in function 'exit' + * aatest.c:8:5: warning: incompatible implicit declaration of built-in function 'strcpy' + * aatest.c:11:2: warning: incompatible implicit declaration of built-in function 'exit' + * aatest.c:16:2: warning: incompatible implicit declaration of built-in function 'exit' + * aatest.c:21:2: warning: incompatible implicit declaration of built-in function 'exit' + * aafire.c:55:7: warning: incompatible implicit declaration of built-in function 'exit' + * aafire.c:68:3: warning: incompatible implicit declaration of built-in function 'exit' + * aafire.c:154:7: warning: incompatible implicit declaration of built-in function 'exit' + * aasavefont.c:10:2: warning: incompatible implicit declaration of built-in function 'exit' + +Gentoo-bug: http://bugs.gentoo.org/224267 +Reported-by: Peter Hüwe +diff --git a/src/aafire.c b/src/aafire.c +index 4f36149..5e41237 100644 +--- a/src/aafire.c ++++ b/src/aafire.c +@@ -1,4 +1,5 @@ + #include <stdio.h> ++#include <stdlib.h> /* exit() */ + #include "aalib.h" + + #define XSIZ aa_imgwidth(context) +diff --git a/src/aainfo.c b/src/aainfo.c +index d3f6d50..e24082d 100644 +--- a/src/aainfo.c ++++ b/src/aainfo.c +@@ -1,4 +1,4 @@ +- ++#include <stdlib.h> /* exit() */ + #include "aalib.h" + #include "aaint.h" + int main(int argc, char **argv) +diff --git a/src/aasavefont.c b/src/aasavefont.c +index b00e1e6..16591e8 100644 +--- a/src/aasavefont.c ++++ b/src/aasavefont.c +@@ -1,3 +1,4 @@ ++#include <stdlib.h> /* exit() */ + #include "aalib.h" + int main(int argc, char **argv) + { +diff --git a/src/aatest.c b/src/aatest.c +index 9816f5d..ed0c2da 100644 +--- a/src/aatest.c ++++ b/src/aatest.c +@@ -1,3 +1,5 @@ ++#include <string.h> /* strcpy() */ ++#include <stdlib.h> /* exit() */ + #include "aalib.h" + int main(int argc, char **argv) + { diff --git a/media-libs/aalib/metadata.xml b/media-libs/aalib/metadata.xml index 1cadc2e4ec21..4d27789871de 100644 --- a/media-libs/aalib/metadata.xml +++ b/media-libs/aalib/metadata.xml @@ -1,8 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>video</herd> -<maintainer> - <email>media-video@gentoo.org</email> -</maintainer> + <herd>video</herd> + <maintainer> + <email>media-video@gentoo.org</email> + </maintainer> + <maintainer> + <email>slyfox@gentoo.org</email> + <name>Sergei Trofimovich</name> + </maintainer> </pkgmetadata> |