summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gabert <pappy@gentoo.org>2003-09-20 20:06:04 +0000
committerAlexander Gabert <pappy@gentoo.org>2003-09-20 20:06:04 +0000
commitc707547d55d4fef907fc231e61ff7e564c9292e7 (patch)
tree34868080e3946a72fe3abf1217fef7f4118297f2 /media-video
parentadded hardened-gcc exclusion gcc flags for failing assembler (diff)
downloadhistorical-c707547d55d4fef907fc231e61ff7e564c9292e7.tar.gz
historical-c707547d55d4fef907fc231e61ff7e564c9292e7.tar.bz2
historical-c707547d55d4fef907fc231e61ff7e564c9292e7.zip
added hardened-gcc exclusion gcc flags for failing assembler
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mjpegtools/Manifest4
-rw-r--r--media-video/mjpegtools/mjpegtools-1.6.1.90.ebuild11
2 files changed, 12 insertions, 3 deletions
diff --git a/media-video/mjpegtools/Manifest b/media-video/mjpegtools/Manifest
index d3abc977384c..e0346b731e5e 100644
--- a/media-video/mjpegtools/Manifest
+++ b/media-video/mjpegtools/Manifest
@@ -1,7 +1,7 @@
MD5 4971c97bb453b4a8f94887446572c7c3 mjpegtools-1.6.1.90-r1.ebuild 1562
MD5 ac487ddde6a6af1ed6db4527dcde1e6f mjpegtools-1.6.0-r7.ebuild 2918
-MD5 6639fc63b1b536f1a0b9733ada3308e3 mjpegtools-1.6.1.90.ebuild 1946
-MD5 70b0816f3027daddbc5baa062525baaa ChangeLog 6998
+MD5 50d0e8c2f1e5893a150e65799a494d13 mjpegtools-1.6.1.90.ebuild 1948
+MD5 2ebf0dc239120a0b3a9ffb0d4998f139 ChangeLog 7000
MD5 c9bb82e3c4de92ad8ed6ce7470250e6b metadata.xml 180
MD5 9fa67243454e797c061ddd4facf262cc mjpegtools-1.6.1.ebuild 2413
MD5 0a37dfb174825ed9a9aeee24b8e3da84 files/digest-mjpegtools-1.6.1.90-r1 72
diff --git a/media-video/mjpegtools/mjpegtools-1.6.1.90.ebuild b/media-video/mjpegtools/mjpegtools-1.6.1.90.ebuild
index e3f437979f85..f3e4e91de7a5 100644
--- a/media-video/mjpegtools/mjpegtools-1.6.1.90.ebuild
+++ b/media-video/mjpegtools/mjpegtools-1.6.1.90.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/mjpegtools-1.6.1.90.ebuild,v 1.3 2003/09/19 16:48:42 max Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/mjpegtools-1.6.1.90.ebuild,v 1.4 2003/09/20 20:05:58 pappy Exp $
inherit flag-o-matic
@@ -48,6 +48,15 @@ src_compile() {
fi
econf ${myconf}
+
+ # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml
+ has_version 'sys-devel/hardened-gcc' && find ${W} -name "Makefile" -type f -exec \
+ sed -i "s:CC = gcc:CC = gcc -yet_exec:g" {} \;
+ has_version 'sys-devel/hardened-gcc' && find ${W} -name "Makefile" -type f -exec \
+ sed -i "s:CXX = gcc:CXX = g++ -yet_exec:g" {} \;
+ has_version 'sys-devel/hardened-gcc' && find ${W} -name "Makefile" -type f -exec \
+ sed -i "s:CXXCPP = gcc -E:CXX = g++ -E -yet_exec:g" {} \;
+
emake || die "compile problem"
}