[libnet-ident-perl] 01/01: Drop obsolete export-hooks.patch

Florian Schlichting fsfs at moszumanska.debian.org
Wed Sep 9 11:34:32 UTC 2015


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

fsfs pushed a commit to branch master
in repository libnet-ident-perl.

commit 4cd8c03ff9605c841c1281a8450d504f93218a7c
Author: Florian Schlichting <fsfs at debian.org>
Date:   Wed Sep 9 13:30:16 2015 +0200

    Drop obsolete export-hooks.patch
    
    - the first hunk is unnecessary since the sub was moved above its first
      use sometime in 2010
    
    - the remaining hunks enable exporting of _export_hook_fh() as a
      compatibility measure, plus POD documentation, and can be replaced by
      calling dh_auto_configure with the --force-compat option
---
 debian/changelog                  |  6 ++++
 debian/patches/export-hooks.patch | 59 ---------------------------------------
 debian/patches/series             |  1 -
 debian/rules                      |  3 ++
 4 files changed, 9 insertions(+), 60 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5ffdc8b..959bd6c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libnet-ident-perl (1.24-2) UNRELEASED; urgency=medium
+
+  * Drop obsolete export-hooks.patch
+
+ -- Florian Schlichting <fsfs at debian.org>  Wed, 09 Sep 2015 13:24:18 +0200
+
 libnet-ident-perl (1.24-1) unstable; urgency=low
 
   * Team upload
diff --git a/debian/patches/export-hooks.patch b/debian/patches/export-hooks.patch
deleted file mode 100644
index 1cb6363..0000000
--- a/debian/patches/export-hooks.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-Description: Fix _export_hooks called to early to check prototype message.
-Bug-Debian: http://bugs.debian.org/320137
-Forwarded: no
-Author: Don Armstrong <don at debian.org>
-Origin: vendor
-Reviewed-by: gregor herrmann <gregoa at debian.org>
-Last-Update: 2010-06-21
-
---- a/Ident.pm
-+++ b/Ident.pm
-@@ -24,7 +24,7 @@
- );
- 
- # provide import magic
--sub _export_hooks () {
-+sub _export_hooks {
-     my ( $tag, $hook );
-     while ( ( $tag, $hook ) = each %EXPORT_HOOKS ) {
-         my $hookname = "_export_hook_$tag";    # pseudo-function name
-@@ -38,7 +38,7 @@
- _export_hooks();
- 
- # for compatibility mode, uncomment the next line @@ s/^#\s*// @@
--# @EXPORT = qw(_export_hook_fh);
-+ at EXPORT = qw(_export_hook_fh);
- 
- $VERSION = "1.24";
- 
-@@ -705,18 +705,18 @@
- # add a paragraph about compatibility mode if appropriate. The non-breaking
- # spaces are to force a new paragraph.
- # @@12 s/^#// @@
--#
--#=pod
--#
--#S< >
--#
--#Adding the B<ident_lookup> method to the B<FileHandle> class used to be
--#automatic in previous version of B<Net::Ident>. During the installation
--#of this B<Net::Ident> package, the system administrator choose to install
--#it in a compatible way, meaning that on this machine, the B<ident_lookup>
--#method is automatically added if you use just C<use Net::Ident;>
--#
--#=cut
-+
-+=pod
-+
-+S< >
-+
-+Adding the B<ident_lookup> method to the B<FileHandle> class used to be
-+automatic in previous version of B<Net::Ident>. During the installation
-+of this B<Net::Ident> package, the system administrator choose to install
-+it in a compatible way, meaning that on this machine, the B<ident_lookup>
-+method is automatically added if you use just C<use Net::Ident;>
-+
-+=cut
- # end of extra paragraph
- 
- =pod
diff --git a/debian/patches/series b/debian/patches/series
index b50bd2c..9348709 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,2 @@
-export-hooks.patch
 makefile_mod-perl.patch
 spelling.patch
diff --git a/debian/rules b/debian/rules
index 2d33f6a..7e754cb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,6 @@
 
 %:
 	dh $@
+
+override_dh_auto_configure:
+	dh_auto_configure -- --force-compat

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



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