$OpenBSD: patch-plv8_func_cc,v 1.2 2017/05/29 15:38:20 espie Exp $

https://code.google.com/p/plv8js/source/detail?r=0bf77f3c5e2ee7d47da426b1963cd887b97e7d61&name=r1.4

Index: plv8_func.cc
--- plv8_func.cc.orig
+++ plv8_func.cc
@@ -8,6 +8,7 @@
 #include "plv8.h"
 #include "plv8_param.h"
 #include <sstream>
+#include <math.h>
 
 extern "C" {
 #define delete		delete_
@@ -518,7 +519,11 @@ plv8_Prepare(const Arguments &args)
 		CString			typestr(array->Get(i));
 		int32			typemod;
 
+#if PG_VERSION_NUM >= 90400
+		parseTypeString(typestr, &types[i], &typemod, false);
+#else
 		parseTypeString(typestr, &types[i], &typemod);
+#endif
 	}
 
 	PG_TRY();
