summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-06-11 06:00:21 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-06-11 06:00:21 +0000
commitfe828fdfe20e936bf2c7825d44dc7e8788185dec (patch)
tree064d9cb3a28c6eb47a5166a324c185a98365b98d /media-libs/libsdl
parent+media-libs/libsdl:noflagstrip - Allow users to use any CFLAGS they like comp... (diff)
downloadhistorical-fe828fdfe20e936bf2c7825d44dc7e8788185dec.tar.gz
historical-fe828fdfe20e936bf2c7825d44dc7e8788185dec.tar.bz2
historical-fe828fdfe20e936bf2c7825d44dc7e8788185dec.zip
Call strip-flags for everyone due to the large number of problems caused by people using unsafe CFLAGS. Added noflagstrip local use flag to avoid the strip-flags call for people who know what they're doing and will fix resulting problems themselves.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'media-libs/libsdl')
-rw-r--r--media-libs/libsdl/ChangeLog9
-rw-r--r--media-libs/libsdl/Manifest36
-rw-r--r--media-libs/libsdl/libsdl-1.2.8-r1.ebuild18
3 files changed, 39 insertions, 24 deletions
diff --git a/media-libs/libsdl/ChangeLog b/media-libs/libsdl/ChangeLog
index f09ce7b6913f..7125df13b2ea 100644
--- a/media-libs/libsdl/ChangeLog
+++ b/media-libs/libsdl/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-libs/libsdl
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/ChangeLog,v 1.81 2005/06/10 13:51:20 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/ChangeLog,v 1.82 2005/06/11 06:00:21 mr_bones_ Exp $
+
+ 11 Jun 2005; Michael Sterrett <mr_bones_@gentoo.org>
+ libsdl-1.2.8-r1.ebuild:
+ Call strip-flags for everyone due to the large number of problems caused
+ by people using unsafe CFLAGS. Added noflagstrip local use flag to avoid
+ the strip-flags call for people who know what they're doing and will fix
+ resulting problems themselves.
10 Jun 2005; Chris Gianelloni <wolf31o2@gentoo.org>
libsdl-1.2.8-r1.ebuild:
diff --git a/media-libs/libsdl/Manifest b/media-libs/libsdl/Manifest
index 44e2ba4ae338..f1e87ae0e539 100644
--- a/media-libs/libsdl/Manifest
+++ b/media-libs/libsdl/Manifest
@@ -1,26 +1,26 @@
-MD5 cbbab78f5125f834ffb0f83be4957736 libsdl-1.2.6-r3.ebuild 3013
-MD5 b099fc442ef4285ae985f832da08c3ff libsdl-1.2.8-r1.ebuild 4696
-MD5 96ec31c35a1f030c621fd83f873428cd ChangeLog 12338
MD5 baaaa69f33ef9027dac84ee4ff02773b metadata.xml 974
MD5 7f079469132865bdd25780277639f098 libsdl-1.2.7-r3.ebuild 3960
-MD5 206ddd08dd3e33819d03245d11af3014 files/1.2.7-gcc34.patch 8196
-MD5 4f1ce33c931d461bed06277f60341085 files/1.2.8-nobuggy-X.patch 568
-MD5 4e92be33d24fa96149b0e68eb916e259 files/1.2.8-gcc4.patch 6875
-MD5 0c2020ec3ce37ea0612064c52d1014b1 files/1.2.6-alsa-1.0.0.patch 557
+MD5 cbbab78f5125f834ffb0f83be4957736 libsdl-1.2.6-r3.ebuild 3013
+MD5 54db91026f48f1eb9cad145ca0a3d071 libsdl-1.2.8-r1.ebuild 4928
+MD5 740c50656a0247423e64be515e151318 ChangeLog 12680
MD5 e0c6c6ffc15475282fc864b8f52f0abf files/1.2.8-linux26.patch 1268
-MD5 e6471a33cb0d62a807640ef3eccffb5f files/1.2.8-direct-8bit-color.patch 7414
-MD5 60ecfde6cc7b734ef03b93357c537674 files/1.2.8-keyrepeat.patch 598
-MD5 803844293dc7df2bb7d2323c03977b71 files/1.2.7-libcaca.patch 23266
-MD5 419d8c241f85b4deba895c615faa5612 files/libsdl-1.2.6-fullscreen.patch 1094
-MD5 4f1ce33c931d461bed06277f60341085 files/1.2.6-nobuggy-X.patch 568
+MD5 4ce5ec18eafcf0b1c6caf31c9f67cb1d files/digest-libsdl-1.2.8-r1 62
MD5 e71ab5ce20cb7c70631a59f9d209cce1 files/1.2.7-joystick.patch 1317
-MD5 71a857d2bbcc34c4807638eb5d710f2e files/1.2.7-26headers.patch 1017
+MD5 803844293dc7df2bb7d2323c03977b71 files/1.2.7-libcaca.patch 23266
+MD5 b66ce90b8939cef871c1c9b065fc0658 files/digest-libsdl-1.2.6-r3 62
MD5 5d1fcf4587b0ce9cd723aa69f9ef7dba files/1.2.8-amd64-endian.patch 651
-MD5 88437c556d9b4571f08de4a4e2d9323a files/1.2.8-libcaca.patch 23278
-MD5 358c3d6380bf0b6ba3e78ce47c5ec578 files/libsdl-1.2.8-gcc2.patch.bz2 2639
-MD5 abf0c6fe9d93e5b0cc9a4dbb6d93ad87 files/1.2.7-joystick2.patch 16196
MD5 4f1ce33c931d461bed06277f60341085 files/1.2.7-nobuggy-X.patch 568
-MD5 b66ce90b8939cef871c1c9b065fc0658 files/digest-libsdl-1.2.6-r3 62
+MD5 4e92be33d24fa96149b0e68eb916e259 files/1.2.8-gcc4.patch 6875
MD5 2e9d99f7ab858b5a64d124abea4565b9 files/digest-libsdl-1.2.7-r3 62
-MD5 4ce5ec18eafcf0b1c6caf31c9f67cb1d files/digest-libsdl-1.2.8-r1 62
+MD5 60ecfde6cc7b734ef03b93357c537674 files/1.2.8-keyrepeat.patch 598
+MD5 0c2020ec3ce37ea0612064c52d1014b1 files/1.2.6-alsa-1.0.0.patch 557
+MD5 e6471a33cb0d62a807640ef3eccffb5f files/1.2.8-direct-8bit-color.patch 7414
+MD5 abf0c6fe9d93e5b0cc9a4dbb6d93ad87 files/1.2.7-joystick2.patch 16196
MD5 323ad5b1e83521630dd4d54819c5efbd files/1.2.8-gcc2.patch 743
+MD5 358c3d6380bf0b6ba3e78ce47c5ec578 files/libsdl-1.2.8-gcc2.patch.bz2 2639
+MD5 4f1ce33c931d461bed06277f60341085 files/1.2.6-nobuggy-X.patch 568
+MD5 71a857d2bbcc34c4807638eb5d710f2e files/1.2.7-26headers.patch 1017
+MD5 88437c556d9b4571f08de4a4e2d9323a files/1.2.8-libcaca.patch 23278
+MD5 4f1ce33c931d461bed06277f60341085 files/1.2.8-nobuggy-X.patch 568
+MD5 206ddd08dd3e33819d03245d11af3014 files/1.2.7-gcc34.patch 8196
+MD5 419d8c241f85b4deba895c615faa5612 files/libsdl-1.2.6-fullscreen.patch 1094
diff --git a/media-libs/libsdl/libsdl-1.2.8-r1.ebuild b/media-libs/libsdl/libsdl-1.2.8-r1.ebuild
index 6c9f0ac6b116..15203c6e4850 100644
--- a/media-libs/libsdl/libsdl-1.2.8-r1.ebuild
+++ b/media-libs/libsdl/libsdl-1.2.8-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.8-r1.ebuild,v 1.15 2005/06/10 13:51:20 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.8-r1.ebuild,v 1.16 2005/06/11 06:00:21 mr_bones_ Exp $
inherit flag-o-matic toolchain-funcs eutils gnuconfig
@@ -11,8 +11,11 @@ SRC_URI="http://www.libsdl.org/release/SDL-${PV}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm hppa ia64 ~mips ppc ~ppc-macos ppc64 sparc x86"
-IUSE="oss alsa esd arts nas X dga xv xinerama fbcon directfb ggi svga aalib opengl libcaca pic noaudio novideo nojoystick"
-# if you disable audio/video/joystick and something breaks, you pick up the pieces
+# WARNING:
+# if you have the noaudio, novideo, nojoystick, or noflagstrip use flags
+# in USE and something breaks, you pick up the pieces. Be prepared for
+# bug reports to be marked INVALID.
+IUSE="oss alsa esd arts nas X dga xv xinerama fbcon directfb ggi svga aalib opengl libcaca pic noaudio novideo nojoystick noflagstrip"
RDEPEND=">=media-libs/audiofile-0.1.9
alsa? ( media-libs/alsa-lib )
@@ -40,6 +43,12 @@ pkg_setup() {
ewarn "you're doing to selectively turn off parts of libsdl."
epause 30
fi
+ if use noflagstrip ; then
+ ewarn "Since you've chosen to use possibly unsafe CFLAGS,"
+ ewarn "don't bother filing libsdl-related bugs until trying to remerge"
+ ewarn "libsdl without the noflagstrip use flag in USE."
+ epause 10
+ fi
}
src_unpack() {
@@ -76,12 +85,11 @@ src_compile() {
if use amd64 ; then
replace-flags -O? -O1 # bug #74608
- strip-flags -funroll-all-loops -fpeel-loops -fomit-frame-pointer # more bug #74608 and also bug #82618
fi
if use x86 ; then
- filter-flags -fforce-addr -msse2 #87077 and #94377
use pic || myconf="${myconf} $(use_enable x86 nasm)"
fi
+ use noflagstrip || strip-flags
use noaudio && myconf="${myconf} --disable-audio"
use novideo \
&& myconf="${myconf} --disable-video" \