[Bug 194065] lang/cython: Fallout from upgrade from 0.20 => 0.21

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Oct 1 10:40:53 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194065

--- Comment #4 from vmagerya at 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.


More information about the freebsd-ports-bugs mailing list