Replace removed numpy.tostring calls with numpy.tobytes
- Fixes: rhbz#2507983 The upstream report already has a fixer, but upstream pins older numpy.
This commit is contained in:
parent
878bb955f1
commit
d7dc4474b4
1 changed files with 5 additions and 0 deletions
|
|
@ -92,6 +92,11 @@ cp -a %{SOURCE6} %{SOURCE7} %{SOURCE8} .
|
|||
# fix compile-shaders
|
||||
sed -i 's|qsb |qsb-qt6 |g' scripts/compile-shaders
|
||||
|
||||
# https://github.com/Ultimaker/Cura/issues/21418
|
||||
# https://bugzilla.redhat.com/2507983
|
||||
sed -i 's/tostring/tobytes/g' UM/View/GL/OpenGL.py
|
||||
|
||||
|
||||
%build
|
||||
# there is no arch specific content, so we set LIB_SUFFIX to nothing
|
||||
# see https://github.com/Ultimaker/Uranium/commit/862a246bdfd7e25541b04a35406957612c6f4bb7
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue