ports/lang/mono/files/patch-scripts_mono-heapviz
Mark Felder 8c5039e5b4 lang/mono: Require python 2.7
- Revive python patch for mono-heapviz
- Also remove unnecessary mirror/distfile tag
2018-06-18 14:10:57 +00:00

11 lines
343 B
Text

--- scripts/mono-heapviz.orig 2018-01-18 17:41:54 UTC
+++ scripts/mono-heapviz
@@ -7,7 +7,7 @@
from __future__ import print_function
import sys, os
-import Image, ImageDraw
+from PIL import Image, ImageDraw
from xml.sax import ContentHandler, make_parser
from xml.sax.handler import feature_namespaces
from optparse import OptionParser