[libquota-perl] 01/02: Adapt platform detection to work as well under Linux 4.x
Salvatore Bonaccorso
carnil at debian.org
Sun Jun 12 17:54:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
carnil pushed a commit to branch jessie
in repository libquota-perl.
commit b3107f1e9c0d312af0463611d968c71cac4e344f
Author: Salvatore Bonaccorso <carnil at debian.org>
Date: Sun Jun 12 11:53:34 2016 +0200
Adapt platform detection to work as well under Linux 4.x
Closes: #787463
Closes: #827101
---
.../Adapted-platform-detection-for-Linux-4.x.patch | 20 ++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 21 insertions(+)
diff --git a/debian/patches/Adapted-platform-detection-for-Linux-4.x.patch b/debian/patches/Adapted-platform-detection-for-Linux-4.x.patch
new file mode 100644
index 0000000..ba9c712
--- /dev/null
+++ b/debian/patches/Adapted-platform-detection-for-Linux-4.x.patch
@@ -0,0 +1,20 @@
+Description: Adapted platform detection for Linux 4.*
+Origin: upstream
+Bug-Debian: https://bugs.debian.org/787463
+Bug-Debian: https://bugs.debian.org/827101
+Forwarded: not-needed
+Author: Salvatore Bonaccorso <carnil at debian.org>
+Last-Update: 2016-06-12
+Applied-Upstream: 1.7.2
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -13,7 +13,7 @@ elsif($os =~ /^HP-UX (A\.09|B\.10|[BC]\.
+ elsif($os =~ /^IRIX 5/) { $config='irix_5.h'; }
+ elsif($os =~ /^IRIX\d* 6/) { $config='irix_6.h'; }
+ elsif($os =~ /^OSF1/) { $config='dec_osf.h'; }
+-elsif($os =~ /^Linux [23]/){ $config='linux.h'; $picobj='linuxapi.o'; }
++elsif($os =~ /^Linux/){ $config='linux.h'; $picobj='linuxapi.o'; }
+ elsif($os =~ /^GNU/) { $config='gnu.h'; }
+ elsif($os =~ /^AIX/) { $config='aix_4_1.h'; }
+ elsif($os =~ /^BSD\/OS 2/ ||
diff --git a/debian/patches/series b/debian/patches/series
index 40acee4..e9e515b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
02_gnu_hurd.patch
+Adapted-platform-detection-for-Linux-4.x.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libquota-perl.git
More information about the Pkg-perl-cvs-commits
mailing list