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

Collapse All | Expand All

(-)/usr/portage/media-libs/libsdl/libsdl-1.2.11-r1.ebuild (-19 / +24 lines)
Lines 1-8 Link Here
1
# Copyright 1999-2007 Gentoo Foundation
1
# Copyright 1999-2007 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.11-r1.ebuild,v 1.5 2007/03/05 16:47:11 vapier Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.11-r1.ebuild,v 1.4 2007/02/13 14:24:10 gustavoz Exp $
4
4
5
inherit flag-o-matic toolchain-funcs eutils libtool
5
inherit flag-o-matic toolchain-funcs eutils libtool
6
6
7
DESCRIPTION="Simple Direct Media Layer"
7
DESCRIPTION="Simple Direct Media Layer"
8
HOMEPAGE="http://www.libsdl.org/"
8
HOMEPAGE="http://www.libsdl.org/"
Lines 74-103 Link Here
74
	epatch "${FILESDIR}"/${P}-libcaca-new-api.patch #40224
74
	epatch "${FILESDIR}"/${P}-libcaca-new-api.patch #40224
75
	epatch "${FILESDIR}"/${P}-sdl-config.patch
75
	epatch "${FILESDIR}"/${P}-sdl-config.patch
76
	epatch "${FILESDIR}"/${P}-xinerama-head-0.patch #145917
76
	epatch "${FILESDIR}"/${P}-xinerama-head-0.patch #145917
77
	epatch "${FILESDIR}"/${P}-no-inline-BlitRGBtoRGBPixelAlphaMMX3DNOW.patch #148186
77
	epatch "${FILESDIR}"/${P}-no-inline-BlitRGBtoRGBPixelAlphaMMX3DNOW.patch #148186
78
	epatch "${FILESDIR}"/${P}-audioConv.patch #151991
78
	epatch "${FILESDIR}"/${P}-audioConv.patch #151991
79
	epatch "${FILESDIR}"/${P}-no-yasm.patch #169388
79
	epatch "${FILESDIR}"/${P}-fbcon-page-header.patch #159923 #169388
80
	epatch "${FILESDIR}"/${P}-fbcon-page-header.patch #159923 #169388
81
	epatch "${FILESDIR}"/${P}-dont-propagate-lpthread.patch #Fixes Debian bug #401950 and Debian bug #380508
82
	epatch "${FILESDIR}"/${P}-supermount-double-free-issue.patch #Fixes Debian bug #375822
80
83
81
	# add yasm-compatible defines to nasm code (hopefully we
84
	#We're using NASM
82
	# can get this killed soonish)
85
	## add yasm-compatible defines to nasm code (hopefully we
83
	local f
86
	## can get this killed soonish)
84
	for f in "${S}"/src/hermes/*.asm ; do
87
	#local f
85
		cat <<-EOF >> "${f}"
88
	#for f in "${S}"/src/hermes/*.asm ; do
86
		%ifidn __YASM_OBJFMT__,elf
89
	#	cat <<-EOF >> "${f}"
87
		section ".note.GNU-stack" noalloc noexec nowrite progbits
90
	#	%ifidn __YASM_OBJFMT__,elf
88
		%endif
91
	#	section ".note.GNU-stack" noalloc noexec nowrite progbits
89
		EOF
92
	#	%endif
90
	done
93
	#	EOF
91
94
	#done
92
	# yasm does not understand -i
95
93
	# bug #147201
96
	#we're using NASM
94
	sed -i \
97
	## yasm does not understand -i
95
		-e 's:NASMFLAGS -i:NASMFLAGS -I:' \
98
	## bug #147201
96
		configure.in \
99
	#sed -i \
97
		|| die "sed failed"
100
	#	-e 's:NASMFLAGS -i:NASMFLAGS -I:' \
98
101
	#	configure.in \
102
	#	|| die "sed failed"
103
	#
99
	./autogen.sh || die "autogen failed"
104
	./autogen.sh || die "autogen failed"
100
	elibtoolize
105
	elibtoolize
101
}
106
}
102
107
103
src_compile() {
108
src_compile() {

Return to bug 169477