1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

devel/renpy: unbreak with cython 0.28

PR:		228235
Obtained from:	upstream
This commit is contained in:
Jan Beich 2018-05-16 22:50:26 +00:00
parent feac365767
commit c3c3b4b60e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=470157
4 changed files with 28 additions and 4 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= renpy
PORTVERSION?= 6.99.14.3
DISTVERSIONSUFFIX=-sdk
PORTREVISION?= 1
PORTREVISION?= 2
CATEGORIES= devel games
MASTER_SITES= https://www.renpy.org/dl/${PORTVERSION}/
@ -23,7 +23,6 @@ LIB_DEPENDS= libfribidi.so:converters/fribidi \
libfreetype.so:print/freetype2
RUN_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}game_sdl2>=${PORTVERSION}:devel/py-game_sdl2@${FLAVOR}
BROKEN= fails to build with cython 0.28
CONFLICTS_INSTALL?= ${PORTNAME}6-*
# Upstream tends to reroll distfiles before moving under /release/

View File

@ -0,0 +1,13 @@
https://github.com/renpy/renpy/commit/ba832e5e3d52
--- renpy/display/render.pyx.orig 2018-01-26 22:32:59 UTC
+++ renpy/display/render.pyx
@@ -572,7 +572,7 @@ PIXELLATE = 3
cdef class Render:
- def __init__(Render self, float width, float height, draw_func=None, layer_name=None, bint opaque=None): #@DuplicatedSignature
+ def __init__(Render self, float width, float height, draw_func=None, layer_name=None, bint opaque=False): #@DuplicatedSignature
"""
Creates a new render corresponding to the given widget with
the specified width and height.

View File

@ -1,10 +1,9 @@
# $FreeBSD$
PORTVERSION= 6.18.3
PORTREVISION= 6
PORTREVISION= 7
PKGNAMESUFFIX= 6
BROKEN= fails to build with cython 0.28
CONFLICTS_INSTALL= ${PORTNAME}-[0-9]*
MASTERDIR= ${.CURDIR}/../renpy

View File

@ -0,0 +1,13 @@
https://github.com/renpy/renpy/commit/ba832e5e3d52
--- renpy/display/render.pyx.orig 2014-10-03 01:16:12 UTC
+++ renpy/display/render.pyx
@@ -448,7 +448,7 @@ PIXELLATE = 3
cdef class Render:
- def __init__(Render self, float width, float height, draw_func=None, layer_name=None, bint opaque=None): #@DuplicatedSignature
+ def __init__(Render self, float width, float height, draw_func=None, layer_name=None, bint opaque=False): #@DuplicatedSignature
"""
Creates a new render corresponding to the given widget with
the specified width and height.