summaryrefslogtreecommitdiffstats
path: root/debian/patches/10-665363-disable-malloc-usable-size.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 14:07:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 14:07:13 +0000
commitf7306ad5fe007b53bff4380cec48596da36d27c0 (patch)
tree8bbc3e3997ed07ffe94de91e483975424c534e53 /debian/patches/10-665363-disable-malloc-usable-size.patch
parentAdding upstream version 3.45.1. (diff)
downloadsqlite3-f7306ad5fe007b53bff4380cec48596da36d27c0.tar.xz
sqlite3-f7306ad5fe007b53bff4380cec48596da36d27c0.zip
Adding debian version 3.45.1-1.debian/3.45.1-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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..a4371ff
--- /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
+@@ -108,7 +108,7 @@ AC_CHECK_HEADERS([sys/types.h stdlib.h s
+ #########
+ # Figure out whether or not we have these functions
+ #
+-AC_CHECK_FUNCS([fdatasync gmtime_r isnan localtime_r localtime_s malloc_usable_size strchrnul usleep utime pread pread64 pwrite pwrite64])
++AC_CHECK_FUNCS([fdatasync gmtime_r isnan localtime_r localtime_s strchrnul usleep utime pread pread64 pwrite pwrite64])
+
+ #########
+ # By default, we use the amalgamation (this may be changed below...)