summary refs log tree commit diff
path: root/pkgs/development/perl-modules/Socket6-sv_undef.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/perl-modules/Socket6-sv_undef.patch')
-rw-r--r--pkgs/development/perl-modules/Socket6-sv_undef.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/perl-modules/Socket6-sv_undef.patch b/pkgs/development/perl-modules/Socket6-sv_undef.patch
new file mode 100644
index 000000000000..3ed4b61b6d3e
--- /dev/null
+++ b/pkgs/development/perl-modules/Socket6-sv_undef.patch
@@ -0,0 +1,18 @@
+diff --git a/Socket6.xs b/Socket6.xs
+index 05c791c..058e9d9 100644
+--- a/Socket6.xs
++++ b/Socket6.xs
+@@ -105,10 +105,6 @@ const struct in6_addr in6addr_loopback = IN6ADDR_LOOPBACK_INIT;
+ #define	HAVE_INET_PTON		1
+ #endif
+ 
+-#ifndef HAVE_PL_SV_UNDEF
+-#define	PL_sv_undef		sv_undef
+-#endif
+-
+ static int
+ not_here(char *s)
+ {
+-- 
+2.16.3
+