From 26de5ed8d24188f544a9bc27cb7d86b641bceddf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 19:23:11 +0200 Subject: Adding debian version 1:4.6.1-1. Signed-off-by: Daniel Baumann --- debian/patches/0001-kfreebsd.patch | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 debian/patches/0001-kfreebsd.patch (limited to 'debian/patches/0001-kfreebsd.patch') diff --git a/debian/patches/0001-kfreebsd.patch b/debian/patches/0001-kfreebsd.patch new file mode 100644 index 0000000..7008437 --- /dev/null +++ b/debian/patches/0001-kfreebsd.patch @@ -0,0 +1,38 @@ +Author: Cyril Brulebois +Description: Fixes FTBFS on kfreebsd (Closes: #557174). +Bug-Debian: https://bugs.debian.org/557174 +Last-Update: 2021-07-25 + +--- a/squashfs-tools/endian_compat.h ++++ b/squashfs-tools/endian_compat.h +@@ -23,7 +23,7 @@ + * + * endian_compat.h + */ +-#ifndef linux ++#if !defined(linux) && !defined(__GLIBC__) + #define __BYTE_ORDER BYTE_ORDER + #define __BIG_ENDIAN BIG_ENDIAN + #define __LITTLE_ENDIAN LITTLE_ENDIAN +--- a/squashfs-tools/mksquashfs.c ++++ b/squashfs-tools/mksquashfs.c +@@ -5024,7 +5024,7 @@ static void initialise_threads(int readq + BAD_ERROR("Failed to set signal mask in intialise_threads\n"); + + if(processors == -1) { +-#ifndef linux ++#if !defined(linux) && !defined(__GLIBC__) + int mib[2]; + size_t len = sizeof(processors); + +--- a/squashfs-tools/unsquashfs.c ++++ b/squashfs-tools/unsquashfs.c +@@ -2710,7 +2710,7 @@ void initialise_threads(int fragment_buf + } + + if(processors == -1) { +-#ifndef linux ++#if !defined(linux) && !defined(__GLIBC__) + int mib[2]; + size_t len = sizeof(processors); + -- cgit v1.2.3