From b277aaa96a869ff5858662b61b14dc2b4f5a875a Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Thu, 17 Jun 2021 22:04:55 +0200 Subject: nix --- nix/format-security.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 nix/format-security.patch (limited to 'nix/format-security.patch') 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 -- cgit 1.4.1