File 0001-Fix-bug-7367-Don-t-assume-cwd-.-is-in-INC-it-may-be-.patch of Package spamassassin.7584

From 353ba0d96670e80fca1b78369d1701e1cad2bfaf Mon Sep 17 00:00:00 2001
From: John Hardin <jhardin@apache.org>
Date: Mon, 13 Feb 2017 02:16:44 +0000
Subject: [PATCH 1/1] Fix bug#7367: Don't assume cwd (".") is in @INC, it may
 be removed for security reasons - see CVE-2016-1238

git-svn-id: https://svn.apache.org/repos/asf/spamassassin/branches/3.4@1782717 13f79535-47bb-0310-9956-ffa450edef68
---
 spamc/configure.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spamc/configure.pl b/spamc/configure.pl
index 0f10f3010..c6f67f208 100755
--- a/spamc/configure.pl
+++ b/spamc/configure.pl
@@ -66,7 +66,7 @@ print join(' ', $Config{'perlpath'}, "version.h.pl") . "\n";
   # Do the same thing as for the preprocessor below.
   package version_h;
   my $Z = $0;
-  local $0    = "version.h.pl";
+  local $0    = "./version.h.pl";
   local @ARGV = ();
   # Got to check for defined because the script returns shell error level!
   unless (defined do $0) {
-- 
2.13.5

openSUSE Build Service is sponsored by