diff options
Diffstat (limited to 'graphics/py-imagingtk/patches/patch-aa')
-rw-r--r-- | graphics/py-imagingtk/patches/patch-aa | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/graphics/py-imagingtk/patches/patch-aa b/graphics/py-imagingtk/patches/patch-aa new file mode 100644 index 00000000000..ab628437b36 --- /dev/null +++ b/graphics/py-imagingtk/patches/patch-aa @@ -0,0 +1,58 @@ +$NetBSD: patch-aa,v 1.1 2003/08/18 10:15:43 drochner Exp $ + +--- setup.py.orig Fri May 9 14:00:56 2003 ++++ setup.py Sun Aug 17 00:55:09 2003 +@@ -85,16 +85,16 @@ + # standard windows libraries + LIBRARIES.extend(["kernel32", "user32", "gdi32"]) + +-MODULES.append( +- Extension( +- "_imaging", +- ["_imaging.c", "decode.c", "encode.c", "map.c", "display.c", +- "outline.c", "path.c"], +- include_dirs=INCLUDE_DIRS, +- library_dirs=LIBRARY_DIRS, +- libraries=LIBRARIES +- ) +- ) ++#MODULES.append( ++# Extension( ++# "_imaging", ++# ["_imaging.c", "decode.c", "encode.c", "map.c", "display.c", ++# "outline.c", "path.c"], ++# include_dirs=INCLUDE_DIRS, ++# library_dirs=LIBRARY_DIRS, ++# libraries=LIBRARIES ++# ) ++# ) + + # security check + +@@ -121,7 +121,7 @@ + + try: + import _tkinter +- TCL_VERSION = _tkinter.TCL_VERSION[:3] ++ TCL_VERSION = ''.join(_tkinter.TCL_VERSION[:3].split('.')) + except (ImportError, AttributeError): + pass + else: +@@ -206,7 +206,7 @@ + + if not tk_framework_found: + # assume the libraries are installed in the default location +- LIBRARIES.extend(["tk" + TCL_VERSION, "tcl" + TCL_VERSION]) ++ LIBRARIES.extend(["tk" + TCL_VERSION, "tcl" + TCL_VERSION, "X11"]) + HAVE_TCLTK = 1 + + if HAVE_TCLTK: +@@ -300,7 +300,7 @@ + author_email=AUTHOR[1], + description=DESCRIPTION, + url=HOMEPAGE, +- packages=[""], ++# packages=[""], + extra_path = "PIL", + package_dir={"": "PIL"}, + ext_modules = MODULES, |