aboutsummaryrefslogtreecommitdiff
path: root/bigtop-packages
diff options
context:
space:
mode:
authorSteve Capper <steve.capper@linaro.org>2015-10-28 11:27:16 +0000
committerSteve Capper <steve.capper@linaro.org>2015-10-30 09:32:44 +0000
commitc1fb903bcabb37a297a78ed934af6943586489ee (patch)
tree8d84200f558622a3bec4e525a90af5b172e5460c /bigtop-packages
parentbd837f815cc00c14104ec48dd09e9aff707264d2 (diff)
HUE: Remove stale library references to /usr/local
One of the native components of Hue's python scripts adds the hardcoded search path /usr/local/openldap-2.3/lib, this is not only incorrect on most modern distros, it also causes build errors to occur (due to the /usr/local string being picked up by RPM sanity checks). This patch removes the stale library references such that builds pass without error. Signed-off-by: Steve Capper <steve.capper@linaro.org>
Diffstat (limited to 'bigtop-packages')
-rw-r--r--bigtop-packages/src/common/hue/patch0-HUE-fix-python.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/bigtop-packages/src/common/hue/patch0-HUE-fix-python.diff b/bigtop-packages/src/common/hue/patch0-HUE-fix-python.diff
new file mode 100644
index 00000000..5aaae897
--- /dev/null
+++ b/bigtop-packages/src/common/hue/patch0-HUE-fix-python.diff
@@ -0,0 +1,13 @@
+diff -urN hue-release-3.8.1.orig/desktop/core/ext-py/python-ldap-2.3.13/setup.cfg hue-release-3.8.1/desktop/core/ext-py/python-ldap-2.3.13/setup.cfg
+--- hue-release-3.8.1.orig/desktop/core/ext-py/python-ldap-2.3.13/setup.cfg 2015-10-28 11:34:01.530000000 +0000
++++ hue-release-3.8.1/desktop/core/ext-py/python-ldap-2.3.13/setup.cfg 2015-10-28 11:34:23.650000000 +0000
+@@ -2,8 +2,7 @@
+ extra_objects =
+ extra_compile_args =
+ libs = ldap_r lber sasl2 ssl crypto
+-library_dirs = /usr/local/openldap-2.3/lib
+-include_dirs = /usr/local/openldap-2.3/include /usr/include/sasl
++include_dirs = /usr/include/sasl
+
+ [egg_info]
+ tag_build =