82d6fe9326
2012-07-20: Downgraded findlib version requirement to support the Debian testing branch. 2012-07-16: Replaced String.trim function in myocamlbuild.ml to allow compiling with OCaml 3.12.1. 2012-07-15: New major release version 2.0.0: * Upgraded to OCaml 4.00 * Switched to Oasis for packaging * Switched to OCamlBuild for the build process * Rewrote README in Markdown * Added stricter compilation flags 2012-05-19: Fixed cpp warnings and removed superfluous check for dynamic linking library. The latter improves portability to FreeBSD. 2011-03-10: Added sqlite3_open_v2 functionality. There are also some changes to the package itself: the upstream distribution site changed; the maintainer e-mail address as well, and the package now uses PLIST_VARS.
14 lines
484 B
C
14 lines
484 B
C
$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
|