summaryrefslogtreecommitdiff
path: root/media-libs/mesa/files/mesa-8.1-dont-require-llvm-for-r300.patch
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2012-11-21 13:59:41 +0200
committerGluzskiy Alexandr <sss123next@list.ru>2012-11-21 13:59:41 +0200
commit84da8d4094a0d16d6589558208c6582c64f43f08 (patch)
treea2b2285c3e4b05ad327abc048c3d3780d8e1dd9f /media-libs/mesa/files/mesa-8.1-dont-require-llvm-for-r300.patch
parent0672ebbe2a455152b6eaa2fc35327d4a8f738861 (diff)
new file: files/0002-radeong-opencl-rename-target-from-r600-to-r600-amd-n.patch
new file: files/0003-clover-fix-building-and-add-standart-locations-for-l.patch new file: files/eselect-mesa.conf.8.1 new file: files/glx_ro_text_segm.patch new file: files/mesa-8.1-dont-require-llvm-for-r300.patch new file: mesa-9999.ebuild
Diffstat (limited to 'media-libs/mesa/files/mesa-8.1-dont-require-llvm-for-r300.patch')
-rw-r--r--media-libs/mesa/files/mesa-8.1-dont-require-llvm-for-r300.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/media-libs/mesa/files/mesa-8.1-dont-require-llvm-for-r300.patch b/media-libs/mesa/files/mesa-8.1-dont-require-llvm-for-r300.patch
new file mode 100644
index 0000000..9fe7e32
--- /dev/null
+++ b/media-libs/mesa/files/mesa-8.1-dont-require-llvm-for-r300.patch
@@ -0,0 +1,25 @@
+--- a/configure.ac 2012-05-12 11:50:09.786970584 +0200
++++ b/configure.ac 2012-05-12 12:00:00.770582272 +0200
+@@ -1922,14 +1922,6 @@
+ fi
+ }
+
+-gallium_require_llvm() {
+- if test "x$MESA_LLVM" = x0; then
+- case "$host_cpu" in
+- i*86|x86_64) AC_MSG_ERROR([LLVM is required to build $1 on x86 and x86_64]);;
+- esac
+- fi
+-}
+-
+ gallium_require_drm_loader() {
+ if test "x$enable_gallium_loader" = xyes; then
+ PKG_CHECK_MODULES([LIBUDEV], [libudev], [],
+@@ -1962,7 +1954,6 @@
+ ;;
+ xr300)
+ PKG_CHECK_MODULES([RADEON], [libdrm_radeon >= $LIBDRM_RADEON_REQUIRED])
+- gallium_require_llvm "Gallium R300"
+ GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS r300"
+ gallium_check_st "radeon/drm" "dri-r300" "xorg-r300" "" "xvmc-r300" "vdpau-r300" "va-r300"
+ ;;