* Trim trailing junk from the SANE version instead * Trim trailing junk from the SANE revision * CI: Switch from Devuan's beowulf to chimaera - add 0004-change-sane-version-check.patch as a workaround for #108 OBS-URL: https://build.opensuse.org/package/show/graphics/utsushi?expand=0&rev=15
14 lines
421 B
Diff
14 lines
421 B
Diff
diff --git sane/version.hpp sane/version.hpp
|
|
index 11b5f29..512855d 100644
|
|
--- sane/version.hpp
|
|
+++ sane/version.hpp
|
|
@@ -37,7 +37,7 @@ extern "C" { // needed until sane-backends-1.0.14
|
|
#include <sane/sane.h>
|
|
}
|
|
|
|
-#if !((SANE_MAJOR == SANE_CURRENT_MAJOR) && (SANE_MINOR == 0))
|
|
+#if !(SANE_MAJOR == SANE_CURRENT_MAJOR)
|
|
#error "SANE installation violates versioning portability constraints."
|
|
#endif
|
|
|