Files
termux-packages/packages/gmic/remove-pthread_testcancel.patch
termux-pacman-bot 0356d37568 bump(main/gmic): 3.6.6
- Fixes https://github.com/termux/termux-packages/issues/24593

- Rebase `Makefile.patch`

- No longer contains any instances of `pthread_cancel()`. One instance of `pthread_testcancel()` remains, but it can be disabled because `pthread_testcancel()` does not do anything in programs that never use `pthread_cancel()`.
2026-01-03 08:43:33 +00:00

15 lines
363 B
Diff

The program no longer contains any instances of pthread_cancel(),
and pthread_testcancel() does not do anything if pthread_cancel()
was never used
--- a/src/CImg.h
+++ b/src/CImg.h
@@ -10164,7 +10164,6 @@ namespace cimg_library {
X11_attr.unlock();
cimg::sleep(8);
}
- pthread_testcancel();
}
return 0;
}