summary refs log tree commit diff
path: root/app-misc/stag/files
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/stag/files')
-rw-r--r--app-misc/stag/files/stag-1.0.0-ncurses.patch11
-rw-r--r--app-misc/stag/files/stag-9999-ncurses.patch11
2 files changed, 22 insertions, 0 deletions
diff --git a/app-misc/stag/files/stag-1.0.0-ncurses.patch b/app-misc/stag/files/stag-1.0.0-ncurses.patch
new file mode 100644
index 0000000..2830134
--- /dev/null
+++ b/app-misc/stag/files/stag-1.0.0-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
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