aboutsummaryrefslogtreecommitdiff
path: root/ftp/ftpmirror/files
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/ftpmirror/files')
-rw-r--r--ftp/ftpmirror/files/patch-FTP.pm6
-rw-r--r--ftp/ftpmirror/files/patch-TCP.pm6
2 files changed, 6 insertions, 6 deletions
diff --git a/ftp/ftpmirror/files/patch-FTP.pm b/ftp/ftpmirror/files/patch-FTP.pm
index dd580e099080..fb8e8448105f 100644
--- a/ftp/ftpmirror/files/patch-FTP.pm
+++ b/ftp/ftpmirror/files/patch-FTP.pm
@@ -10,9 +10,9 @@ diff -u -r1.1.1.2 -r1.6
use Carp;
use Socket;
-+BEGIN {
-+ eval 'use Socket6' unless (eval '&AF_INET6'); # IPv6 patched Perl
-+}
++
++use Socket6;
++
use Fan::TCP;
use AutoLoader 'AUTOLOAD';
diff --git a/ftp/ftpmirror/files/patch-TCP.pm b/ftp/ftpmirror/files/patch-TCP.pm
index 35eb097270da..d8ed2c572d39 100644
--- a/ftp/ftpmirror/files/patch-TCP.pm
+++ b/ftp/ftpmirror/files/patch-TCP.pm
@@ -16,9 +16,9 @@ diff -u -r1.1.1.1 -r1.12
use Carp;
use Socket;
-+BEGIN {
-+ eval 'use Socket6' unless (eval '&AF_INET6'); # IPv6 patched Perl
-+}
++
++use Socket6;
++
use AutoLoader 'AUTOLOAD';
$VERSION = '0.03';