This is an automated email from the git hooks/post-receive script. sebastic-guest pushed a commit to branch master in repository liblas.
commit 91e1a6591d77e8a0e1d6993b35527805902a9309 Author: Bas Couwenberg <sebas...@xs4all.nl> Date: Wed Feb 5 01:15:18 2014 +0100 Add patch from python-liblas to fix the library search path. --- debian/changelog | 1 + debian/patches/fix_library_search | 20 ++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 22 insertions(+) diff --git a/debian/changelog b/debian/changelog index 561cda7..c577286 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,7 @@ liblas (1.7.0+dfsg-3) UNRELEASED; urgency=low * Add lintian overrides for no symbols file, symbols are problematic for C++ libraries. * Enable verbose build logs. + * Add patch from python-liblas to fix the library search path. -- Bas Couwenberg <sebas...@xs4all.nl> Fri, 31 Jan 2014 01:37:27 +0100 diff --git a/debian/patches/fix_library_search b/debian/patches/fix_library_search new file mode 100644 index 0000000..84aad1a --- /dev/null +++ b/debian/patches/fix_library_search @@ -0,0 +1,20 @@ +From: David Paleino <da...@debian.org> +Subject: fix incorrect usage of ctypes' find_library +Bug-Debian: http://bugs.debian.org/595603 +Bug-Debian: http://bugs.debian.org/595608 +Forwarded: no +Last-Update: 2014-02-03 + +--- a/python/liblas/core.py ++++ b/python/liblas/core.py +@@ -152,8 +152,8 @@ elif os.name == 'posix': + lib_name = 'liblas_c.dylib' + free = ctypes.CDLL(find_library('libc')).free + else: +- lib_name = 'liblas_c.so' +- free = ctypes.CDLL(find_library('libc.so.6')).free ++ lib_name = 'liblas_c.so.2' ++ free = ctypes.CDLL(find_library('c')).free + las = ctypes.CDLL(lib_name) + else: + raise LASException('Unsupported OS "%s"' % os.name) diff --git a/debian/patches/series b/debian/patches/series index 7bc74a3..0ea033b 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ boost soversion +fix_library_search -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/liblas.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel