Changes since oldpackages: - cups dependency was completely removed * This also happened in sane trunk version - small musl patch - added detection of inb,outb (link error with musl) * this also removes hack 020-non-i386-qcam.patch - fix for segfault when using sane-test backend - removed link to extra libraries in libsane (used only for preload backends) - added format-security fix - sane-libs and sane-backends merged and exploded into individual packages for each backend: * libsane for sane library (which backends should dep on) * sane-daemon for saned daemon * sane-xxx for sane backend for xxx ** each backend has its own custom dep libraries * sane-backends-all (with no files) that deps on all backends * sane-qcam is only available for x86/x86_64 ** other archs does not implement inb/outb (at least in musl) Now it is possible to use SANE with much less FS space (KB instead of MB). Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
14 lines
433 B
Diff
14 lines
433 B
Diff
--- a/sanei/sanei_thread.c
|
|
+++ b/sanei/sanei_thread.c
|
|
@@ -512,11 +512,6 @@ sanei_thread_waitpid( SANE_Pid pid, int
|
|
DBG(2, "* result = %d (%p)\n", stat, (void*)status );
|
|
result = pid;
|
|
}
|
|
- /* call detach in any case to make sure that the thread resources
|
|
- * will be freed, when the thread has terminated
|
|
- */
|
|
- DBG(2, "* detaching thread(%ld)\n", pid );
|
|
- pthread_detach((pthread_t)pid);
|
|
if (status)
|
|
*status = stat;
|
|
|