diff options
author | eroen <eroen@occam.eroen.eu> | 2012-10-09 18:36:28 +0200 |
---|---|---|
committer | eroen <eroen@occam.eroen.eu> | 2012-10-09 18:36:28 +0200 |
commit | fd9ea00a19480661d67a6b125f8d09e6ca518ba9 (patch) | |
tree | 1c84bc3af557b95e6b98b8c50f7236a291254396 /media-libs/mesa/files/glx_ro_text_segm.patch | |
parent | glc ebuild from v-fox overlay (diff) | |
download | eroen-fd9ea00a19480661d67a6b125f8d09e6ca518ba9.tar.gz eroen-fd9ea00a19480661d67a6b125f8d09e6ca518ba9.tar.bz2 eroen-fd9ea00a19480661d67a6b125f8d09e6ca518ba9.zip |
imported media-libs/mesa from official tree
Diffstat (limited to 'media-libs/mesa/files/glx_ro_text_segm.patch')
-rw-r--r-- | media-libs/mesa/files/glx_ro_text_segm.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/media-libs/mesa/files/glx_ro_text_segm.patch b/media-libs/mesa/files/glx_ro_text_segm.patch new file mode 100644 index 0000000..495b7dc --- /dev/null +++ b/media-libs/mesa/files/glx_ro_text_segm.patch @@ -0,0 +1,28 @@ +2011-02-09 Jeremy Huddleston <jeremyhu@freedesktop.org + + #240956 + * configure.ac add support to enable readonly test segment on x86 + +--- configure.ac.orig 2008-11-17 23:19:38.000000000 +0100 ++++ configure.ac 2008-11-17 23:20:17.000000000 +0100 +@@ -499,6 +499,20 @@ + enable_xcb=no + fi + ++ ++dnl readonly text segment on x86 hardened platforms ++AC_ARG_ENABLE([glx_rts], ++ [AS_HELP_STRING([--enable-glx-rts], ++ [on x86, use a readonly text segment for libGL @<:@default=disabled@:>@])], ++ [enable_glx_rts="$enableval"], ++ [enable_glx_rts=no]) ++if test "x$enable_glx_rts" = xyes; then ++ DEFINES="$DEFINES -DGLX_X86_READONLY_TEXT" ++else ++ enable_glx_rts=no ++fi ++ ++ + dnl + dnl libGL configuration per driver + dnl |