summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kalika <max@gentoo.org>2003-09-11 04:03:04 +0000
committerMax Kalika <max@gentoo.org>2003-09-11 04:03:04 +0000
commit955369969a0fe5322e31e6bbba1727d766b6137e (patch)
tree312092a56dc99e471c99a4a122d38b6bfd0e275f /dev-perl/DateManip
parenttemporarily remove patch (need to add with -ko) (diff)
downloadhistorical-955369969a0fe5322e31e6bbba1727d766b6137e.tar.gz
historical-955369969a0fe5322e31e6bbba1727d766b6137e.tar.bz2
historical-955369969a0fe5322e31e6bbba1727d766b6137e.zip
Readd patch with -ko so cvs doesn't b0rk it.
Diffstat (limited to 'dev-perl/DateManip')
-rw-r--r--dev-perl/DateManip/Manifest2
-rw-r--r--dev-perl/DateManip/files/safe-taint-check.patch11
2 files changed, 12 insertions, 1 deletions
diff --git a/dev-perl/DateManip/Manifest b/dev-perl/DateManip/Manifest
index 5139967732e9..a29d77cabae9 100644
--- a/dev-perl/DateManip/Manifest
+++ b/dev-perl/DateManip/Manifest
@@ -3,7 +3,7 @@ MD5 959a31ee6a00c6087a92e5f01a0a0d88 DateManip-5.40-r2.ebuild 530
MD5 a819f1108bc4ecba8f98310b4afd0fb0 DateManip-5.42a-r1.ebuild 626
MD5 ad3f04365cc3cbd00f13d945d55e0729 DateManip-5.40-r1.ebuild 531
MD5 bd18fddafe8cc559ad9e09324ad15a35 ChangeLog 1440
-MD5 08140a369b2d673109f444a4dedaa76f files/safe-taint-check.patch 417
+MD5 899138d091887a114e3a4aad538fde66 files/safe-taint-check.patch 442
MD5 1e6dcaf09bd89529c34b328fe8af367a files/digest-DateManip-5.42a 67
MD5 1e6dcaf09bd89529c34b328fe8af367a files/digest-DateManip-5.42a-r1 67
MD5 da5d37b0884ae3bac465d6a57f09c6d4 files/digest-DateManip-5.40-r1 66
diff --git a/dev-perl/DateManip/files/safe-taint-check.patch b/dev-perl/DateManip/files/safe-taint-check.patch
new file mode 100644
index 000000000000..387222365413
--- /dev/null
+++ b/dev-perl/DateManip/files/safe-taint-check.patch
@@ -0,0 +1,11 @@
+--- /tmp/Manip.pm 2003-09-09 18:20:31.000000000 -0700
++++ Manip.pm 2003-09-09 19:21:49.000000000 -0700
+@@ -32,7 +32,7 @@
+ $^O =~ /VMS/i);
+
+ # Determine if we're doing taint checking
+-$Date::Manip::NoTaint = eval { local $^W; unlink "$^X$^T"; 1 };
++$Date::Manip::NoTaint = eval { local $^W; eval("#" . substr($^X, 0, 0)); 1 };
+
+ ###########################################################################
+ # CUSTOMIZATION