Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 61063 | Differences between
and this patch

Collapse All | Expand All

(-)xorg-x11-6.8.0-r4.ebuild- (-3 / +17 lines)
Lines 86-92 Link Here
86
	nokia tektronix the-open-group todd-c-miller x-truetype xfree86-1.0
86
	nokia tektronix the-open-group todd-c-miller x-truetype xfree86-1.0
87
	MIT SGI-B BSD || ( FTL GPL-2 )"
87
	MIT SGI-B BSD || ( FTL GPL-2 )"
88
SLOT="0"
88
SLOT="0"
89
KEYWORDS="~x86"
89
KEYWORDS="~x86 ~sparc"
90
90
91
DEPEND=">=sys-libs/ncurses-5.1
91
DEPEND=">=sys-libs/ncurses-5.1
92
	>=sys-libs/zlib-1.1.3-r2
92
	>=sys-libs/zlib-1.1.3-r2
Lines 231-236 Link Here
231
231
232
	epatch ${FILESDIR}/xpm-secfix-thomas.diff
232
	epatch ${FILESDIR}/xpm-secfix-thomas.diff
233
233
234
	if use sparc; then
235
		cd ${S}
236
		einfo "Apply experimental sunffb sanitizer"
237
		epatch ${FILESDIR}/sunffb-imake.patch
238
		if use dlloader; then
239
			einfo "Fix afb, cfb, and Mesa for correct operation with dlloader"
240
			epatch ${FILESDIR}/sparc-dlloader-cflags.patch
241
			cd ${S}/programs/Xserver
242
			epatch ${FILESDIR}/afb-cfb-dlloader-fixes.patch
243
			cd ${S}
244
		fi
245
	fi
246
247
234
	host_def_setup
248
	host_def_setup
235
249
236
	cd ${S}
250
	cd ${S}
Lines 486-492 Link Here
486
		# according to ciaranm
500
		# according to ciaranm
487
		# And hardened compiler must be softened. -- fmccor, 20.viii.04
501
		# And hardened compiler must be softened. -- fmccor, 20.viii.04
488
		sparc)	filter-flags "-fomit-frame-pointer"
502
		sparc)	filter-flags "-fomit-frame-pointer"
489
			if use hardened; then
503
			if use hardened && ! use dlloader; then
490
				einfo "Softening gcc for sparc"
504
				einfo "Softening gcc for sparc"
491
				ALLOWED_FLAGS="${ALLOWED_FLAGS} -fno-pie -fno-PIE"
505
				ALLOWED_FLAGS="${ALLOWED_FLAGS} -fno-pie -fno-PIE"
492
				append-flags "-fno-pie -fno-PIE"
506
				append-flags "-fno-pie -fno-PIE"
Lines 778-784 Link Here
778
			suntcx sunbw2 glint mga tdfx ati savage vesa vga fbdev \
792
			suntcx sunbw2 glint mga tdfx ati savage vesa vga fbdev \
779
			XF86OSCardDrivers XF86ExtraCardDrivers \
793
			XF86OSCardDrivers XF86ExtraCardDrivers \
780
			DevelDrivers" >> ${HOSTCONF}
794
			DevelDrivers" >> ${HOSTCONF}
781
			if use hardened; then
795
			if use hardened && ! use dlloader; then
782
				einfo "Softening the assembler so cfb modules will play nice with sunffb"
796
				einfo "Softening the assembler so cfb modules will play nice with sunffb"
783
				echo "#define AsCmd CcCmd -c -x assembler -fno-pie -fno-PIE" >> ${HOSTCONF}
797
				echo "#define AsCmd CcCmd -c -x assembler -fno-pie -fno-PIE" >> ${HOSTCONF}
784
				echo "#define ModuleAsCmd CcCmd -c -x assembler -fno-pie -fno-PIE" >> ${HOSTCONF}
798
				echo "#define ModuleAsCmd CcCmd -c -x assembler -fno-pie -fno-PIE" >> ${HOSTCONF}

Return to bug 61063