Blame cjdns.python3.patch

02039d
diff -up ./node_build/dependencies/libuv/gyp_uv.py.python3 ./node_build/dependencies/libuv/gyp_uv.py
02039d
--- ./node_build/dependencies/libuv/gyp_uv.py.python3	2017-02-18 15:19:22.280061575 -0500
02039d
+++ ./node_build/dependencies/libuv/gyp_uv.py	2017-02-18 15:32:37.090478242 -0500
02039d
@@ -1,4 +1,4 @@
02039d
-#!/usr/bin/env python
02039d
+#!/usr/bin/env python2
02039d
 
02039d
 import glob
02039d
 import platform
02039d
@@ -34,6 +34,7 @@ def compiler_version():
02039d
   proc = subprocess.Popen(CC.split() + ['-dumpversion'], stdout=subprocess.PIPE)
02039d
   version = proc.communicate()[0].split('.')
02039d
   version = map(int, version[:2])
02039d
+  if len(version) < 2: version.append(0)
02039d
   version = tuple(version)
02039d
   return (version, is_clang)
02039d