opnsense-ports/graphics/impressive/files/patch-impressive.py
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

13 lines
682 B
Python

--- impressive.py.orig 2014-10-04 23:28:04 UTC
+++ 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: