1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 23:52:33 +00:00
nixpkgs/pkgs/development/perl-modules/Socket6-sv_undef.patch
Marius Bergmann 4d7da18f5c perlPackages.Socket6: fix sv_undef compilation error
Socket6.xs redefines `PV_sv_undef`, which breaks compilation from
306d5cdf03 ("perlPackages: Add cross-compilation support."). I added a patch
to remove this redefinition. Compilation is now working again.
2018-04-14 18:00:35 +02:00

19 lines
336 B
Diff

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