[libperl-critic-perl] 06/07: Drop 0001-Don-t-use-obsolete-make-local-hook-function.patch patch

Salvatore Bonaccorso carnil at debian.org
Mon Aug 25 09:14:40 UTC 2014


This is an automated email from the git hooks/post-receive script.

carnil pushed a commit to branch master
in repository libperl-critic-perl.

commit a3ba1321c53cefdfbaf41913c92e282a419c625e
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Mon Aug 25 11:13:32 2014 +0200

    Drop 0001-Don-t-use-obsolete-make-local-hook-function.patch patch
---
 ...n-t-use-obsolete-make-local-hook-function.patch | 30 ----------------------
 debian/patches/series                              |  1 -
 2 files changed, 31 deletions(-)

diff --git a/debian/patches/0001-Don-t-use-obsolete-make-local-hook-function.patch b/debian/patches/0001-Don-t-use-obsolete-make-local-hook-function.patch
deleted file mode 100644
index 9d1ab39..0000000
--- a/debian/patches/0001-Don-t-use-obsolete-make-local-hook-function.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Description: Don't use obsolete make-local-hook function.
-Origin: vendor
-Bug: https://rt.cpan.org/Ticket/Display.html?id=77693
-Bug-Debian: http://bugs.debian.org/641514
-Forwarded: https://github.com/Perl-Critic/Perl-Critic/issues/556
-Author: intrigeri <intrigeri at debian.org>
-Last-Update: 2012-06-07
-
-Instead, pass a non-nil value to the `LOCAL' argument of add-hook,
-which has been nicely replacing the need to run make-local-hook since
-Emacs 21.1.
----
- extras/perlcritic.el |    3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/extras/perlcritic.el b/extras/perlcritic.el
-index e1b74a7..570b9c7 100644
---- a/extras/perlcritic.el
-+++ b/extras/perlcritic.el
-@@ -658,9 +658,8 @@ require that the perl document exist in a file anywhere."
- 			  ;; Set it.
- 			  (> (prefix-numeric-value arg) 0)))
- 
--  (make-local-hook 'write-file-hooks)
-   (if perlcritic-mode
--      (add-hook 'write-file-hooks 'perlcritic-write-hook)
-+      (add-hook 'write-file-hooks 'perlcritic-write-hook nil "local")
-     (remove-hook 'write-file-hooks 'perlcritic-write-hook)))
- 
- ;; Make a nice name for perl critic mode. This string will appear at
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index ea7148c..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-0001-Don-t-use-obsolete-make-local-hook-function.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libperl-critic-perl.git



More information about the Pkg-perl-cvs-commits mailing list