diff options
author | Matt Turner <mattst88@gentoo.org> | 2011-06-14 03:55:21 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2011-06-14 03:55:21 +0000 |
commit | 81094376aa7ab122b08f82e70efd11a74df6c9c7 (patch) | |
tree | cb7b89bc0fb1a1cd37b6f4c7e004da39a3d81fe5 /sys-apps/lcdutils | |
parent | Stable for HPPA (bug #370715). (diff) | |
download | historical-81094376aa7ab122b08f82e70efd11a74df6c9c7.tar.gz historical-81094376aa7ab122b08f82e70efd11a74df6c9c7.tar.bz2 historical-81094376aa7ab122b08f82e70efd11a74df6c9c7.zip |
Fix QA issues and bug 298023
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/lcdutils')
-rw-r--r-- | sys-apps/lcdutils/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/lcdutils/Manifest | 5 | ||||
-rw-r--r-- | sys-apps/lcdutils/files/include-stdlib.h-for-exit.patch | 50 | ||||
-rw-r--r-- | sys-apps/lcdutils/lcdutils-0.2.ebuild | 21 |
4 files changed, 66 insertions, 18 deletions
diff --git a/sys-apps/lcdutils/ChangeLog b/sys-apps/lcdutils/ChangeLog index 82dc9564376b..0892272c2548 100644 --- a/sys-apps/lcdutils/ChangeLog +++ b/sys-apps/lcdutils/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/lcdutils -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/lcdutils/ChangeLog,v 1.6 2010/10/08 02:07:15 leio Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lcdutils/ChangeLog,v 1.7 2011/06/14 03:55:20 mattst88 Exp $ + + 14 Jun 2011; Matt Turner <mattst88@gentoo.org> lcdutils-0.2.ebuild, + +files/include-stdlib.h-for-exit.patch: + Fix QA issues and bug 298023 08 Oct 2010; Mart Raudsepp <leio@gentoo.org> lcdutils-0.2.ebuild: Drop to ~mips diff --git a/sys-apps/lcdutils/Manifest b/sys-apps/lcdutils/Manifest index 310b869a380c..dbb6af6052a2 100644 --- a/sys-apps/lcdutils/Manifest +++ b/sys-apps/lcdutils/Manifest @@ -1,4 +1,5 @@ +AUX include-stdlib.h-for-exit.patch 1165 RMD160 4c3c9d7a15b52da1d53c3e48a911804dbaadeb86 SHA1 adf31e77525ec639eb168008857c1c3778e4cd5f SHA256 0c89ecbec4b6f6df9540da0b9c9561fb97d2ce0fe5339bbeac4079bb6a30d51f DIST lcdutils-0.2.tar.gz 10819 RMD160 6b746cb6616875340054017154400e50b7a423cb SHA1 fb516d07fb868de5642a0aa4696fdeffc6fe480f SHA256 fae6efe705f18fa5cf0b0ecb41ec8d3e009db18d9fcda838e23a1f455d3f2f58 -EBUILD lcdutils-0.2.ebuild 1076 RMD160 7e3e8456aa0307d7a88d41e6ee81ed1ca26a83d7 SHA1 7c5e9495a9cb3cc265bdc1998fb57f574c653f29 SHA256 1026aa26b574f614b59acc7d1867947a8f90897a07b5448486bac81fc26725db -MISC ChangeLog 1034 RMD160 3bdfcdc368021413c1c450d96f703396cc73e0fa SHA1 e421ab9b99236a8ce47edd16cfb6e3c18cadb2f1 SHA256 a0216fe1f78f8b7772def564add28ac31fb552a43462036e5e0a39a083cff4bd +EBUILD lcdutils-0.2.ebuild 832 RMD160 a752e75dc7b6f8fae5ab1cd906cea66f27849d6e SHA1 6228855281902a5882b5e8544b44eb86e8c0b296 SHA256 2683fcc00757cd0bd56338e29da8ffe0a4cd52e340b38fc25a92f9d427a4925e +MISC ChangeLog 1182 RMD160 f055fe14173164d2845db4897c0cb5106b60a152 SHA1 af61db1e7fda818c70e2ac668c393e9e5bf5c0b6 SHA256 d627b17e141252c3df3e4c1ccdf1d023b1acfac4a8b503ea274dbbe2967d8d20 MISC metadata.xml 380 RMD160 3a81f1bd582fa1eb6af6a0abd08d88f1fe21527a SHA1 c44b15e246fc7da582ae9f8dba6dc90755e97d0e SHA256 c38dea0257038fa8f3132ba83a7fc75db8291f460c8117896d32b4ee236988f3 diff --git a/sys-apps/lcdutils/files/include-stdlib.h-for-exit.patch b/sys-apps/lcdutils/files/include-stdlib.h-for-exit.patch new file mode 100644 index 000000000000..81870496a529 --- /dev/null +++ b/sys-apps/lcdutils/files/include-stdlib.h-for-exit.patch @@ -0,0 +1,50 @@ +From 304013f4c81a13fa2aa3a06628e6a1c57248563c Mon Sep 17 00:00:00 2001 +From: Matt Turner <mattst88@gmail.com> +Date: Mon, 13 Jun 2011 23:42:44 -0400 +Subject: [PATCH] include stdlib.h for exit + +--- + buttond.c | 1 + + liblcd.c | 1 + + putlcd.c | 1 + + 3 files changed, 3 insertions(+), 0 deletions(-) + +diff --git a/buttond.c b/buttond.c +index e99b0dd..40a85ae 100644 +--- a/buttond.c ++++ b/buttond.c +@@ -16,6 +16,7 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++#include <stdlib.h> + #include <string.h> + #include <time.h> + #include <unistd.h> +diff --git a/liblcd.c b/liblcd.c +index e8fcacf..39bceea 100644 +--- a/liblcd.c ++++ b/liblcd.c +@@ -16,6 +16,7 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++#include <stdlib.h> + #include <sys/types.h> + #include <sys/stat.h> + #include <fcntl.h> +diff --git a/putlcd.c b/putlcd.c +index c193712..18dc0af 100644 +--- a/putlcd.c ++++ b/putlcd.c +@@ -16,6 +16,7 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++#include <stdlib.h> + #include <stdio.h> + #include <string.h> + #include "liblcd.h" +-- +1.7.3.4 + diff --git a/sys-apps/lcdutils/lcdutils-0.2.ebuild b/sys-apps/lcdutils/lcdutils-0.2.ebuild index 18ed0a1ead22..2d9f6e25ac8d 100644 --- a/sys-apps/lcdutils/lcdutils-0.2.ebuild +++ b/sys-apps/lcdutils/lcdutils-0.2.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/lcdutils/lcdutils-0.2.ebuild,v 1.8 2010/10/08 02:07:14 leio Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lcdutils/lcdutils-0.2.ebuild,v 1.9 2011/06/14 03:55:20 mattst88 Exp $ + +inherit eutils DESCRIPTION="Cobalt RaQ/Qube LCD Writing and Button reading utilities" HOMEPAGE="http://people.debian.org/~pm/mips-cobalt/" @@ -12,22 +14,13 @@ KEYWORDS="-* ~mips ~x86" IUSE="" DEPEND="" - -pkg_setup() { - # This package is aimed primarily at Cobalt Microserver systems. Mips originally, but it - # is reported to work on x86-based systems as well. - if [ "${PROFILE_ARCH}" != "cobalt" ]; then - echo "" - ewarn "This package is only for Cobalt Microserver systems. Its use on other types of" - ewarn "hardware is untested." - echo "" - fi -} +RDEPEND="" src_unpack() { unpack ${A} cd "${S}" sed -i -e "s:CFLAGS=-O2 -Wall:CFLAGS=${CFLAGS}:g" Makefile + epatch "${FILESDIR}"/include-stdlib.h-for-exit.patch } src_compile() { @@ -37,5 +30,5 @@ src_compile() { src_install() { dobin buttond putlcd || die "dobin failed" - dodoc Changelog + dodoc ChangeLog || die "dodoc failed" } |