openbsd-ports/databases/virtuoso/patches/patch-libsrc_Wi_bif_file_c
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
420 B
Plaintext

$OpenBSD: patch-libsrc_Wi_bif_file_c,v 1.1.1.1 2013/04/22 17:32:31 zhuk Exp $
--- libsrc/Wi/bif_file.c.orig Thu Mar 8 20:17:27 2012
+++ libsrc/Wi/bif_file.c Wed Jul 4 00:54:35 2012
@@ -6195,7 +6195,7 @@ signal_error:
}
-#if defined(__APPLE__) || defined(__FreeBSD__)
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__)
#define fseeko64 fseeko
#define ftello64 ftello
#define fopen64 fopen