openbsd-ports/databases/mariadb/patches/patch-storage_connect_reldef_cpp

16 lines
416 B
Plaintext

$OpenBSD: patch-storage_connect_reldef_cpp,v 1.9 2017/08/11 19:04:49 sthen Exp $
Index: storage/connect/reldef.cpp
--- storage/connect/reldef.cpp.orig
+++ storage/connect/reldef.cpp
@@ -529,6 +529,10 @@ PTABDEF OEMDEF::GetXdef(PGLOBAL g)
#else // !__WIN__
const char *error = NULL;
+#ifndef RTLD_NOLOAD
+#define RTLD_NOLOAD 0
+#endif
+
#if 0 // Don't know what all this stuff does
Dl_info dl_info;