openbsd-ports/databases/ocaml-sqlite3/patches/patch-lib_sqlite3_stubs_c
avsm a3df9fb951 * bump version to 2.0.2
* use OASIS build system
* remove obsolete patches
* enable regression tests
From: Christopher Zimmermann <madroach@gmerlin.de>
2012-08-18 21:57:24 +00:00

13 lines
398 B
Plaintext

$OpenBSD: patch-lib_sqlite3_stubs_c,v 1.1 2012/08/18 21:57:24 avsm Exp $
--- lib/sqlite3_stubs.c.orig Sat Aug 4 09:27:17 2012
+++ lib/sqlite3_stubs.c Sat Aug 4 09:27:23 2012
@@ -40,7 +40,7 @@
#if __GNUC__ >= 3
# define inline inline __attribute__ ((always_inline))
-# if !defined(__FreeBSD__) && !__APPLE__
+# if !defined(__unused)
# define __unused __attribute__ ((unused))
# endif
#else