void-packages/srcpkgs/mono/patches/fix-heapviz-import.patch

12 lines
319 B
Diff

--- scripts/mono-heapviz.orig
+++ 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