On x86 we need to force a few more flags. Added a workaround section for it and a...
authorDiego Elio Pettenò <flameeyes@gentoo.org>
Tue, 30 Aug 2005 09:44:35 +0000 (09:44 +0000)
committerDiego Elio Pettenò <flameeyes@gentoo.org>
Tue, 30 Aug 2005 09:44:35 +0000 (09:44 +0000)
Package-Manager: portage-2.0.51.22

media-libs/xine-lib/ChangeLog
media-libs/xine-lib/Manifest
media-libs/xine-lib/xine-lib-1.1.0-r2.ebuild

index ab710c4aea05516a861abbfc2584e50e70177bd7..82477e2f66e9fe3e58cfb3e161103fe445e13fe6 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for media-libs/xine-lib
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.247 2005/08/29 10:13:05 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.248 2005/08/30 09:44:35 flameeyes Exp $
+
+  30 Aug 2005; Diego Pettenò <flameeyes@gentoo.org>
+  xine-lib-1.1.0-r2.ebuild:
+  On x86 we need to force a few more flags. Added a workaround section for it
+  and a warning about the unusable debug information caused by
+  -fomit-frame-pointer.
 
   29 Aug 2005; Diego Pettenò <flameeyes@gentoo.org>
   -xine-lib-1_rc6-r2.ebuild, xine-lib-1.1.0-r2.ebuild:
index 8fbf576fc59845717f5162c6bcde447a84714ed4..f42b9054d3c876345aa28c5cc0095cdc572725a2 100644 (file)
@@ -1,9 +1,9 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 cede3a59f7a7c150103a24a98c5dde21 xine-lib-1.1.0-r2.ebuild 5738
+MD5 9c355a6d8f6dca8fc547bfb230c49e96 xine-lib-1.1.0-r2.ebuild 6091
 MD5 62bf57d51524f488827371d4395ca2d0 xine-lib-1.1.0.ebuild 7279
-MD5 8d0c0dffcba38b2ad886cd32decb278b ChangeLog 12891
+MD5 e15263f61a9c05f80ea2b7efc1c40e28 ChangeLog 13138
 MD5 31e9c61884e82a9f95e4da1db5642500 xine-lib-1.0.2.ebuild 7466
 MD5 d9c8313a7655ca801a2e893bf8fcfc72 xine-lib-1.0-r2.ebuild 7114
 MD5 0ee055a2a3b1dab3d1e359b36059f2ed xine-lib-1.0.1-r3.ebuild 7463
@@ -18,7 +18,7 @@ MD5 33da8deb9637be23cd464aba9c5c4ac4 files/digest-xine-lib-1.1.0 137
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (GNU/Linux)
 
-iD8DBQFDEt/Kj5H05b2HAEkRAhCtAJ0Vi6JKhCbICB39hYGnoGgJa1jU8ACfYUjL
-SWu4oUVHmstC5NjmgtEDUcI=
-=41mJ
+iD8DBQFDFCqyj5H05b2HAEkRAgOkAKCATWH0A8nT5gbq/dQp9LCco75FzgCgiAdq
+cNFJ2eK6HhJJm3zA7I/4yc4=
+=6WJ7
 -----END PGP SIGNATURE-----
index 44b4a4eb5b3e70c2bb2ff332e40409ebcdf11532..a9a9843fb7d4ccbe6f4500f77d6d3805234688ac 100644 (file)
@@ -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/xine-lib/xine-lib-1.1.0-r2.ebuild,v 1.2 2005/08/29 10:13:05 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/xine-lib-1.1.0-r2.ebuild,v 1.3 2005/08/30 09:44:35 flameeyes Exp $
 
 inherit eutils flag-o-matic toolchain-funcs libtool autotools
 
@@ -85,7 +85,17 @@ src_compile() {
        #prevent quicktime crashing
        append-flags -frename-registers -ffunction-sections
 
-       [[ $(tc-arch) == "x86" ]] && has_pic && append-flags -UHAVE_MMX
+       # Specific workarounds for too-few-registers arch...
+       if [[ $(tc-arch) == "x86" ]]; then
+               has_pic && append-flags -UHAVE_MMX
+
+               append-flags -mno-sse -fomit-frame-pointer
+               ewarn ""
+               ewarn "Debug information will be almost useless as the frame pointer is omitted."
+               ewarn "This makes debugging harder, so crashes that has no fixed behavior are"
+               ewarn "difficult to fix. Please have that in mind."
+               ewarn ""
+       fi
 
        local myconf