summary refs log tree commit diff
path: root/app-misc/stag/files/stag-9999-ncurses.patch
diff options
context:
space:
mode:
authorCasey Avila <casey@theavilas.org>2020-10-04 15:12:48 -0700
committerCasey Avila <casey@theavilas.org>2020-10-04 15:12:48 -0700
commit5d2ea5ef009436747b152e270552df7d437a40ed (patch)
tree8a6cf953735b7137546839286b03d1e1e687f19f /app-misc/stag/files/stag-9999-ncurses.patch
parentUpdate TODO.md (diff)
app-misc/stag: Add live
Diffstat (limited to 'app-misc/stag/files/stag-9999-ncurses.patch')
-rw-r--r--app-misc/stag/files/stag-9999-ncurses.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-misc/stag/files/stag-9999-ncurses.patch b/app-misc/stag/files/stag-9999-ncurses.patch
new file mode 100644
index 0000000..2830134
--- /dev/null
+++ b/app-misc/stag/files/stag-9999-ncurses.patch
@@ -0,0 +1,11 @@
+--- a/Makefile	2020-10-02 20:44:39.606575295 -0700
++++ b/Makefile	2020-10-02 20:45:28.695961593 -0700
+@@ -1,7 +1,7 @@
+ CC ?= gcc
+ CFLAGS=-Wall -Werror -Wextra -std=c99 -pedantic -Wno-unused-parameter
+ # D_BSD_SOURCE for strsep
+-LIBS=-lncurses -lm -D_DEFAULT_SOURCE
++LIBS=-lncurses -ltinfo -lm -D_DEFAULT_SOURCE
+ PREFIX ?= /usr/local
+ 
+ .PHONY: install uninstall clean

Consider giving Nix/NixOS a try! <3