mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 14:17:02 +02:00
imagescan: rebuild for boost-1.80
This commit is contained in:
parent
5faeee98e3
commit
8b320439ce
3 changed files with 27 additions and 1 deletions
15
srcpkgs/imagescan/patches/boost-1.80.patch
Normal file
15
srcpkgs/imagescan/patches/boost-1.80.patch
Normal 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
|
11
srcpkgs/imagescan/patches/sane.patch
Normal file
11
srcpkgs/imagescan/patches/sane.patch
Normal 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
|
||||
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue