summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/impressive/files/impressive-pillow.patch')
-rw-r--r--app-office/impressive/files/impressive-pillow.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/app-office/impressive/files/impressive-pillow.patch b/app-office/impressive/files/impressive-pillow.patch
new file mode 100644
index 000000000000..1b7a1be76f74
--- /dev/null
+++ b/app-office/impressive/files/impressive-pillow.patch
@@ -0,0 +1,15 @@
+# See revision 53 in upstream svn
+# https://bugs.gentoo.org/show_bug.cgi?id=471496
+--- a/impressive.py
++++ b/impressive.py
+@@ -182,8 +182,8 @@
+ from OpenGL.GL import *
+ import pygame
+ from pygame.locals import *
+- import Image, ImageDraw, ImageFont, ImageFilter
+- import TiffImagePlugin, BmpImagePlugin, JpegImagePlugin, PngImagePlugin, PpmImagePlugin
++ from PIL import Image, ImageDraw, ImageFont, ImageFilter
++ from PIL import TiffImagePlugin, BmpImagePlugin, JpegImagePlugin, PngImagePlugin, PpmImagePlugin
+ except (ValueError, ImportError), err:
+ print >>sys.stderr, "Oops! Cannot load necessary modules:", err
+ print >>sys.stderr, """To use Impressive, you need to install the following Python modules: