summaryrefslogtreecommitdiff
path: root/dev-python/python-lzo/files/lzo2compat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-lzo/files/lzo2compat.patch')
-rw-r--r--dev-python/python-lzo/files/lzo2compat.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-python/python-lzo/files/lzo2compat.patch b/dev-python/python-lzo/files/lzo2compat.patch
new file mode 100644
index 00000000000..6ce728753df
--- /dev/null
+++ b/dev-python/python-lzo/files/lzo2compat.patch
@@ -0,0 +1,13 @@
+--- setup.py
++++ setup.py
+@@ -24,8 +24,8 @@
+ include_dirs.append(os.path.join(CURL_DIR, "include"))
+ extra_objects.append(os.path.join(CURL_DIR, "lzo.lib"))
+ else:
+- libraries = ["lzo"]
+- ##include_dirs.append("/usr/local/include")
++ libraries = ["lzo2"]
++ include_dirs.append("/usr/include/lzo")
+ ##library_dirs.append("/usr/local/lib")
+ ##runtime_library_dirs.append("/usr/local/lib")
+