14
0

Accepting request 1178768 from home:glaubitz:branches:devel:languages:python

- Cherry-pick upstream patch to fix build with GCC 14
  * https://github.com/mcfletch/pyopengl/pull/112.patch

OBS-URL: https://build.opensuse.org/request/show/1178768
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opengl-accelerate?expand=0&rev=24
This commit is contained in:
2024-06-06 06:55:37 +00:00
committed by Git OBS Bridge
parent 3825d8efa5
commit 6ad495e5bf
3 changed files with 63 additions and 0 deletions

View File

@@ -27,6 +27,8 @@ License: BSD-3-Clause
Group: Development/Libraries/Python
URL: http://pyopengl.sourceforge.net
Source0: %{tarname}-%{_version}.tar.gz
# PATCH-FIX-UPSTREAM - accelerate: Fix C type errors for GCC 14/Clang compatibility
Patch0: https://github.com/mcfletch/pyopengl/pull/112.patch
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module opengl >= %{version}}
@@ -47,6 +49,7 @@ code.
%prep
%setup -q -n %{tarname}-%{_version}
%patch -P0 -p1
# _service pulldown creates %%{tarname}-%%{_version}/accelerate/<required files>,
# move them to root of build area and remove 'accelerate' directory