mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-10 20:00:51 +00:00
- 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()`.
15 lines
363 B
Diff
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;
|
|
}
|