summary refs log tree commit diff
path: root/app-misc/stag/files/stag-9999-ncurses.patch
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2020-10-05 08:42:57 +0300
committerGitHub <noreply@github.com>2020-10-05 08:42:57 +0300
commitcdb4996391576265ca57613baabb97529eca38fa (patch)
tree8a6cf953735b7137546839286b03d1e1e687f19f /app-misc/stag/files/stag-9999-ncurses.patch
parentx11-apps/sx: Update ebuild, bump version (diff)
parentapp-misc/stag: Add live (diff)
Merge pull request #8 from caseyavila/master
app-misc/stag: Add package
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