[libev-perl] 01/03: drop "alternative" hand-crufted multiarch patch

gregor herrmann gregoa at debian.org
Wed Aug 7 15:57:14 UTC 2013


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

gregoa pushed a commit to branch master
in repository libev-perl.

commit e690fb1abc188a8349b34b16c0b65a50f3c7655b
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Aug 7 17:23:01 2013 +0200

    drop "alternative" hand-crufted multiarch patch
    
    Git-Dch: Ignore
---
 debian/patches/multiarch-paths.patch |   56 ----------------------------------
 debian/patches/series                |    3 --
 2 files changed, 59 deletions(-)

diff --git a/debian/patches/multiarch-paths.patch b/debian/patches/multiarch-paths.patch
deleted file mode 100644
index 7d1a7ca..0000000
--- a/debian/patches/multiarch-paths.patch
+++ /dev/null
@@ -1,56 +0,0 @@
---- a/Makefile.PL
-+++ b/Makefile.PL
-@@ -129,7 +129,7 @@
- 
- EOF
- 
--my $can_epoll = -e "/usr/include/sys/epoll.h";
-+my $can_epoll = findheader( "sys/epoll.h" );
- $can_epoll = $ENV{EV_EPOLL} if exists $ENV{EV_EPOLL};
- $DEFINE .= " -DEV_USE_EPOLL=" . (0 + (prompt ("Enable epoll backend (y/n)?", $can_epoll ? "y" : "n") =~ /[yY]/));
- 
-@@ -157,7 +157,7 @@
- 
- EOF
- 
--my $can_kqueue = -e "/usr/include/sys/event.h";
-+my $can_kqueue = findheader( "sys/event.h" );
- $can_kqueue = $ENV{EV_KQUEUE} if exists $ENV{EV_KQUEUE};
- $DEFINE .= " -DEV_USE_KQUEUE=" . (0 + (prompt ("Enable kqueue backend (y/n)?", $can_kqueue ? "y" : "n") =~ /[yY]/));
- 
-@@ -204,7 +204,7 @@
- 
- EOF
- 
--my $can_inotify = -e "/usr/include/sys/inotify.h";
-+my $can_inotify = findheader( "sys/inotify.h" );
- $can_inotify = $ENV{EV_INOTIFY} if exists $ENV{EV_INOTIFY};
- $DEFINE .= " -DEV_USE_INOTIFY=" . (0 + (prompt ("Enable inotify support (y/n)?", $can_inotify ? "y" : "n") =~ /[yY]/));
- 
-@@ -221,7 +221,7 @@
- 
- EOF
- 
--my $can_eventfd = -e "/usr/include/sys/eventfd.h";
-+my $can_eventfd = findheader( "sys/eventfd.h" );
- $can_eventfd = $ENV{EV_EVENTFD} if exists $ENV{EV_EVENTFD};
- $DEFINE .= " -DEV_USE_EVENTFD=" . (0 + (prompt ("Enable linux eventfd support (y/n)?", $can_eventfd ? "y" : "n") =~ /[yY]/));
- 
-@@ -237,7 +237,7 @@
- 
- EOF
- 
--my $can_signalfd = -e "/usr/include/sys/signalfd.h";
-+my $can_signalfd = findheader( "sys/signalfd.h" );
- $can_signalfd = $ENV{EV_SIGNALFD} if exists $ENV{EV_SIGNALFD};
- $DEFINE .= " -DEV_USE_SIGNALFD=" . (0 + (prompt ("Enable linux signalfd support (y/n)?", $can_signalfd ? "y" : "n") =~ /[yY]/));
- 
-@@ -304,3 +304,8 @@
- );
- 
- 
-+sub findheader {
-+    my $header = shift;
-+    my @args = ("/bin/echo '#include <$header>' | gcc -E - >/dev/null 2>&1");
-+    return ( system( @args ) == 0 ? 1 : 0);
-+}
diff --git a/debian/patches/series b/debian/patches/series
index 573651f..78007ef 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,5 +1,2 @@
 fix-spelling-error.patch
-
 multiarch-checklib.patch
-# alternative, but probably the former is better
-# multiarch-paths.patch

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



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