From 10d822b36efb98cdf117e71ee302c53573c9015b Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 31 Oct 2013 19:00:30 +0000 Subject: main/samba: upgrade to 4.1 --- main/samba/ld_library_path.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 main/samba/ld_library_path.patch (limited to 'main/samba/ld_library_path.patch') diff --git a/main/samba/ld_library_path.patch b/main/samba/ld_library_path.patch new file mode 100644 index 00000000000..2f0b8b981f9 --- /dev/null +++ b/main/samba/ld_library_path.patch @@ -0,0 +1,18 @@ +uclibc dpes not seem to handle a leading ':' in LD_LIBRARY_PATH. +Eg. LD_LIBRARY_PATH=":/path" + +--- ./buildtools/wafsamba/samba_utils.py.orig 2013-08-01 13:16:13.425790642 +0000 ++++ ./buildtools/wafsamba/samba_utils.py 2013-08-01 13:17:52.063543307 +0000 +@@ -54,10 +54,9 @@ + def ADD_LD_LIBRARY_PATH(path): + '''add something to LD_LIBRARY_PATH''' + if 'LD_LIBRARY_PATH' in os.environ: +- oldpath = os.environ['LD_LIBRARY_PATH'] ++ newpath = os.environ['LD_LIBRARY_PATH'].split(':') + else: +- oldpath = '' +- newpath = oldpath.split(':') ++ newpath = [] + if not path in newpath: + newpath.append(path) + os.environ['LD_LIBRARY_PATH'] = ':'.join(newpath) -- cgit v1.2.3