summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@gentoo.org>2006-11-30 19:30:51 +0000
committerTimothy Redaelli <drizzt@gentoo.org>2006-11-30 19:30:51 +0000
commit0ef1b765e711a98df65127e0be7af81aad5abe98 (patch)
tree291fdfdd92949aee5dbfd52d610d8f9ddc00d5f5 /app-arch/mscompress
parentstable x86, bug #155830 (diff)
downloadgentoo-2-0ef1b765e711a98df65127e0be7af81aad5abe98.tar.gz
gentoo-2-0ef1b765e711a98df65127e0be7af81aad5abe98.tar.bz2
gentoo-2-0ef1b765e711a98df65127e0be7af81aad5abe98.zip
Forced signed-char in CFLAGS and made stable on ppc wrt bug #148320.
(Portage version: 2.1.2_rc2-r2)
Diffstat (limited to 'app-arch/mscompress')
-rw-r--r--app-arch/mscompress/ChangeLog5
-rw-r--r--app-arch/mscompress/mscompress-0.3.ebuild13
2 files changed, 14 insertions, 4 deletions
diff --git a/app-arch/mscompress/ChangeLog b/app-arch/mscompress/ChangeLog
index ad461461427b..c5c0be9cd6b0 100644
--- a/app-arch/mscompress/ChangeLog
+++ b/app-arch/mscompress/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-arch/mscompress
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/mscompress/ChangeLog,v 1.12 2006/11/27 23:11:56 drizzt Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/mscompress/ChangeLog,v 1.13 2006/11/30 19:30:51 drizzt Exp $
+
+ 30 Nov 2006; Timothy Redaelli <drizzt@gentoo.org> mscompress-0.3.ebuild:
+ Forced signed-char in CFLAGS and made stable on ppc wrt bug #148320.
27 Nov 2006; Timothy Redaelli <drizzt@gentoo.org>
+files/mscompress-0.3-amd64.patch, mscompress-0.3.ebuild:
diff --git a/app-arch/mscompress/mscompress-0.3.ebuild b/app-arch/mscompress/mscompress-0.3.ebuild
index 49a0fc7d6a5c..3fa57cb0cc7f 100644
--- a/app-arch/mscompress/mscompress-0.3.ebuild
+++ b/app-arch/mscompress/mscompress-0.3.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/mscompress/mscompress-0.3.ebuild,v 1.14 2006/11/27 23:11:56 drizzt Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/mscompress/mscompress-0.3.ebuild,v 1.15 2006/11/30 19:30:51 drizzt Exp $
-inherit eutils
+inherit eutils toolchain-funcs flag-o-matic
DESCRIPTION="Microsoft compress.exe/expand.exe compatible (de)compressor"
HOMEPAGE="http://gnuwin32.sourceforge.net/packages/mscompress.htm"
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.penguin.cz/pub/users/mhi/mscompress/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="hppa ~ppc ~ppc-macos x86 ~x86-fbsd"
+KEYWORDS="hppa ppc ~ppc-macos x86 ~x86-fbsd"
IUSE=""
DEPEND=""
@@ -22,6 +22,13 @@ src_unpack() {
epatch "${FILESDIR}"/${P}-amd64.patch
}
+src_compile() {
+ tc-export CC
+ [ "${ARCH}" == "ppc" ] && append-flags -fsigned-char
+ econf || die
+ emake || die
+}
+
src_install() {
dobin mscompress msexpand || die
doman mscompress.1 msexpand.1