]> git.proxmox.com Git - mirror_smartmontools-debian.git/commitdiff
Fixed FTBFS on kfreebsd.
authorGiuseppe Iuculano <iuculano@debian.org>
Wed, 13 Jun 2012 14:29:49 +0000 (16:29 +0200)
committerGiuseppe Iuculano <iuculano@debian.org>
Wed, 13 Jun 2012 14:29:49 +0000 (16:29 +0200)
Closes: #676142
Thanks: Petr Salinger

debian/patches/kfreebsd.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/kfreebsd.patch b/debian/patches/kfreebsd.patch
new file mode 100644 (file)
index 0000000..585169d
--- /dev/null
@@ -0,0 +1,13 @@
+--- a/cciss.cpp
++++ b/cciss.cpp
+@@ -24,6 +24,10 @@
+ #  define _HAVE_CCISS
+ #elif defined(__FreeBSD_kernel__)
+ #  include <endian.h>
++#  ifdef __GLIBC__
++#  include <bsd/sys/cdefs.h>
++#  include <stdint.h>
++#  endif
+ #  include CISS_LOCATION
+ #  define _HAVE_CCISS
+ #endif
index ed2f1ff660a9ceb6674824a97001d2c02f0d63f7..396f0f06fa74c5a45f7e3406bc9c9beaa4ee938c 100644 (file)
@@ -5,3 +5,4 @@
 63_removable.patch
 manpage.diff
 fix-generic.diff
+kfreebsd.patch