head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.8 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.6 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.4 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.2 pkgsrc-2025Q2-base:1.1; locks; strict; comment @# @; 1.1 date 2025.06.12.07.29.05; author wiz; state Exp; branches; next ; commitid jBnDXtKI0qVMxzYF; desc @@ 1.1 log @py-kivy: fix build with Cython 3 using upstream commit Bump PKGREVISION. @ text @$NetBSD$ https://github.com/kivy/kivy/commit/5a1b27d7d3bdee6cedb55440bfae9c4e66fb3c68 --- kivy/graphics/opengl.pyx.orig 2024-12-26 16:04:18.000000000 +0000 +++ kivy/graphics/opengl.pyx @@@@ -689,7 +689,7 @@@@ def glDrawElements(GLenum mode, GLsizei cdef void *ptr = NULL if isinstance(indices, bytes): ptr = ((indices)) - elif isinstance(indices, (long, int)): + elif isinstance(indices, int): ptr = (indices) else: raise TypeError("Argument 'indices' has incorrect type (expected bytes or int).") @@@@ -1539,7 +1539,7 @@@@ def glVertexAttribPointer(GLuint index, cdef void *ptr = NULL if isinstance(data, bytes): ptr = ((data)) - elif isinstance(data, (long, int)): + elif isinstance(data, int): ptr = (data) else: raise TypeError("Argument 'data' has incorrect type (expected bytes or int).") @