[libio-aio-perl] 07/08: Add a patch to fix a "Constant subroutine ... redefined" warning.

gregor herrmann gregoa at debian.org
Sat Jan 23 00:01:38 UTC 2016


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

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

commit d7d6890c3fa3348ed3c5fe82806ffc8929e40c76
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jan 23 00:58:58 2016 +0100

    Add a patch to fix a "Constant subroutine ... redefined" warning.
    
    Thanks: autopkgtest.
---
 debian/patches/duplicate-constant.patch | 19 +++++++++++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/duplicate-constant.patch b/debian/patches/duplicate-constant.patch
new file mode 100644
index 0000000..27319b1
--- /dev/null
+++ b/debian/patches/duplicate-constant.patch
@@ -0,0 +1,19 @@
+Description: remove duplicate const declaration
+ Changes for 4.33 claims to add support for MAP_HUGETLB.
+ But the line was already there since 3.71, and causes a warning:
+ "Constant subroutine MAP_HUGETLB redefined ..."
+Origin: vendor
+Forwarded: no
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2016-01-23
+
+--- a/AIO.xs
++++ b/AIO.xs
+@@ -994,7 +994,6 @@
+     const_iv (MAP_NONBLOCK)
+     const_iv (MAP_GROWSDOWN)
+     const_iv (MAP_32BIT)
+-    const_iv (MAP_HUGETLB)
+     const_iv (MAP_STACK)
+ 
+     const_iv (FIEMAP_FLAG_SYNC)
diff --git a/debian/patches/series b/debian/patches/series
index f77f839..88c9fdc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 workaround-missing-O_CLOEXEC.patch
 spelling.patch
+duplicate-constant.patch

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



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