Hi Maintainer
Upstream ddrescue 1.20 RC1 [1] was released on 2015-06-10.
From the NEWS file:
The configure option "--enable-linux" has been renamed to
"--enable-non-posix".
I attach an updated patch which should work with ddrescue 1.20 when it
is released.
Currently, --enable-non-posix is only useful on Haiku and Linux (see
non_posix.cc).
Regards
Graham
[1] http://download.savannah.gnu.org/releases/ddrescue/
diff -Nru gddrescue-1.19/debian/rules gddrescue-1.19/debian/rules
--- gddrescue-1.19/debian/rules 2015-06-11 13:50:15.000000000 +0200
+++ gddrescue-1.19/debian/rules 2015-06-11 13:52:11.000000000 +0200
@@ -1,5 +1,10 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+EXTRA_CONFIGURE_ARGS =
+ifeq ($(DEB_HOST_ARCH_OS), linux)
+EXTRA_CONFIGURE_ARGS += --enable-non-posix
+endif
%:
dh $@
@@ -9,7 +14,8 @@
CXX='$(CXX)' \
CPPFLAGS='$(CPPFLAGS)' \
CXXFLAGS='$(CXXFLAGS)' \
- LDFLAGS='$(LDFLAGS)'
+ LDFLAGS='$(LDFLAGS)' \
+ $(EXTRA_CONFIGURE_ARGS)
override_dh_installinfo:
rm -f $(CURDIR)/debian/gddrescue/usr/share/info/dir