summaryrefslogtreecommitdiff
path: root/debian/patches/10-665363-disable-malloc-usable-size.patch
diff options
context:
space:
mode:
authorHans-Christoph Steiner <hans@eds.org>2013-01-17 14:06:04 -0500
committerHans-Christoph Steiner <hans@eds.org>2013-01-17 14:06:04 -0500
commit33384d6735f226cbdb188b00470a9789fdadf95b (patch)
tree3c898f61ab6e1301cf6a12018434c428389dcbe6 /debian/patches/10-665363-disable-malloc-usable-size.patch
parentadc143e8c1ef17a7345506e97298e8619902d747 (diff)
grab all relevant patches from sqlite3 3.7.15.2-1
Diffstat (limited to 'debian/patches/10-665363-disable-malloc-usable-size.patch')
-rw-r--r--debian/patches/10-665363-disable-malloc-usable-size.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/10-665363-disable-malloc-usable-size.patch b/debian/patches/10-665363-disable-malloc-usable-size.patch
new file mode 100644
index 0000000..6d6f49d
--- /dev/null
+++ b/debian/patches/10-665363-disable-malloc-usable-size.patch
@@ -0,0 +1,17 @@
+Description: Disable malloc_usable_size
+ Disable code introduced in sqlite 3.7.10 using malloc_usable_size, as it caused
+ a regression on 64-bit platforms.
+Author: Steven Chamberlain <steven@pyro.eu.org>
+Bug-Debian: http://bugs.debian.org/665363
+
+--- sqlite3-3.7.11.orig/configure.ac
++++ sqlite3-3.7.11/configure.ac
+@@ -127,7 +127,7 @@
+ #########
+ # Figure out whether or not we have these functions
+ #
+-AC_CHECK_FUNCS([usleep fdatasync localtime_r gmtime_r localtime_s utime malloc_usable_size])
++AC_CHECK_FUNCS([usleep fdatasync localtime_r gmtime_r localtime_s utime])
+
+ #########
+ # By default, we use the amalgamation (this may be changed below...)