summaryrefslogtreecommitdiffstats
path: root/patches/Imaging-1.1.7
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2011-05-26 19:01:05 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-06-22 14:55:35 +0200
commit0e7401612a33920b454d88546cb8ea821afb228a (patch)
tree103eecd558af06cf13815e99bb573618ef203d77 /patches/Imaging-1.1.7
parent40e83010298d2547d4b3667e1bcd55b91331dbbc (diff)
downloadptxdist-0e7401612a33920b454d88546cb8ea821afb228a.tar.gz
ptxdist-0e7401612a33920b454d88546cb8ea821afb228a.tar.xz
python-imaging: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/Imaging-1.1.7')
-rw-r--r--patches/Imaging-1.1.7/0001-setup.py-remove-host-directories-from-search-paths.patch38
-rw-r--r--patches/Imaging-1.1.7/series3
2 files changed, 41 insertions, 0 deletions
diff --git a/patches/Imaging-1.1.7/0001-setup.py-remove-host-directories-from-search-paths.patch b/patches/Imaging-1.1.7/0001-setup.py-remove-host-directories-from-search-paths.patch
new file mode 100644
index 000000000..e3f1da806
--- /dev/null
+++ b/patches/Imaging-1.1.7/0001-setup.py-remove-host-directories-from-search-paths.patch
@@ -0,0 +1,38 @@
+From: Michael Olbrich <m.olbrich@pengutronix.de>
+Date: Thu, 26 May 2011 17:07:26 +0200
+Subject: [PATCH] setup.py: remove host directories from search paths
+
+Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
+---
+ setup.py | 8 --------
+ 1 files changed, 0 insertions(+), 8 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index 5d4d53a..26d5672 100644
+--- a/setup.py
++++ b/setup.py
+@@ -147,7 +147,6 @@ class pil_build_ext(build_ext):
+ add_directory(library_dirs, "/opt/local/lib")
+ add_directory(include_dirs, "/opt/local/include")
+
+- add_directory(library_dirs, "/usr/local/lib")
+ # FIXME: check /opt/stuff directories here?
+
+ prefix = sysconfig.get_config_var("prefix")
+@@ -207,13 +206,6 @@ class pil_build_ext(build_ext):
+ if os.path.isfile(os.path.join(tcl_dir, "tk.h")):
+ add_directory(include_dirs, tcl_dir)
+
+- # standard locations
+- add_directory(library_dirs, "/usr/local/lib")
+- add_directory(include_dirs, "/usr/local/include")
+-
+- add_directory(library_dirs, "/usr/lib")
+- add_directory(include_dirs, "/usr/include")
+-
+ #
+ # insert new dirs *before* default libs, to avoid conflicts
+ # between Python PYD stub libs and real libraries
+--
+1.7.5.1
+
diff --git a/patches/Imaging-1.1.7/series b/patches/Imaging-1.1.7/series
new file mode 100644
index 000000000..bfe5bcd05
--- /dev/null
+++ b/patches/Imaging-1.1.7/series
@@ -0,0 +1,3 @@
+# generated by git-ptx-patches
+0001-setup.py-remove-host-directories-from-search-paths.patch
+# d1e428f451e5d4fce235256d18430c0c - git-ptx-patches magic