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

12 lines
319 B
Diff
Raw Normal View History

2019-09-12 21:11:51 +02:00
--- 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