diff options
author | Pacho Ramos <pacho@gentoo.org> | 2011-09-11 09:12:14 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2011-09-11 09:12:14 +0000 |
commit | 713fc6f3d9c1f6d6cebb5e7144befd12d5cf7e69 (patch) | |
tree | f106e1ae63cc33458b8a4f4e6b0be0026a9a8f42 /gnome-extra | |
parent | Version bump (diff) | |
download | gentoo-2-713fc6f3d9c1f6d6cebb5e7144befd12d5cf7e69.tar.gz gentoo-2-713fc6f3d9c1f6d6cebb5e7144befd12d5cf7e69.tar.bz2 gentoo-2-713fc6f3d9c1f6d6cebb5e7144befd12d5cf7e69.zip |
Fix compilation problems due missing header, bug #356563 by pp--, Bradley Broom and Balint SZNTE.
(Portage version: 2.1.10.14/cvs/Linux x86_64)
Diffstat (limited to 'gnome-extra')
-rw-r--r-- | gnome-extra/gcalctool/ChangeLog | 7 | ||||
-rw-r--r-- | gnome-extra/gcalctool/files/gcalctool-5.32.2-missing-header.patch | 10 | ||||
-rw-r--r-- | gnome-extra/gcalctool/gcalctool-5.32.2.ebuild | 14 |
3 files changed, 27 insertions, 4 deletions
diff --git a/gnome-extra/gcalctool/ChangeLog b/gnome-extra/gcalctool/ChangeLog index 79b5bca1153f..f4c6464488cd 100644 --- a/gnome-extra/gcalctool/ChangeLog +++ b/gnome-extra/gcalctool/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for gnome-extra/gcalctool # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gcalctool/ChangeLog,v 1.217 2011/08/19 11:20:17 nirbheek Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gcalctool/ChangeLog,v 1.218 2011/09/11 09:12:14 pacho Exp $ + + 11 Sep 2011; Pacho Ramos <pacho@gentoo.org> gcalctool-5.32.2.ebuild, + +files/gcalctool-5.32.2-missing-header.patch: + Fix compilation problems due missing header, bug #356563 by pp--, Bradley + Broom and Balint SZENTE. *gcalctool-6.0.2 (19 Aug 2011) diff --git a/gnome-extra/gcalctool/files/gcalctool-5.32.2-missing-header.patch b/gnome-extra/gcalctool/files/gcalctool-5.32.2-missing-header.patch new file mode 100644 index 000000000000..b7018e4b42d1 --- /dev/null +++ b/gnome-extra/gcalctool/files/gcalctool-5.32.2-missing-header.patch @@ -0,0 +1,10 @@ +--- src/gcalctool.c~ 2010-10-15 01:38:18.000000000 +0200 ++++ src/gcalctool.c 2011-09-11 11:03:52.603120598 +0200 +@@ -20,6 +20,7 @@ + #include <stdlib.h> + #include <stdio.h> + #include <string.h> ++#include <locale.h> + + #include "currency.h" + #include "unittest.h" diff --git a/gnome-extra/gcalctool/gcalctool-5.32.2.ebuild b/gnome-extra/gcalctool/gcalctool-5.32.2.ebuild index 4d8a7cff1e73..998834e75699 100644 --- a/gnome-extra/gcalctool/gcalctool-5.32.2.ebuild +++ b/gnome-extra/gcalctool/gcalctool-5.32.2.ebuild @@ -1,11 +1,12 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gcalctool/gcalctool-5.32.2.ebuild,v 1.7 2011/03/23 08:11:09 nirbheek Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gcalctool/gcalctool-5.32.2.ebuild,v 1.8 2011/09/11 09:12:14 pacho Exp $ -EAPI="3" +EAPI="4" GCONF_DEBUG="no" +GNOME_TARBALL_SUFFIX="bz2" -inherit gnome2 +inherit gnome2 eutils DESCRIPTION="A calculator application for GNOME" HOMEPAGE="http://live.gnome.org/Gcalctool http://calctool.sourceforge.net/" @@ -31,3 +32,10 @@ pkg_setup() { --with-gtk=2.0" DOCS="AUTHORS ChangeLog* NEWS README" } + +src_prepare() { + gnome2_src_prepare + + # Fix compilation problems due missing header, bug #356563 + epatch "${FILESDIR}/${PN}-5.32.2-missing-header.patch" +} |