void-packages/srcpkgs/imagescan/patches/sane.patch

12 lines
353 B
Diff

--- 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