openbsd-ports/databases/virtuoso/patches/patch-libsrc_plugin_dlf_h
zhuk ebb3091571 Import Virtuoso. Needed by Soprano (for tests) and for KDE 4 (Nepomuk).
Virtuoso is a high-performance object-relational SQL database. As
a database, it provides transactions, a smart SQL compiler, powerful
stored-procedure language with optional Java and .Net server-side
hosting, hot backup, SQL-99 support and more. It has all major
data-access interfaces, such as ODBC, JDBC, ADO .Net and OLE/DB.

"I looked at virtuoso and it gave me too much headaches.
Import it then (and polish in-tree)" landry@
2013-04-22 17:32:31 +00:00

13 lines
455 B
Plaintext

$OpenBSD: patch-libsrc_plugin_dlf_h,v 1.1.1.1 2013/04/22 17:32:31 zhuk Exp $
--- libsrc/plugin/dlf.h.orig Fri Sep 9 05:23:33 2011
+++ libsrc/plugin/dlf.h Fri Sep 9 05:23:51 2011
@@ -44,7 +44,7 @@
#endif /* defined (__APPLE_) */
/* dlopen stuff */
-#if defined(HAVE_LIBDL) || defined(__FreeBSD__)
+#if defined(HAVE_LIBDL) || defined(__FreeBSD__) || defined(__OpenBSD__)
#define DLDAPI_SVR4_DLFCN
#elif defined(HAVE_SHL_LOAD)
#define DLDAPI_HP_SHL