Package: python-apsw
Version: 3.6.19-r1-1
Severity: normal
Tags: patch

--- Please enter the report below this line. ---
>From version 3.6.19-r1 SQLite extension loading is disabled by default
when build using an existing library [1] (which I assume is the case for
Debian). It should be enabled, to have the same behaviour as with
previous versions.

You only need to add --enable=load_extension at build time. Patch is
attached.

[1] http://apsw.googlecode.com/svn/publish/changes.html#id2

Cheers,
  Volker

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.30-1-amd64

Debian Release: squeeze/sid
  500 stable          dl.google.com
  500 squeeze         packages.enlightenment.org
  500 hardy           ppa.launchpad.net
  450 testing         www.debian-multimedia.org
  450 testing         security.debian.org
  450 testing         ftp.uni-augsburg.de
  400 unstable        www.emdebian.org
  400 unstable        ftp.uni-augsburg.de
  400 unstable        emacs.orebokech.com
  400 unstable        deb.unknown-horizons.org
    1 experimental    ftp-stud.fht-esslingen.de

--- Package information. ---
Depends              (Version) | Installed
==============================-+-============
libc6               (>= 2.2.5) | 2.10.1-5
libsqlite3-0       (>= 3.6.19) | 3.6.19-3
python                (<< 2.7) | 2.5.4-3
python                (>= 2.5) | 2.5.4-3
python-central     (>= 0.6.11) | 0.6.13
libjs-jquery                   | 1.3.3-2


Package's Recommends field is empty.

Package's Suggests field is empty.



--- ../../apsw2/python-apsw-3.6.19-r1/debian/rules	2009-11-22 22:15:46.000000000 +0100
+++ debian/rules	2009-11-22 22:35:47.000000000 +0100
@@ -12,12 +12,12 @@
 
 build-ext-%-stamp:
 	dh_testdir
-	$* setup.py build -g
+	$* setup.py build -g --enable=load_extension
 	touch $@
 
 dbg-build-ext-%-stamp:
 	dh_testdir
-	$*-dbg setup.py build -g
+	$*-dbg setup.py build -g --enable=load_extension
 	touch $@
 
 clean:

Reply via email to