Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 666568

Summary: sci-libs/vtk-8.1.0-r2 needs a patch for Python_3.7
Product: Gentoo Linux Reporter: Helmut Jarausch <jarausch>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED OBSOLETE    
Severity: normal CC: jstein, mgorny
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 715828    
Bug Blocks: 695996    
Attachments: patch for Python 3.7

Description Helmut Jarausch 2018-09-19 16:52:38 UTC
Created attachment 547340 [details, diff]
patch for Python 3.7

Python_3.7 has changed its API,
function PyUnicode_AsUTF8 returns a
const char* pointer
while Python_3.6 returned a
char*
pointer.

The attached patch is an ugly work-around (const_cast).
The real fix should be provided by upstreams.