openbsd-ports/databases/postgresql-pllua/patches/patch-pllua_h
jeremy 8059b804ae Import postgresql-pllua, adding support for the PL/Lua procedural
language to PostgreSQL.

Feedback and OK sthen@
2012-10-10 10:41:36 +00:00

16 lines
453 B
Plaintext

$OpenBSD: patch-pllua_h,v 1.1.1.1 2012/10/10 10:41:36 jeremy Exp $
Recent versions of PostgreSQL require an extra header to get the
Relation struct defintion, and pllua hasn't been updated recently.
--- pllua.h.orig Tue Oct 9 17:32:18 2012
+++ pllua.h Tue Oct 9 17:32:27 2012
@@ -25,6 +25,7 @@
#include <utils/datum.h>
#include <utils/builtins.h>
#include <utils/array.h>
+#include <utils/rel.h>
/* Lua */
#include <lua.h>
#include <lualib.h>