diff options
Diffstat (limited to 'debian/patches/fix-ftbfs-kfreebsd-amd64')
-rw-r--r-- | debian/patches/fix-ftbfs-kfreebsd-amd64 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/fix-ftbfs-kfreebsd-amd64 b/debian/patches/fix-ftbfs-kfreebsd-amd64 new file mode 100644 index 0000000..863cd67 --- /dev/null +++ b/debian/patches/fix-ftbfs-kfreebsd-amd64 @@ -0,0 +1,17 @@ +Description: fix FTBFS in kfreebsd-amd64 where int64_t is already declared, but HAVE_INT64T is not defined +Author: Mattia Rizzolo <mattia@debian.org> +Bug-Debian: htts://bugs.debian.org/825713 +Last-Update: 2016-06-17 +Forwarded: no + +--- a/mini_httpd.c ++++ b/mini_httpd.c +@@ -100,7 +100,7 @@ + #define SIZE_T_MAX 2147483647L + #endif + +-#ifndef HAVE_INT64T ++#if !defined(_INT64_T_DECLARED) && !defined(HAVE_INT64T) + typedef long long int64_t; + #endif + |