Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Oct 2014 10:40:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 194065] lang/cython: Fallout from upgrade from 0.20 => 0.21
Message-ID:  <bug-194065-13-5GSy9TgiT7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-194065-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-194065-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194065

--- Comment #4 from vmagerya@gmail.com ---
For x11-toolkits/py-kivy, I think it's safe to change this line:

    attr.index = glGetAttribLocation(self.program, <char *><bytes>attr.name)

... into this:

    attr.index = glGetAttribLocation(self.program, <char *>attr.name)

... because attr.name is already <bytes> (or so it seems).
If that doesn't work, this should work instead:

    tmp = <bytes>attr.name
    attr.index = glGetAttribLocation(self.program, <char *>tmp)

In any case, testing is needed (and I can't perform it at the moment), so I'm
leaving it for dbn@ to figure out.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194065-13-5GSy9TgiT7>