void-packages/srcpkgs/freecad/patches/001-python3.patch
Piraty 27413d5b09 freecad: update to 0.17
- vtk is a mandatory dependency
 - libmed is a mandatory dependency
 - occt is not mandatory, but recommended by freecad devs, and replaces
   oce

 - SMDS patch is not needed anymore

 - freecad's transition to python3 is not complete, maybe in 0.18
 - in order to use qt5, Void needs pyside2 etc. first, which is not
   officially released yet.

Closes #13404.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-04-19 08:44:54 +02:00

11 lines
303 B
Diff

--- CMakeLists.txt
+++ CMakeLists.txt
@@ -445,7 +445,7 @@
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677598
# Acceptable versions of Python
-set(Python_ADDITIONAL_VERSIONS "2.7")
+set(Python_ADDITIONAL_VERSIONS "2.7 3.6")
# For building on OS X
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")