summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-09-17 10:12:51 +0000
committerPeter Volkov <pva@gentoo.org>2008-09-17 10:12:51 +0000
commit3e70b031b6b53567c827c454728b9495aeb2d7e5 (patch)
tree533389125ebe21efbfa507e7445965dace71589b /app-misc/gcal
parentx86emu is the only backend available for amd64 (bug #224987) (diff)
downloadhistorical-3e70b031b6b53567c827c454728b9495aeb2d7e5.tar.gz
historical-3e70b031b6b53567c827c454728b9495aeb2d7e5.tar.bz2
historical-3e70b031b6b53567c827c454728b9495aeb2d7e5.zip
Fixed glibc-2.8 build issue, bug #227121, thank Evil Compile Person for report.
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26-gentoo i686
Diffstat (limited to 'app-misc/gcal')
-rw-r--r--app-misc/gcal/ChangeLog6
-rw-r--r--app-misc/gcal/Manifest4
-rw-r--r--app-misc/gcal/gcal-3.01-r2.ebuild24
3 files changed, 21 insertions, 13 deletions
diff --git a/app-misc/gcal/ChangeLog b/app-misc/gcal/ChangeLog
index 7b45a1165ddf..94b0204a8e58 100644
--- a/app-misc/gcal/ChangeLog
+++ b/app-misc/gcal/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-misc/gcal
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/gcal/ChangeLog,v 1.22 2008/02/03 15:25:43 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gcal/ChangeLog,v 1.23 2008/09/17 10:12:51 pva Exp $
+
+ 17 Sep 2008; Peter Volkov <pva@gentoo.org> gcal-3.01-r2.ebuild:
+ Fixed glibc-2.8 build issue, bug #227121, thank Evil Compile Person for
+ report.
03 Feb 2008; Fabian Groffen <grobian@gentoo.org> gcal-3.01-r2.ebuild:
Dropped ppc-macos keyword, see you in prefix
diff --git a/app-misc/gcal/Manifest b/app-misc/gcal/Manifest
index 500c1622f69b..2cf14028a696 100644
--- a/app-misc/gcal/Manifest
+++ b/app-misc/gcal/Manifest
@@ -1,5 +1,5 @@
AUX gcal-3.01-mandir.diff 1515 RMD160 cf217233f05e78e0c5bb6adc4cb045bdd05fb2a6 SHA1 c99831b09dc92449736c1c9046fc596d5ddac785 SHA256 14beead09ceacf9837fcd9f4b843949974db4b8ee66b756f3a2391f63d1a0bc2
DIST gcal-3.01.tar.gz 2371244 RMD160 01b54c72df3cbae242d221745343db4a9f3615cb SHA1 2f8dda0f759760c38beccd07fb73b18b392d6920 SHA256 e2bb8162cb5d6ce1abd27ea19e7a8f333409ac1060f8c1693416b544d4cb32d9
-EBUILD gcal-3.01-r2.ebuild 1777 RMD160 0181d88b3ced0bbba78065119e0ea063d143d282 SHA1 99c9c50295c4ea374344891b6525aec04dc7cf28 SHA256 995dac4522e45151719ddd40497d0ac75a965d6a0d07765684497beffa27f099
-MISC ChangeLog 2548 RMD160 ef52bc38a481612f6975639ff13c774d1304cc4a SHA1 6fcfda30e39799c1cd3222ad568e9e9269d4cb90 SHA256 c545cf51a1f5f5bf3e3a509df3e7d3310aff1d6579eb562fb39378b3e3e6076f
+EBUILD gcal-3.01-r2.ebuild 1906 RMD160 d110676ef680c3730a3b5249fc0aea67ca248753 SHA1 e387f0ad4ce81792627437dee7d58b21fd1a169d SHA256 92aad0fef6cec9d99cbefbdf72c3ce8293088a9b0b6c5cd66d26c86f441bf165
+MISC ChangeLog 2695 RMD160 2fef89e8cc17aab7b7e3d54f3d2d1350694781d0 SHA1 323380fbe4bdd71bc5192ab5c9611aa36bc59f83 SHA256 c2f576cccc6b1fe969ee2ee9cdbf6d770c395fdce347eaba71df0b47731df134
MISC metadata.xml 165 RMD160 c4557a3518a065b077539be5a0f20e4735fc2141 SHA1 1831705b1eb97b63968fc9eef31aa904a69a854a SHA256 75ca85c472d4181ae0de529c83826baaebe75d9e750ee6621758b5096bceffcd
diff --git a/app-misc/gcal/gcal-3.01-r2.ebuild b/app-misc/gcal/gcal-3.01-r2.ebuild
index 6c63b0e60c93..99824f4e3c89 100644
--- a/app-misc/gcal/gcal-3.01-r2.ebuild
+++ b/app-misc/gcal/gcal-3.01-r2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/gcal/gcal-3.01-r2.ebuild,v 1.12 2008/02/03 17:40:45 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gcal/gcal-3.01-r2.ebuild,v 1.13 2008/09/17 10:12:51 pva Exp $
-inherit eutils
+inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="The GNU Calendar - a replacement for cal"
HOMEPAGE="http://www.gnu.org/software/gcal/gcal.html"
@@ -17,27 +17,31 @@ DEPEND="nls? ( sys-devel/gettext )"
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${P}-mandir.diff
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-mandir.diff
+ find -name Makefile.in -print0 | \
+ xargs -0 -n1 sed -i "s:\(^CC = \).*:\1$(tc-getCC):"
}
src_compile() {
- econf $(use_enable nls) $(use_enable ncurses) || die
+ append-flags -D_GNU_SOURCE
+ econf $(use_enable nls) $(use_enable ncurses)
emake || die
}
src_install() {
einstall || die
- rm -f ${D}/usr/share/locale/locale.alias
+ rm -f "${D}"/usr/share/locale/locale.alias
- dodoc ABOUT-NLS ATTENTION BUGS DISCLAIM HISTORY \
- INSTALL LIMITATIONS MANIFEST NEWS README SYMBOLS THANKS TODO
+ dodoc ATTENTION BUGS DISCLAIM HISTORY LIMITATIONS MANIFEST NEWS README \
+ SYMBOLS THANKS TODO
# Need to fix up paths for scripts in misc directory
# that are automatically created by the makefile
- for miscfile in ${D}/usr/share/gcal/misc/*/*
+ for miscfile in "${D}"/usr/share/gcal/misc/*/*
do
- dosed "s:${D%/}::g" ${miscfile/${D}}
+ dosed "s:${D%/}::g" "${miscfile/${D}}"
done
# Rebuild the symlinks that makefile created into the image /usr/bin