Author: dapal Date: 2010-09-12 08:53:10 +0000 (Sun, 12 Sep 2010) New Revision: 2923
Added: packages/python-liblas/trunk/debian/patches/00-fix_library_search.patch Modified: packages/python-liblas/trunk/debian/changelog packages/python-liblas/trunk/debian/patches/series Log: debian/patches/00-fix_library_search.patch added, fix code looking for system libraries. (Closes: #595603, #595608) Modified: packages/python-liblas/trunk/debian/changelog =================================================================== --- packages/python-liblas/trunk/debian/changelog 2010-09-12 08:50:53 UTC (rev 2922) +++ packages/python-liblas/trunk/debian/changelog 2010-09-12 08:53:10 UTC (rev 2923) @@ -2,8 +2,10 @@ * debian/control: - added myself to Uploaders + * debian/patches/00-fix_library_search.patch added, fix code looking + for system libraries. (Closes: #595603, #595608) - -- David Paleino <da...@debian.org> Sun, 05 Sep 2010 19:14:13 +0200 + -- David Paleino <da...@debian.org> Sun, 12 Sep 2010 10:50:54 +0200 python-liblas (1.2.1-1) unstable; urgency=low Added: packages/python-liblas/trunk/debian/patches/00-fix_library_search.patch =================================================================== --- packages/python-liblas/trunk/debian/patches/00-fix_library_search.patch (rev 0) +++ packages/python-liblas/trunk/debian/patches/00-fix_library_search.patch 2010-09-12 08:53:10 UTC (rev 2923) @@ -0,0 +1,23 @@ +From: David Paleino <da...@debian.org> +Subject: fix incorrect usage of ctypes' find_library +Bug-Debian: http://bugs.debian.org/595603 + http://bugs.debian.org/595608 +Forwarded: no + +--- + build-tree/libLAS-1.2.1/liblas/core.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- a/liblas/core.py ++++ b/liblas/core.py +@@ -131,8 +131,8 @@ elif os.name == 'posix': + lib_name = 'liblas.dylib' + free = ctypes.CDLL(find_library('libc')).free + else: +- lib_name = 'liblas.so' +- free = ctypes.CDLL(find_library('libc.so.6')).free ++ lib_name = 'liblas.so.1' ++ free = ctypes.CDLL(find_library('c')).free + las = ctypes.CDLL(lib_name) + else: + raise LASException('Unsupported OS "%s"' % os.name) Modified: packages/python-liblas/trunk/debian/patches/series =================================================================== --- packages/python-liblas/trunk/debian/patches/series 2010-09-12 08:50:53 UTC (rev 2922) +++ packages/python-liblas/trunk/debian/patches/series 2010-09-12 08:53:10 UTC (rev 2923) @@ -1 +1 @@ -# no patches currently +00-fix_library_search.patch _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel