[SCM] Debian packaging of libquota-perl branch, master, updated. 0853d9df7812a922ca182e559758af40ac799e2c
Salvatore Bonaccorso
carnil at debian.org
Thu Nov 3 18:42:18 UTC 2011
The following commit has been merged in the master branch:
commit 4d713d8143c708747ee09b08b0f8dc2dc3852dee
Author: Salvatore Bonaccorso <carnil at debian.org>
Date: Thu Nov 3 18:51:43 2011 +0100
Add add-support-for-Linux-3.x.patch
Add support to detect Linux 3.x via uname -rs which is used in
Makefile.PL to detect the operating system on which the build is run.
The Makefile.PL detected only Linux 2.x kernels, causing FTBFS with
recent kernels of version 3.x.
Closes: #646695
diff --git a/debian/patches/add-support-for-Linux-3.x.patch b/debian/patches/add-support-for-Linux-3.x.patch
new file mode 100644
index 0000000..b31c2ff
--- /dev/null
+++ b/debian/patches/add-support-for-Linux-3.x.patch
@@ -0,0 +1,19 @@
+Description: Add support fto detect 3.x Linux kernels
+Origin: vendor
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=72148
+Bug-Debian: http://bugs.debian.org/646695
+Forwarded: yes
+Author: Salvatore Bonaccorso <carnil at debian.org>
+Last-Update: 2011-11-03
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -13,7 +13,7 @@
+ 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 2/) { $config='linux.h'; $picobj='linuxapi.o'; }
++elsif($os =~ /^Linux [23]/) { $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 176cb60..4b1f532 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
02_gnu_hurd.patch
01_Makefile.PL-remove-unneeded-objects.patch
+add-support-for-Linux-3.x.patch
--
Debian packaging of libquota-perl
More information about the Pkg-perl-cvs-commits
mailing list