diff --git a/perl-5.8.6-CGI-3.1.0.patch b/perl-5.8.6-CGI-3.1.0.patch
new file mode 100644
index 0000000..baba563
--- /dev/null
+++ b/perl-5.8.6-CGI-3.1.0.patch
@@ -0,0 +1,142 @@
+https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=158036
+
+diff -ruN perl-5.8.6-cgi308/lib/CGI/t/form.t perl-5.8.6-cgi310/lib/CGI/t/form.t
+--- perl-5.8.6-cgi308/lib/CGI/t/form.t 2005-05-15 01:20:29.910116896 +0100
++++ perl-5.8.6-cgi310/lib/CGI/t/form.t 2005-05-05 21:14:56.000000000 +0100
+@@ -33,43 +33,43 @@
+ "start_form()");
+
+ is(submit(),
+- qq(),
++ qq(),
+ "submit()");
+
+ is(submit(-name => 'foo',
+ -value => 'bar'),
+- qq(),
++ qq(),
+ "submit(-name,-value)");
+
+ is(submit({-name => 'foo',
+ -value => 'bar'}),
+- qq(),
++ qq(),
+ "submit({-name,-value})");
+
+ is(textfield(-name => 'weather'),
+- qq(),
++ qq(),
+ "textfield({-name})");
+
+ is(textfield(-name => 'weather',
+ -value => 'nice'),
+- qq(),
++ qq(),
+ "textfield({-name,-value})");
+
+ is(textfield(-name => 'weather',
+ -value => 'nice',
+ -override => 1),
+- qq(),
++ qq(),
+ "textfield({-name,-value,-override})");
+
+ is(checkbox(-name => 'weather',
+ -value => 'nice'),
+- qq(),
++ qq(),
+ "checkbox()");
+
+ is(checkbox(-name => 'weather',
+ -value => 'nice',
+ -label => 'forecast'),
+- qq(),
++ qq(),
+ "checkbox()");
+
+ is(checkbox(-name => 'weather',
+@@ -77,41 +77,41 @@
+ -label => 'forecast',
+ -checked => 1,
+ -override => 1),
+- qq(),
++ qq(),
+ "checkbox()");
+
+ is(checkbox(-name => 'weather',
+ -value => 'dull',
+ -label => 'forecast'),
+- qq(),
++ qq(),
+ "checkbox()");
+
+ is(radio_group(-name => 'game'),
+- qq( ),
++ qq( ),
+ 'radio_group()');
+
+ is(radio_group(-name => 'game',
+ -labels => {'chess' => 'ping pong'}),
+- qq( ),
++ qq( ),
+ 'radio_group()');
+
+ is(checkbox_group(-name => 'game',
+ -Values => [qw/checkers chess cribbage/]),
+- qq( ),
++ qq( ),
+ 'checkbox_group()');
+
+ is(checkbox_group(-name => 'game',
+ '-values' => [qw/checkers chess cribbage/],
+ '-defaults' => ['cribbage'],
+ -override=>1),
+- qq( ),
++ qq( ),
+ 'checkbox_group()');
+
+ is(popup_menu(-name => 'game',
+ '-values' => [qw/checkers chess cribbage/],
+ -default => 'cribbage',
+ -override => 1),
+- '