File: no-inplace.patch

package info (click to toggle)
libfilter-perl 1.65-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 668 kB
  • sloc: perl: 963; makefile: 10
file content (35 lines) | stat: -rw-r--r-- 761 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From 85223196280f41efa850b957d63797189d4d4dec Mon Sep 17 00:00:00 2001
From: Colin Watson <cjwatson@debian.org>
Date: Wed, 15 Jan 2014 16:19:49 +0000
Subject: Disable in-place editing in Makefile.PL

Forwarded: no
Last-Update: 2010-05-26

Patch-Name: no-inplace.patch
---
 Makefile.PL | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.PL b/Makefile.PL
index 008f618..752392a 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -127,7 +127,7 @@ release : test dist
 
 sub oldWarnings
 {
-    local ($^I) = ".bak" ;
+    local ($^I) = "" ;
     local (@ARGV) = @_ ;
 
     while (<>)
@@ -151,7 +151,7 @@ sub oldWarnings
 
 sub newWarnings
 {
-    local ($^I) = ".bak" ;
+    local ($^I) = "" ;
     local (@ARGV) = @_ ;
 
     while (<>)