Summary: | graphics/ansilove: Update to 4.1.4 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Juraj Lutter <otis> | ||||
Component: | Individual Port(s) | Assignee: | Dmitry Marakasov <amdmi3> | ||||
Status: | Closed Overcome By Events | ||||||
Severity: | Affects Only Me | Flags: | bugzilla:
maintainer-feedback?
(amdmi3) |
||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
URL: | https://github.com/ansilove/ansilove | ||||||
Attachments: |
|
Thanks for even looking at this. |
Created attachment 218987 [details] graphics/ansilove: Update to 4.1.4 Hi, please find the patch attached. Changelog: - Set CMAKE_BUILD_TYPE to "Release" in CMakeLists.txt - Enable FORTIFY_SOURCE level 2 - Move read_status variable declaration to the top of the function - Check fread() return values in readComments() and add error handling - Introduce the READ_RECORD function-like macro, for fread error handling - Use READ_RECORD in readRecord() to add fread() error handling - Only call memset() if the malloc call succeeds - Check strdup() return value and error out on failed allocation Builds OK on 11.4, 12-STABLE, 13-CURRENT.