diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-06-17 22:04:55 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-06-17 22:04:55 +0200 |
commit | b277aaa96a869ff5858662b61b14dc2b4f5a875a (patch) | |
tree | e49929e6ec78cdc4e64f345f801fb5bca52801a1 /nix/format-security.patch | |
parent | acbf0f1ea9530bd8fb292e54238592488ba3c816 (diff) | |
download | spiewnik-b277aaa96a869ff5858662b61b14dc2b4f5a875a.tar.gz spiewnik-b277aaa96a869ff5858662b61b14dc2b4f5a875a.zip |
nix
Diffstat (limited to 'nix/format-security.patch')
-rw-r--r-- | nix/format-security.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/nix/format-security.patch b/nix/format-security.patch new file mode 100644 index 0000000..acd6585 --- /dev/null +++ b/nix/format-security.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile b/Makefile +index 801c6ed..d1efdaa 100644 +--- a/Makefile ++++ b/Makefile +@@ -3,7 +3,7 @@ FDIR = /neatroff/font + MDIR = /neatroff/tmac + + CC = cc +-CFLAGS = -Wall -O2 "-DTROFFFDIR=\"$(FDIR)\"" "-DTROFFMDIR=\"$(MDIR)\"" ++CFLAGS = -Wall -O2 "-DTROFFFDIR=\"$(FDIR)\"" "-DTROFFMDIR=\"$(MDIR)\"" -Wno-format-security + LDFLAGS = + OBJS = roff.o dev.o font.o in.o cp.o tr.o ren.o out.o reg.o sbuf.o fmt.o \ + eval.o draw.o wb.o hyph.o map.o clr.o char.o dict.o iset.o dir.o |