summaryrefslogtreecommitdiff
path: root/databases/ocaml-sqlite3/files
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-03-27 01:14:25 +0000
committerJohn Marino <marino@FreeBSD.org>2014-03-27 01:14:25 +0000
commit999946259f539233794e1cfd894df08f434ee83f (patch)
treeb6d8420948aabd50b1b66d313fb1e2e67986c200 /databases/ocaml-sqlite3/files
parent- Switch to USES=cmake (diff)
databases/ocaml-sqlite3: Upgrade from 1.6.1 -> 2.0.4 and stage
The referenced PR was implemented, and then augmented with stage support from pkgsrc. The unique license was also documented. PR: ports/176067 Submitted by: maintainer (Jaap Boender) Stage support: Taken from pkgsrc
Notes
Notes: svn path=/head/; revision=349313
Diffstat (limited to 'databases/ocaml-sqlite3/files')
-rw-r--r--databases/ocaml-sqlite3/files/patch-configure.ac11
-rw-r--r--databases/ocaml-sqlite3/files/patch-lib_sqlite3_stubs.c14
2 files changed, 14 insertions, 11 deletions
diff --git a/databases/ocaml-sqlite3/files/patch-configure.ac b/databases/ocaml-sqlite3/files/patch-configure.ac
deleted file mode 100644
index 42997a1ab394..000000000000
--- a/databases/ocaml-sqlite3/files/patch-configure.ac
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.ac.orig 2011-12-17 13:30:46.622160436 +0100
-+++ configure.ac 2011-12-17 13:30:56.046163766 +0100
-@@ -26,7 +26,7 @@
- AC_CHECKING(for sqlite3 library)
- AC_CHECK_LIB(
- sqlite3, sqlite3_open,,
-- AC_ERROR([SQLite is required. See the --with-sqlite3 configure option.]), -ldl)
-+ AC_ERROR([SQLite is required. See the --with-sqlite3 configure option.]))
-
- AC_CHECKING(for Sqlite header files)
- AC_CHECK_HEADER(sqlite3.h,,
diff --git a/databases/ocaml-sqlite3/files/patch-lib_sqlite3_stubs.c b/databases/ocaml-sqlite3/files/patch-lib_sqlite3_stubs.c
new file mode 100644
index 000000000000..13e5a349c5c9
--- /dev/null
+++ b/databases/ocaml-sqlite3/files/patch-lib_sqlite3_stubs.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-lib_sqlite3_stubs.c,v 1.1 2012/09/16 11:34:46 jaapb Exp $
+
+Correct system-dependent defines
+--- lib/sqlite3_stubs.c.orig 2012-07-20 15:39:49.000000000 +0000
++++ lib/sqlite3_stubs.c
+@@ -40,7 +40,7 @@
+
+ #if __GNUC__ >= 3
+ # define inline inline __attribute__ ((always_inline))
+-# if !defined(__FreeBSD__) && !__APPLE__
++# if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly) && !__APPLE__
+ # define __unused __attribute__ ((unused))
+ # endif
+ #else