summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2006-01-31 05:44:55 +0000
committerNed Ludd <solar@gentoo.org>2006-01-31 05:44:55 +0000
commit189623f4b67c80f4338ac7e06ba6e489cc16f9f9 (patch)
tree12acefba869079e2c8f0b836d86dea582dac1880 /app-arch/upx-ucl
parentold (diff)
downloadgentoo-2-189623f4b67c80f4338ac7e06ba6e489cc16f9f9.tar.gz
gentoo-2-189623f4b67c80f4338ac7e06ba6e489cc16f9f9.tar.bz2
gentoo-2-189623f4b67c80f4338ac7e06ba6e489cc16f9f9.zip
- get rid of compiler warning when using mcpu with newer gcc. no need to force linking with mcheck when not using valgrind which fixes building with uclibc
(Portage version: 2604-svn)
Diffstat (limited to 'app-arch/upx-ucl')
-rw-r--r--app-arch/upx-ucl/ChangeLog6
-rw-r--r--app-arch/upx-ucl/Manifest24
-rw-r--r--app-arch/upx-ucl/upx-ucl-1.25-r1.ebuild13
3 files changed, 23 insertions, 20 deletions
diff --git a/app-arch/upx-ucl/ChangeLog b/app-arch/upx-ucl/ChangeLog
index 2f8e143bc0b8..a1dc1129635e 100644
--- a/app-arch/upx-ucl/ChangeLog
+++ b/app-arch/upx-ucl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-arch/upx-ucl
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/upx-ucl/ChangeLog,v 1.7 2006/01/31 02:33:04 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/upx-ucl/ChangeLog,v 1.8 2006/01/31 05:44:55 solar Exp $
+
+ 31 Jan 2006; <solar@gentoo.org> upx-ucl-1.25-r1.ebuild:
+ - get rid of compiler warning when using mcpu with newer gcc. no need to force
+ linking with mcheck when not using valgrind which fixes building with uclibc
*upx-ucl-1.25-r1 (30 Jan 2006)
diff --git a/app-arch/upx-ucl/Manifest b/app-arch/upx-ucl/Manifest
index b81d8b1fc985..c3da699d3227 100644
--- a/app-arch/upx-ucl/Manifest
+++ b/app-arch/upx-ucl/Manifest
@@ -1,9 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 918db1157fc41b55c7045be3130607d3 ChangeLog 903
-RMD160 9b2361dd649cff0c5fc7ba9e8ee9816cd7956138 ChangeLog 903
-SHA256 c45bf094f5dcc2d3d683ece8f1b91931fe88f4634dfe44352ad59eb0e137a435 ChangeLog 903
+MD5 28e6677da54c993e2e7661b25832c19b ChangeLog 1122
+RMD160 f8f94a7fbaab4431fe91016251f1fafbc091df25 ChangeLog 1122
+SHA256 e8cd41d89bb90123243bb105cf81dc1334d81aba03b8ca06c6272bdfce72d73d ChangeLog 1122
MD5 7321411d8b47a0a94a230b0a338ca0d2 files/digest-upx-ucl-1.24 64
RMD160 265e8fb15376284bdd40b3ea409bae67fb887f90 files/digest-upx-ucl-1.24 64
SHA256 e63aa93365dae8011e285f45d3791de2c9b9fdee53b59643f7c0e1562482b608 files/digest-upx-ucl-1.24 64
@@ -22,18 +19,9 @@ SHA256 6d7bbf68b3c6b4f1376b55f09c57f15361152d288e698ee99715d116b3582977 metadata
MD5 ce8dfac9dddfd014d8971414b1f15c7f upx-ucl-1.24.ebuild 858
RMD160 5407fe7da45043c183f6f6b5c772a77d9007b032 upx-ucl-1.24.ebuild 858
SHA256 c345cf38a35b480f552ad7bddd281f7d900669cc695fca5a4ea0149fbfc5929c upx-ucl-1.24.ebuild 858
-MD5 e8cf347b50cbcae3b1bf3580ff704e2e upx-ucl-1.25-r1.ebuild 966
-RMD160 ec7a831e2a44cd02bf7b597cde9b248f8a76e0bd upx-ucl-1.25-r1.ebuild 966
-SHA256 a5a53725f7f1791b8bbcce70d058bde9c88a15e382b572932e4d901ff345149d upx-ucl-1.25-r1.ebuild 966
+MD5 254ea2162d17da31c8d8aa9b0e993f16 upx-ucl-1.25-r1.ebuild 1225
+RMD160 1c8a74921efea3e9b9b91ee6c4761ed50a0b834e upx-ucl-1.25-r1.ebuild 1225
+SHA256 67a52c64c0ae6f19abc7c7cd902307c56103c2de50d0fbd5897f7d586e2cea05 upx-ucl-1.25-r1.ebuild 1225
MD5 7426ca754de6b7239506586747c1b052 upx-ucl-1.25.ebuild 834
RMD160 c6d067d38e0d72a615e6d2838a319e8af1a11dcc upx-ucl-1.25.ebuild 834
SHA256 a27ff25747f93510c7c23cd96dfc61fbfceb05a594da596642316a34225716c0 upx-ucl-1.25.ebuild 834
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iQCVAwUBQ97MbZ4WFLgrx1GWAQJldgP+Oo4Uh+Q7PsyC+wc366m/ratMYshN3QOz
-DhsiNH7XcHatW1Ge6QtzIu2JkghE71HVASsYQJxo9DuyWbgL3EEptQ2gfLHRkhZp
-MwDJSi4EmaSqdRRaJi7OiDV181DW4O5vjk3zZeRO84pxnJ14xhWxDRzgK3oxwf6U
-UJPQX0vHFP0=
-=QYpT
------END PGP SIGNATURE-----
diff --git a/app-arch/upx-ucl/upx-ucl-1.25-r1.ebuild b/app-arch/upx-ucl/upx-ucl-1.25-r1.ebuild
index 3496e9597bb4..76008a379882 100644
--- a/app-arch/upx-ucl/upx-ucl-1.25-r1.ebuild
+++ b/app-arch/upx-ucl/upx-ucl-1.25-r1.ebuild
@@ -1,6 +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/upx-ucl/upx-ucl-1.25-r1.ebuild,v 1.1 2006/01/31 02:33:04 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/upx-ucl/upx-ucl-1.25-r1.ebuild,v 1.2 2006/01/31 05:44:55 solar Exp $
+
+inherit eutils toolchain-funcs
MY_P=${P/-ucl/}
S=${WORKDIR}/${MY_P}
@@ -23,7 +25,16 @@ RDEPEND=">=dev-libs/ucl-1.02 !app-arch/upx"
src_unpack() {
unpack ${A}
cd ${S}
+
epatch "${FILESDIR}"/${PN}-${PV}-pie.patch
+
+ # used with valgrind
+ sed -i -e s/-lmcheck//g src/Makefile.bld || die
+
+ # >=gcc-3.4.x
+ if [ "`gcc-major-version`" -ge "3" ] && [ "`gcc-minor-version`" -ge "4" ]; then
+ sed -i -e s/-mcpu/-mtune/g src/Makefile.bld || die
+ fi
}
src_compile() {