ports/graphics/sane-backends/files/patch-include__sane__sanei_backend.h
Tobias Kortkamp 9088421f9e graphics/sane-backends: Actually update to 1.0.27
The current version is 1.0.25 with a wrongly named distfile which
fails to fetch from the fossies.org mirror with a size mismatch.
The update to 1.0.27 in r444767 also shows that the checksum and
size have not changed in distinfo in that commit.  Full changes
between the distfiles from 1.0.27_4 & 1.0.27_5 can be found at [1].

- Remove dead alioth.debian.org mirror
- Remove some no longer needed patches

[1] https://people.freebsd.org/~tobik/logs/sane-backends-1.0.27.diff

ABI:		https://abi-laboratory.pro/tracker/timeline/sane-backends/
PR:		229653
Submitted by:	Peter Wullinger <freebsd@dhke.de>
2019-01-29 12:31:51 +00:00

24 lines
641 B
C

--- include/sane/sanei_backend.h.orig 2016-10-06 00:02:58 UTC
+++ include/sane/sanei_backend.h
@@ -64,9 +64,11 @@
/* Just enough backwards compatibility that we get by in the backends
without making handstands. */
+#if 0
# ifdef sigset_t
# undef sigset_t
# endif
+#endif
# ifdef sigemptyset
# undef sigemptyset
# endif
@@ -92,7 +94,9 @@
# undef SIG_SETMASK
# endif
+#if 0
# define sigset_t int
+#endif
# define sigemptyset(set) do { *(set) = 0; } while (0)
# define sigfillset(set) do { *(set) = ~0; } while (0)
# define sigaddset(set,signal) do { *(set) |= sigmask (signal); } while (0)