diff options
author | Samuli Suominen <drac@gentoo.org> | 2008-06-19 11:12:32 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2008-06-19 11:12:32 +0000 |
commit | 9181adc5ef2876556d76c08637a9e298f72f75a3 (patch) | |
tree | 394072564b99443f0e0257bcc0ebf9fc1d589d3d | |
parent | depend on openssl - bug #228177 thanks Evil Compile Person (diff) | |
download | gentoo-2-9181adc5ef2876556d76c08637a9e298f72f75a3.tar.gz gentoo-2-9181adc5ef2876556d76c08637a9e298f72f75a3.tar.bz2 gentoo-2-9181adc5ef2876556d76c08637a9e298f72f75a3.zip |
Include stdlib.h for getenv wrt #228231, thanks to Evil Compile Person for reporting.
(Portage version: 2.1.5.5)
-rw-r--r-- | x11-misc/wbar/ChangeLog | 7 | ||||
-rw-r--r-- | x11-misc/wbar/files/wbar-1.3.3-gcc43.patch | 20 | ||||
-rw-r--r-- | x11-misc/wbar/metadata.xml | 5 | ||||
-rw-r--r-- | x11-misc/wbar/wbar-1.3.3.ebuild | 5 |
4 files changed, 30 insertions, 7 deletions
diff --git a/x11-misc/wbar/ChangeLog b/x11-misc/wbar/ChangeLog index 6a600e83363a..ff5ed64f0b62 100644 --- a/x11-misc/wbar/ChangeLog +++ b/x11-misc/wbar/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-misc/wbar # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/wbar/ChangeLog,v 1.3 2008/03/22 10:43:26 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/wbar/ChangeLog,v 1.4 2008/06/19 11:12:31 drac Exp $ + + 19 Jun 2008; Samuli Suominen <drac@gentoo.org> + +files/wbar-1.3.3-gcc43.patch, wbar-1.3.3.ebuild: + Include stdlib.h for getenv wrt #228231, thanks to Evil Compile Person for + reporting. 22 Mar 2008; Markus Meier <maekke@gentoo.org> wbar-1.3.3.ebuild: add ~x86 diff --git a/x11-misc/wbar/files/wbar-1.3.3-gcc43.patch b/x11-misc/wbar/files/wbar-1.3.3-gcc43.patch new file mode 100644 index 000000000000..448a1afa9e39 --- /dev/null +++ b/x11-misc/wbar/files/wbar-1.3.3-gcc43.patch @@ -0,0 +1,20 @@ +diff -ur wbar-1.3.3.orig/IconLoader.cc wbar-1.3.3/IconLoader.cc +--- wbar-1.3.3.orig/IconLoader.cc 2006-12-29 03:54:29.000000000 +0200 ++++ wbar-1.3.3/IconLoader.cc 2008-06-19 14:09:10.000000000 +0300 +@@ -1,4 +1,5 @@ + extern "C" { ++#include <stdlib.h> + #include <unistd.h> + #include <sys/stat.h> + #include <sys/types.h> +diff -ur wbar-1.3.3.orig/SuperBar.cc wbar-1.3.3/SuperBar.cc +--- wbar-1.3.3.orig/SuperBar.cc 2007-08-04 03:24:34.000000000 +0300 ++++ wbar-1.3.3/SuperBar.cc 2008-06-19 14:06:35.000000000 +0300 +@@ -1,3 +1,7 @@ ++extern "C" { ++#include <stdlib.h> ++}; ++ + #include "SuperBar.h" + #include "SuperIcon.h" + diff --git a/x11-misc/wbar/metadata.xml b/x11-misc/wbar/metadata.xml index 34e5eec55b2d..731225048652 100644 --- a/x11-misc/wbar/metadata.xml +++ b/x11-misc/wbar/metadata.xml @@ -1,8 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>desktop-misc</herd> -<maintainer> - <email>drac@gentoo.org</email> -</maintainer> + <herd>desktop-misc</herd> </pkgmetadata> diff --git a/x11-misc/wbar/wbar-1.3.3.ebuild b/x11-misc/wbar/wbar-1.3.3.ebuild index 2c4f92fbfd68..e0614b9e1081 100644 --- a/x11-misc/wbar/wbar-1.3.3.ebuild +++ b/x11-misc/wbar/wbar-1.3.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/wbar/wbar-1.3.3.ebuild,v 1.3 2008/03/22 10:43:26 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/wbar/wbar-1.3.3.ebuild,v 1.4 2008/06/19 11:12:31 drac Exp $ inherit eutils toolchain-funcs @@ -22,7 +22,8 @@ DEPEND="${RDEPEND} src_unpack() { unpack ${A} cd "${S}" - epatch "${FILESDIR}"/${P}-Makefile.patch + epatch "${FILESDIR}"/${P}-Makefile.patch \ + "${FILESDIR}"/${P}-gcc43.patch } src_compile() { |