summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2004-09-22 09:06:41 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2004-09-22 09:06:41 +0000
commit265960d3f4cf3cc14005dc8fcc81bfc54c31eae7 (patch)
treefaf7b6a0ffcb9458bff297209debc8ff099acc21 /x11-base
parentFixed SRC_URI for all tmda ebuilds. (diff)
downloadhistorical-265960d3f4cf3cc14005dc8fcc81bfc54c31eae7.tar.gz
historical-265960d3f4cf3cc14005dc8fcc81bfc54c31eae7.tar.bz2
historical-265960d3f4cf3cc14005dc8fcc81bfc54c31eae7.zip
PATCH_VER 0.2.1. Add 0430_all_6.8.0-sparc-add-mach64-to-devel-dri-drivers.patch (#63994). This plus other ebuild modifications from that bug should enable sparc guys to use 6.8.0-r1. Ebuild mods include adding hardened flag for sparc to append -fno-PIE and -fno-pie as well as change the assembler command. Also build the deprecated keyboard driver for sparc on kernels != 2.6 and a weird hack to stop a sparc32-SMP compiler bug (#56593).
Diffstat (limited to 'x11-base')
-rw-r--r--x11-base/xorg-x11/ChangeLog12
-rw-r--r--x11-base/xorg-x11/Manifest20
-rw-r--r--x11-base/xorg-x11/files/digest-xorg-x11-6.8.0-r12
-rw-r--r--x11-base/xorg-x11/xorg-x11-6.8.0-r1.ebuild35
4 files changed, 47 insertions, 22 deletions
diff --git a/x11-base/xorg-x11/ChangeLog b/x11-base/xorg-x11/ChangeLog
index 4d8f27aec8a1..b612759f5d86 100644
--- a/x11-base/xorg-x11/ChangeLog
+++ b/x11-base/xorg-x11/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for x11-base/xorg-x11
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-x11/ChangeLog,v 1.126 2004/09/18 12:16:26 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-x11/ChangeLog,v 1.127 2004/09/22 09:06:40 spyderous Exp $
+
+ 22 Sep 2004; Donnie Berkholz <spyderous@gentoo.org>;
+ xorg-x11-6.8.0-r1.ebuild:
+ PATCH_VER 0.2.1. Add
+ 0430_all_6.8.0-sparc-add-mach64-to-devel-dri-drivers.patch (#63994). This plus
+ other ebuild modifications from that bug should enable sparc guys to use
+ 6.8.0-r1. Ebuild mods include adding hardened flag for sparc to append
+ -fno-PIE and -fno-pie as well as change the assembler command. Also build the
+ deprecated keyboard driver for sparc on kernels != 2.6 and a weird hack to
+ stop a sparc32-SMP compiler bug (#56593).
18 Sep 2004; Guy Martin <gmsoft@gentoo.org> xorg-x11-6.7.0-r2.ebuild,
xorg-x11-6.8.0-r1.ebuild:
diff --git a/x11-base/xorg-x11/Manifest b/x11-base/xorg-x11/Manifest
index 04e5d597e806..64ef5a830113 100644
--- a/x11-base/xorg-x11/Manifest
+++ b/x11-base/xorg-x11/Manifest
@@ -1,26 +1,16 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 d8c349b913a75b52756254f4649e8626 ChangeLog 28589
+MD5 92a96ad99021d6394e7895e5e6540c5d ChangeLog 29129
MD5 36a69eed0e585f3dcf096cc82ac54575 metadata.xml 230
+MD5 7a025fba9928b2f643aea2da070e52f5 xorg-x11-6.7.99.902.ebuild 39939
MD5 b4f272da10e65416a8e02a6a6031bfe4 xorg-x11-6.7.0-r1.ebuild 41731
MD5 15fadfe7b048a0e4449a98e3680b68f8 xorg-x11-6.7.0-r2.ebuild 38159
-MD5 7a025fba9928b2f643aea2da070e52f5 xorg-x11-6.7.99.902.ebuild 39939
MD5 07aebe7113492f714a1f2a88aa963c32 xorg-x11-6.7.99.903.ebuild 41120
MD5 54f7b5341467451bc4b70bfe0bfed641 xorg-x11-6.7.99.904.ebuild 42080
+MD5 70856e32a82e53c2dcd4a5b1fdf6cbb5 xorg-x11-6.8.0-r1.ebuild 41369
MD5 243a541ef2c1e729476144fb469242f8 xorg-x11-6.8.0.ebuild 40194
-MD5 e21e7bfc8e081636ec2e24720bc2b918 xorg-x11-6.8.0-r1.ebuild 40371
-MD5 a3314fbdc270d7d84ea14fd477b8d048 files/digest-xorg-x11-6.7.0-r2 904
MD5 d2be7dc9989b9f7c3e2ccb84e5297eeb files/digest-xorg-x11-6.7.0-r1 906
+MD5 a3314fbdc270d7d84ea14fd477b8d048 files/digest-xorg-x11-6.7.0-r2 904
MD5 b8189a2f2288867fa7ebc39493946c95 files/digest-xorg-x11-6.7.99.902 516
MD5 d64a77dbba4148d34f40f03c002c1122 files/digest-xorg-x11-6.7.99.903 516
MD5 f8c7cefa19b8d2f20c88acceac920fe7 files/digest-xorg-x11-6.7.99.904 516
MD5 e6dd1c7e4f865e64c01945576857b351 files/digest-xorg-x11-6.8.0 904
-MD5 8af7d21e954bd34d7c65725490f99c95 files/digest-xorg-x11-6.8.0-r1 904
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBUMiuHTu7gpaalycRAs3NAKDvU16hqVySJGdXNuBl1blWGkUKlQCcD9NX
-+Z541J6U5J6GXF6ciaKbDIA=
-=gjxb
------END PGP SIGNATURE-----
+MD5 a3ef47fa1d11b9b29589eea734a6c6d2 files/digest-xorg-x11-6.8.0-r1 906
diff --git a/x11-base/xorg-x11/files/digest-xorg-x11-6.8.0-r1 b/x11-base/xorg-x11/files/digest-xorg-x11-6.8.0-r1
index 4e95dad80ac7..8804921bdf60 100644
--- a/x11-base/xorg-x11/files/digest-xorg-x11-6.8.0-r1
+++ b/x11-base/xorg-x11/files/digest-xorg-x11-6.8.0-r1
@@ -3,7 +3,7 @@ MD5 01a21c248e5ac4ba02cbbea994fc774a xfsft-encodings-0.1.tar.bz2 11892
MD5 d0fab996daf97adf095e2dad0bd9012e gentoo-cursors-tad-0.3.1.tar.bz2 1196991
MD5 3d4ee581df78c9dacc6e97aa07a1af72 gemini-koi8-u.tar.bz2 439173
MD5 b8516cb8edeaced8e04e851c89b62665 xorg-x11-6.8.0-files-0.2.tar.bz2 9816
-MD5 60090db4891f9d2a87f5279884463f3e xorg-x11-6.8.0-patches-0.2.tar.bz2 61625
+MD5 29823db60b4959aaebb87d1557394520 xorg-x11-6.8.0-patches-0.2.1.tar.bz2 61767
MD5 c31a2e1c226e659c2ff29abfe55386e3 X11R6.8.0-src1.tar.gz 30560275
MD5 4089bb6efb6c5bc73fbcfc23fafcb0c8 X11R6.8.0-src2.tar.gz 5808901
MD5 488a5ebbbdf48d974efbc3a0bde92bf4 X11R6.8.0-src3.tar.gz 10014266
diff --git a/x11-base/xorg-x11/xorg-x11-6.8.0-r1.ebuild b/x11-base/xorg-x11/xorg-x11-6.8.0-r1.ebuild
index 3bc94575f43f..c613fdcca4c7 100644
--- a/x11-base/xorg-x11/xorg-x11-6.8.0-r1.ebuild
+++ b/x11-base/xorg-x11/xorg-x11-6.8.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-x11/xorg-x11-6.8.0-r1.ebuild,v 1.7 2004/09/22 00:22:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-x11/xorg-x11-6.8.0-r1.ebuild,v 1.8 2004/09/22 09:06:41 spyderous Exp $
# Set TDFX_RISKY to "yes" to get 16-bit, 1024x768 or higher on low-memory
# voodoo3 cards.
@@ -22,11 +22,12 @@ inherit eutils flag-o-matic gcc xfree
RESTRICT="nostrip"
# IUSE="gatos" disabled because gatos is broken on ~4.4 now (31 Jan 2004)
-IUSE="3dfx 3dnow bitmap-fonts cjk debug dlloader dmx doc insecure-drivers ipv6 mmx nls pam sdk sse static xprint"
+IUSE="3dfx 3dnow bitmap-fonts cjk debug dlloader dmx doc hardened
+ insecure-drivers ipv6 mmx nls pam sdk sse static xprint"
# IUSE_INPUT_DEVICES="synaptics wacom"
FILES_VER="0.2"
-PATCH_VER="0.2"
+PATCH_VER="0.2.1"
XCUR_VER="0.3.1"
#MGADRV_VER="1_3_0beta"
#VIADRV_VER="0.1"
@@ -72,7 +73,7 @@ LICENSE="Adobe-X CID DEC DEC-2 IBM-X NVIDIA-X NetBSD SGI UCB-LBL XC-2
nokia tektronix the-open-group todd-c-miller x-truetype xfree86-1.0
MIT SGI-B BSD FTL | GPL-2"
SLOT="0"
-KEYWORDS="~arm ~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~x86"
+KEYWORDS="~arm ~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
# Need portage-2.0.50_pre9 for `use !foo`
DEPEND=">=sys-apps/baselayout-1.8.3
@@ -124,7 +125,15 @@ cflag_setup() {
mips) ALLOWED_FLAGS="${ALLOWED_FLAGS} -mtune -mips1 -mips2 -mips3 -mips4 -mabi" ;;
# -fomit-frame-pointer known to break things and is pointless
# according to ciaranm
- sparc) filter-flags "-fomit-frame-pointer" ;;
+ # And hardened compiler must be softened. -- fmccor, 20.viii.04
+ sparc) filter-flags "-fomit-frame-pointer"
+ if use hardened
+ then
+ einfo "Softening gcc for sparc"
+ ALLOWED_FLAGS="${ALLOWED_FLAGS} -fno-pie -fno-PIE"
+ append-flags "-fno-pie -fno-PIE"
+ fi
+ ;;
# gcc-3.3.2 causes invalid insn error
hppa ) replace-cpu-flags 1.0 2.0 ;;
esac
@@ -413,6 +422,22 @@ host_def_setup() {
suntcx sunbw2 glint mga tdfx ati savage vesa vga fbdev \
XF86OSCardDrivers XF86ExtraCardDrivers \
DevelDrivers" >> ${HOSTCONF}
+ if use hardened
+ then
+ einfo "Softening the assembler so cfb modules will play nice with sunffb"
+ echo "#define AsCmd CcCmd -c -x assembler -fno-pie -fno-PIE" >> ${HOSTCONF}
+ echo "#define ModuleAsCmd CcCmd -c -x assembler -fno-pie -fno-PIE" >> ${HOSTCONF}
+ fi
+ if ( [ -e "${ROOT}/usr/src/linux" ] && \
+ !( `is_kernel "2" "6"` ) ) || \
+ [ "`uname -r | cut -d. -f1,2`" != "2.6" ]
+ then
+ einfo "Building for kernels less than 2.6 requires special treatment"
+ echo "#define UseDeprecatedKeyboardDriver YES" >> ${HOSTCONF}
+ einfo "Avoid bug #46593 for sparc32-SMP with kernel 2.4.xx"
+ echo "/* Add a line to avoid bug #56593 on sparc32 */" >> \
+ programs/Xserver/hw/xfree86/drivers/ati/r128_driver.c
+ fi
fi
# The definitions for fontconfig