Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 227813 Details for
Bug 315347
x11-base/xorg-server: support building without the opengl subsystem switch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
The xorg-server patch
xorg-server-9999-opengl-includes.diff (text/plain), 1.20 KB, created by
Michał Górny
on 2010-04-14 21:41:27 UTC
(
hide
)
Description:
The xorg-server patch
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2010-04-14 21:41:27 UTC
Size:
1.20 KB
patch
obsolete
>diff --git a/x11-base/xorg-server/xorg-server-9999.ebuild b/x11-base/xorg-server/xorg-server-9999.ebuild >index 3ad37af..a62c4d2 100644 >--- a/x11-base/xorg-server/xorg-server-9999.ebuild >+++ b/x11-base/xorg-server/xorg-server-9999.ebuild >@@ -161,24 +161,10 @@ pkg_setup() { > has_version "<x11-base/xorg-server-$(get_version_component_range 1-2)"; then > INFO="yes" > fi >-} >- >-src_configure() { >- # this is required only for configure and build time >- # we need to ensure having enough glxtokens >- # the subshell is needed so the addwrite is not shared in rest of that phase >- OLD_IMPLEM="$(eselect opengl show)" >- [[ ${OLD_IMPLEM} != ${OPENGL_DIR} ]] && ( addwrite "${ROOT}"; eselect opengl set ${OPENGL_DIR}; ) >- xorg-2_src_configure >-} > >-src_compile() { >- emake # no die here intentional >- if [[ $? != 0 ]]; then >- [[ ${OLD_IMPLEM} != ${OPENGL_DIR} ]] && ( addwrite "${ROOT}"; eselect opengl set ${OLD_IMPLEM}; ) >- die "Compilation failed" >- fi >- [[ ${OLD_IMPLEM} != ${OPENGL_DIR} ]] && ( addwrite "${ROOT}"; eselect opengl set ${OLD_IMPLEM}; ) >+ # Export Gentoo-specific OpenGL include location to avoid switching opengl >+ # profiles. >+ export C_INCLUDE_PATH=/usr/$(get_libdir)/opengl/xorg-x11/include > } > > src_install() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 315347
:
227813
|
227815