+smartmontools (6.2+svn3841-1.2) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * debian/control: Switch to automake1.11. (Closes: #724436)
+
+ -- Eric Dorland <eric@debian.org> Sun, 16 Feb 2014 16:27:11 -0500
+
+smartmontools (6.2+svn3841-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTBFS on GNU/kFreeBSD. (Closes: #736660)
+
+ -- Robert Millan <rmh@debian.org> Thu, 06 Feb 2014 13:48:48 +0100
+
smartmontools (6.2+svn3841-1) unstable; urgency=low
* [3d17a85] Imported Upstream version 6.2+svn3841
Priority: optional
Maintainer: Giuseppe Iuculano <iuculano@debian.org>
Uploaders: Florian Maier <contact@marsmenschen.com>
-Build-Depends: debhelper (>= 7), libcam-dev [kfreebsd-i386 kfreebsd-amd64], automake1.10, autoconf, libcap-ng-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386 !sparc !avr32], libselinux1-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libusb2-dev [kfreebsd-i386 kfreebsd-amd64], hardening-wrapper
+Build-Depends: debhelper (>= 7), libcam-dev [kfreebsd-any], freebsd-glue [kfreebsd-any], automake1.11, autoconf, libcap-ng-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386 !sparc !avr32], libselinux1-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libusb2-dev [kfreebsd-i386 kfreebsd-amd64], hardening-wrapper
Standards-Version: 3.9.4
Vcs-Git: git://anonscm.debian.org/collab-maint/smartmontools.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/smartmontools.git
-Index: smartmontools/dev_areca.h
-===================================================================
---- smartmontools.orig/dev_areca.h 2013-09-05 13:31:22.863972312 +0200
-+++ smartmontools/dev_areca.h 2013-09-05 13:34:00.587972763 +0200
+--- a/dev_areca.h
++++ b/dev_areca.h
@@ -58,7 +58,7 @@
#define ARCMSR_IOCTL_CLEAR_RQBUFFER (ARECA_SATA_RAID | FUNCTION_CLEAR_RQBUFFER)
#define ARCMSR_IOCTL_CLEAR_WQBUFFER (ARECA_SATA_RAID | FUNCTION_CLEAR_WQBUFFER)
#include <sys/ioctl.h> // _IOWR
/*FunctionCode*/
+--- a/cciss.cpp
++++ b/cciss.cpp
+@@ -18,18 +18,10 @@
+ # ifndef be32toh
+ # define be32toh __be32_to_cpu
+ # endif
+-#elif defined(__FreeBSD__)
++#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+ # include <sys/endian.h>
+ # include CISS_LOCATION
+ # 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
+
+ #ifdef _HAVE_CCISS
CONFIGURE_ARGS += --with-selinux
endif
+ifeq ($(DEB_HOST_ARCH_OS),kfreebsd)
+ CFLAGS += -I/usr/include/freebsd
+endif
+
CFLAGS += -fsigned-char -Wall
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
configure-stamp:
dh_testdir
./autogen.sh
- CFLAGS="${CFLAGS}" ./configure --prefix=/usr \
+ CFLAGS="${CFLAGS}" CXXFLAGS="${CFLAGS}" ./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--with-initscriptdir=no \