]> git.sven.stormbind.net Git - sven/fuse-exfat.git/commitdiff
Add d/patches/kfreebsd-compat to support kfreebsd.
authorSven Hoexter <sven@stormbind.net>
Wed, 7 Oct 2015 11:06:43 +0000 (13:06 +0200)
committerSven Hoexter <sven@stormbind.net>
Wed, 7 Oct 2015 11:25:41 +0000 (13:25 +0200)
debian/changelog
debian/patches/kfreebsd-compat [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]

index 90df04f2a314551787965ed9c1333b60dcfa5ffc..6ace20de8fadfa0ab29f0ff0f36c4ba5f4f895dc 100644 (file)
@@ -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 <hoexter@debian.org>  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 (file)
index 0000000..efa858b
--- /dev/null
@@ -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 <endian.h>
+ #include <byteswap.h>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..b7646da
--- /dev/null
@@ -0,0 +1 @@
+kfreebsd-compat