imagescan: rebuild for boost-1.80

This commit is contained in:
Đoàn Trần Công Danh 2022-08-26 17:00:34 +07:00
parent 5faeee98e3
commit 8b320439ce
3 changed files with 27 additions and 1 deletions

View file

@ -0,0 +1,15 @@
_1 should be looked up via ADL, don't know
--- a/utsushi/functional.hpp
+++ b/utsushi/functional.hpp
@@ -59,6 +59,11 @@ using NAMESPACE::function;
using NAMESPACE::ref;
using NAMESPACE::reference_wrapper;
+#if __cplusplus >= 201103L && !WITH_INCLUDED_BOOST
+using std::placeholders::_1;
+using std::placeholders::_2;
+#endif
+
} // namespace utsushi
#undef NAMESPACE

View file

@ -0,0 +1,11 @@
--- a/sane/version.hpp
+++ b/sane/version.hpp
@@ -37,7 +37,7 @@ extern "C" { // neede
#include <sane/sane.h>
}
-#if !((SANE_MAJOR == SANE_CURRENT_MAJOR) && (SANE_MINOR == 0))
+#if !((SANE_MAJOR == SANE_CURRENT_MAJOR) && (SANE_CURRENT_MINOR == 0))
#error "SANE installation violates versioning portability constraints."
#endif

View file

@ -1,7 +1,7 @@
# Template file for 'imagescan'
pkgname=imagescan
version=3.65.0
revision=1
revision=2
wrksrc=utsushi-0.65.0
build_style=gnu-configure
configure_args="--libexecdir=/usr/lib --with-boost-libdir=${XBPS_CROSS_BASE}/usr/lib