diff options
author | drochner <drochner@pkgsrc.org> | 2011-05-11 14:48:28 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2011-05-11 14:48:28 +0000 |
commit | bc56d43a68c3aa1f36653928a1cd17f6546f6421 (patch) | |
tree | 86abddea179c61ddeaf4fb0813f98636b844f6ea | |
parent | c6dc99bbb269ad6e105c21bed3969610ede62602 (diff) | |
download | pkgsrc-bc56d43a68c3aa1f36653928a1cd17f6546f6421.tar.gz |
fix the sqlite3-3.7.6 function pointer bug which caused crashes
on amd64
-rw-r--r-- | devel/fossil/distinfo | 3 | ||||
-rw-r--r-- | devel/fossil/patches/patch-aa | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/fossil/distinfo b/devel/fossil/distinfo index 5630cb47225..4ecd90e82a7 100644 --- a/devel/fossil/distinfo +++ b/devel/fossil/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.10 2011/05/11 14:15:28 joerg Exp $ +$NetBSD: distinfo,v 1.11 2011/05/11 14:48:28 drochner Exp $ SHA1 (fossil-src-20110413120518.tar.gz) = 1e52a0721b3ecf549ed020bb710a4a4b0ef06518 RMD160 (fossil-src-20110413120518.tar.gz) = acd107e42e5eda4c7632db517e6fa8096cbf6351 Size (fossil-src-20110413120518.tar.gz) = 2279032 bytes +SHA1 (patch-aa) = f21d1bc1a271b810b65a93bd4b2b96a1c57d19d5 diff --git a/devel/fossil/patches/patch-aa b/devel/fossil/patches/patch-aa new file mode 100644 index 00000000000..9cdc1f85b26 --- /dev/null +++ b/devel/fossil/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2011/05/11 14:48:28 drochner Exp $ + +--- src/sqlite3.c.orig 2011-04-13 12:12:12.000000000 +0000 ++++ src/sqlite3.c +@@ -24413,7 +24413,7 @@ static struct unix_syscall { + sqlite3_syscall_ptr pDefault; /* Default value */ + } aSyscall[] = { + { "open", (sqlite3_syscall_ptr)open, 0 }, +-#define osOpen ((int(*)(const char*,int,int))aSyscall[0].pCurrent) ++#define osOpen ((int(*)(const char*,int,...))aSyscall[0].pCurrent) + + { "close", (sqlite3_syscall_ptr)close, 0 }, + #define osClose ((int(*)(int))aSyscall[1].pCurrent) |