Package: unifont / 1:16.0.04-1

Metadata

Package Version Patches format
unifont 1:16.0.04-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
set LDFLAGS and CPPFLAGS.patch | (download)

src/Makefile | 12 6 + 6 - 0 !
1 file changed, 6 insertions(+), 6 deletions(-)

 add some flags, cppflags and ldflags are important for hardening.
 See https://best.openssf.org/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.html

 And we encourage CFLAGS in packaging build, so specify it as "+=", not "="

use default cc.patch | (download)

src/Makefile | 13 1 + 12 - 0 !
1 file changed, 1 insertion(+), 12 deletions(-)

 some oses stick to old gcc version but most of them have clang
 instead (especially on macOS, it calls clang even if they specify gcc...).
 We do not need to specify gcc as CC, it depends on build environment.

 And set "-std=c99" is not good idea, since we can introduce more modern
 standard versions (I've tested to build with clang-19 and set -std=c23 works.
 We can use c23 now, see https://www.open-std.org/JTC1/SC22/WG14/ )