summaryrefslogtreecommitdiff
path: root/databases/postgresql92/patches/patch-src_pl_plperl_plperl.h
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql92/patches/patch-src_pl_plperl_plperl.h')
-rw-r--r--databases/postgresql92/patches/patch-src_pl_plperl_plperl.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/databases/postgresql92/patches/patch-src_pl_plperl_plperl.h b/databases/postgresql92/patches/patch-src_pl_plperl_plperl.h
index 63d0749fc31..56d5cb59bf2 100644
--- a/databases/postgresql92/patches/patch-src_pl_plperl_plperl.h
+++ b/databases/postgresql92/patches/patch-src_pl_plperl_plperl.h
@@ -1,8 +1,8 @@
-$NetBSD: patch-src_pl_plperl_plperl.h,v 1.1 2012/10/05 21:03:10 adam Exp $
+$NetBSD: patch-src_pl_plperl_plperl.h,v 1.2 2017/08/13 19:25:17 adam Exp $
---- src/pl/plperl/plperl.h.orig 2011-09-22 23:57:57.000000000 +0200
-+++ src/pl/plperl/plperl.h 2011-10-12 20:36:11.783264869 +0200
-@@ -44,12 +44,21 @@
+--- src/pl/plperl/plperl.h.orig 2017-08-07 21:19:50.000000000 +0000
++++ src/pl/plperl/plperl.h
+@@ -44,6 +44,10 @@
#undef vsnprintf
#endif
@@ -11,10 +11,11 @@ $NetBSD: patch-src_pl_plperl_plperl.h,v 1.1 2012/10/05 21:03:10 adam Exp $
+#define list_tail sun_list_tail
+#endif
- /* required for perl API */
- #include "EXTERN.h"
- #include "perl.h"
+ /*
+ * Get the basic Perl API. We use PERL_NO_GET_CONTEXT mode so that our code
+@@ -62,6 +66,11 @@
#include "XSUB.h"
+ #endif
+#ifdef __sun
+#undef list_head