aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2003-11-14 22:44:16 +0800
committerbms <bms@FreeBSD.org>2003-11-14 22:44:16 +0800
commitdfa3cae9294b3a9cb7311d4d4a2e5d2313d34902 (patch)
tree0b5c6786b84bac1e5a338bfae884f0a38990dea5
parentb3042cbc6d0afb0f846f54190a44f1e3a43dbd9e (diff)
downloadfreebsd-ports-gnome-dfa3cae9294b3a9cb7311d4d4a2e5d2313d34902.tar.gz
freebsd-ports-gnome-dfa3cae9294b3a9cb7311d4d4a2e5d2313d34902.tar.zst
freebsd-ports-gnome-dfa3cae9294b3a9cb7311d4d4a2e5d2313d34902.zip
Fix build against sqlite-2.8.6
Noticed by: kris
-rw-r--r--devel/cvstrac/files/patch-db.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/cvstrac/files/patch-db.c b/devel/cvstrac/files/patch-db.c
new file mode 100644
index 000000000000..851bf2d741e9
--- /dev/null
+++ b/devel/cvstrac/files/patch-db.c
@@ -0,0 +1,15 @@
+--- db.c.orig Fri Nov 14 14:41:27 2003
++++ db.c Fri Nov 14 14:41:35 2003
+@@ -32,12 +32,6 @@
+ #include "db.h"
+
+ /*
+-** This function is not an official part of the SQLite API and does
+-** not appear in <sqlite.h>. So we have to supply our own prototype.
+-*/
+-extern char *sqlite_vmprintf(const char *, ...);
+-
+-/*
+ ** The following is the handle to the open database.
+ */
+ static sqlite *pDb = 0;