From: Sven Hoexter Date: Wed, 7 Oct 2015 11:06:43 +0000 (+0200) Subject: Add d/patches/kfreebsd-compat to support kfreebsd. X-Git-Tag: debian/1.2.1-2~2 X-Git-Url: https://git.sven.stormbind.net/?a=commitdiff_plain;h=a5c0debe39eb8ca1117e974a6efbd3f5de03d15c;p=sven%2Ffuse-exfat.git Add d/patches/kfreebsd-compat to support kfreebsd. --- diff --git a/debian/changelog b/debian/changelog index 90df04f..6ace20d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,9 @@ -fuse-exfat (1.2.1-2) unstable; urgency=low +fuse-exfat (1.2.1-2) UNRELEASED; urgency=low * Change source format to 3.0. + * Add d/patches/kfreebsd-compat to support kfreebsd. - -- + -- Sven Hoexter Wed, 07 Oct 2015 13:06:29 +0200 fuse-exfat (1.2.1-1) unstable; urgency=low diff --git a/debian/patches/kfreebsd-compat b/debian/patches/kfreebsd-compat new file mode 100644 index 0000000..efa858b --- /dev/null +++ b/debian/patches/kfreebsd-compat @@ -0,0 +1,13 @@ +Index: fuse-exfat/libexfat/platform.h +=================================================================== +--- fuse-exfat.orig/libexfat/platform.h ++++ fuse-exfat/libexfat/platform.h +@@ -24,7 +24,7 @@ + #ifndef PLATFORM_H_INCLUDED + #define PLATFORM_H_INCLUDED + +-#if defined(__linux__) ++#if defined(__linux__) || (defined(__FreeBSD_kernel__) && defined(__GLIBC__)) + + #include + #include diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..b7646da --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +kfreebsd-compat