[SCM] Debian packaging of libmath-random-mt-perl branch, master, updated. debian/1.13-1-2-g45e614a

Salvatore Bonaccorso carnil at debian.org
Thu Jan 19 18:37:27 UTC 2012


The following commit has been merged in the master branch:
commit c19a5df1e3b994266c6de9cbf0a558e8ebd823d1
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Thu Jan 19 19:31:47 2012 +0100

    Add fix-FTBFS-on-hurd.patch patch
    
    Fix FTBFS on hurd-i386.
    
    Thanks: Pino Toscano <pino at debian.org> for the patch
    
    Closes: #656499

diff --git a/debian/patches/fix-FTBFS-on-hurd.patch b/debian/patches/fix-FTBFS-on-hurd.patch
new file mode 100644
index 0000000..1b17b34
--- /dev/null
+++ b/debian/patches/fix-FTBFS-on-hurd.patch
@@ -0,0 +1,22 @@
+Description: Fix FTBFS on hurd-i386.
+ stdint.h is not included in mt.h, so the uint32_t typedef is missing.
+ Check for __GNU__ to the preprocessor conditions for including stdint.h
+Origin: vendor
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=74165 
+Bug-Debian: http://bugs.debian.org/656499
+Forwarded: yes
+Author: Pino Toscano <pino at debian.org> 
+Reviewed-by: Salvatore Bonaccorso <carnil at debian.org>
+Last-Update: 2012-01-19
+
+--- a/mt.h
++++ b/mt.h
+@@ -3,7 +3,7 @@
+ 
+ #if defined(_MSC_VER) && (_MSC_VER <= 1300)
+ typedef unsigned __int32 uint32_t;
+-#elif defined(__linux__) || defined(__GLIBC__) || defined(__WIN32__) || defined(__APPLE__)
++#elif defined(__linux__) || defined(__GLIBC__) || defined(__WIN32__) || defined(__APPLE__) || defined(__GNU__)
+ #include <stdint.h>
+ #elif defined(__osf__)
+ #include <inttypes.h>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7561a92
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-FTBFS-on-hurd.patch

-- 
Debian packaging of libmath-random-mt-perl



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