SHA256
1
0
forked from pool/Mesa

Accepting request 617323 from home:mimi_vx:branches:X11:XOrg

- add mako_4_radv.patch - fixes Mako detection for RADV/intel 

- add mako_4_radv.patch - fixes Mako detection for RADV/intel

OBS-URL: https://build.opensuse.org/request/show/617323
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=752
This commit is contained in:
Stefan Dirsch 2018-06-18 02:01:43 +00:00 committed by Git OBS Bridge
parent 805845d0e6
commit eff3b9128f
5 changed files with 29 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jun 17 17:57:44 UTC 2018 - mimi.vx@gmail.com
- add mako_4_radv.patch - fixes Mako detection for RADV/intel
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jun 17 11:11:53 UTC 2018 - mimi.vx@gmail.com Sun Jun 17 11:11:53 UTC 2018 - mimi.vx@gmail.com

View File

@ -139,6 +139,7 @@ Patch32: archlinux_glvnd-fix-gl-dot-pc.patch
Patch43: u_r600-egd_tables.py-make-the-script-python-2-3-compat.patch Patch43: u_r600-egd_tables.py-make-the-script-python-2-3-compat.patch
Patch44: u_intel_anv-make-scripts-python-2-3-compat.patch Patch44: u_intel_anv-make-scripts-python-2-3-compat.patch
Patch47: u_st-dri-don-t-set-queryDmaBufFormats-queryDmaBufModif.patch Patch47: u_st-dri-don-t-set-queryDmaBufFormats-queryDmaBufModif.patch
Patch48: mako_4_radv.patch
BuildRequires: autoconf >= 2.60 BuildRequires: autoconf >= 2.60
BuildRequires: automake BuildRequires: automake
@ -748,6 +749,7 @@ rm -rf docs/README.{VMS,WIN32,OS2}
%patch43 -p1 %patch43 -p1
%patch44 -p1 %patch44 -p1
%patch47 -p1 %patch47 -p1
%patch48 -p1
# Remove requires to libglvnd/libglvnd-devel from baselibs.conf when # Remove requires to libglvnd/libglvnd-devel from baselibs.conf when
# disabling libglvnd build; ugly ... # disabling libglvnd build; ugly ...

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jun 17 17:57:44 UTC 2018 - mimi.vx@gmail.com
- add mako_4_radv.patch - fixes Mako detection for RADV/intel
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jun 17 11:11:53 UTC 2018 - mimi.vx@gmail.com Sun Jun 17 11:11:53 UTC 2018 - mimi.vx@gmail.com

View File

@ -138,6 +138,7 @@ Patch32: archlinux_glvnd-fix-gl-dot-pc.patch
Patch43: u_r600-egd_tables.py-make-the-script-python-2-3-compat.patch Patch43: u_r600-egd_tables.py-make-the-script-python-2-3-compat.patch
Patch44: u_intel_anv-make-scripts-python-2-3-compat.patch Patch44: u_intel_anv-make-scripts-python-2-3-compat.patch
Patch47: u_st-dri-don-t-set-queryDmaBufFormats-queryDmaBufModif.patch Patch47: u_st-dri-don-t-set-queryDmaBufFormats-queryDmaBufModif.patch
Patch48: mako_4_radv.patch
BuildRequires: autoconf >= 2.60 BuildRequires: autoconf >= 2.60
BuildRequires: automake BuildRequires: automake
@ -747,6 +748,7 @@ rm -rf docs/README.{VMS,WIN32,OS2}
%patch43 -p1 %patch43 -p1
%patch44 -p1 %patch44 -p1
%patch47 -p1 %patch47 -p1
%patch48 -p1
# Remove requires to libglvnd/libglvnd-devel from baselibs.conf when # Remove requires to libglvnd/libglvnd-devel from baselibs.conf when
# disabling libglvnd build; ugly ... # disabling libglvnd build; ugly ...

15
mako_4_radv.patch Normal file
View File

@ -0,0 +1,15 @@
Index: mesa-18.1.2/m4/ax_check_python_mako_module.m4
===================================================================
--- mesa-18.1.2.orig/m4/ax_check_python_mako_module.m4
+++ mesa-18.1.2/m4/ax_check_python_mako_module.m4
@@ -48,8 +48,8 @@ try:
except ImportError as err:
sys.exit(err)
else:
- ver_req = map(int, '$1'.split('.'))
- ver_act = map(int, mako.__version__.split('.'))
+ ver_req = list(map(int, '$1'.split('.')))
+ ver_act = list(map(int, mako.__version__.split('.')))
sys.exit(int(ver_req > ver_act))
" | $PYTHON2 -