st-openbsd-20210802-2ec571a.diff - sites - public wiki contents of suckless.org
(HTM) git clone git://git.suckless.org/sites
(DIR) Log
(DIR) Files
(DIR) Refs
---
st-openbsd-20210802-2ec571a.diff (1084B)
---
1 From b469a9fa4c142fd6f0d639cecd871f09c4684d62 Mon Sep 17 00:00:00 2001
2 From: c0dev0id <sh+github@codevoid.de>
3 Date: Mon, 2 Aug 2021 20:35:56 +0200
4 Subject: [PATCH] Update patch to current version
5
6 ---
7 Makefile | 3 ++-
8 config.def.h | 2 +-
9 2 files changed, 3 insertions(+), 2 deletions(-)
10
11 diff --git a/Makefile b/Makefile
12 index 470ac86..e61dfe5 100644
13 --- a/Makefile
14 +++ b/Makefile
15 @@ -47,7 +47,8 @@ install: st
16 mkdir -p $(DESTDIR)$(MANPREFIX)/man1
17 sed "s/VERSION/$(VERSION)/g" < st.1 > $(DESTDIR)$(MANPREFIX)/man1/st.1
18 chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1
19 - tic -sx st.info
20 + sed 's/st\([^t].*\)/st-git\1/g' st.info > st-git.info
21 + tic -sx st-git.info
22 @echo Please see the README file regarding the terminfo entry of st.
23
24 uninstall:
25 diff --git a/config.def.h b/config.def.h
26 index 6f05dce..b98451c 100644
27 --- a/config.def.h
28 +++ b/config.def.h
29 @@ -74,7 +74,7 @@ static unsigned int cursorthickness = 2;
30 static int bellvolume = 0;
31
32 /* default TERM value */
33 -char *termname = "st-256color";
34 +char *termname = "st-git-256color";
35
36 /*
37 * spaces per tab
38 --
39 2.32.0
40