void-packages/srcpkgs/mono/patches/fix-heapviz-import.patch
2019-09-13 07:08:04 +02:00

11 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