commit 589eb16
hovercats
·
2024-05-02 02:38:48 +0000 UTC
parent 9c7a5df
repo/netbsd-curses: fix pc files installation | dont use patch | clean up buildscript.
4 files changed,
+1,
-22
+1,
-5
1@@ -1,13 +1,9 @@
2 #!/bin/sh -e
3
4-export LDFLAGS="$LDFLAGS --static"
5-
6-patch -p1 < prevent-clobbering.patch
7-
8 make PROGS= all-static
9 make \
10 DESTDIR="$1" \
11 PREFIX=/usr \
12 install-stalibs \
13 install-headers \
14- install-pc-dir
15+ install-pcs
+0,
-1
1@@ -1,2 +1 @@
2 aeb448eea51c85d8c80d9568f4436f476aba4d5a1064ba669bc591009b88fae895
3-369ac7655415acacba4ed4bd5e7953cea51e1fdd7f0408f3235a5ba87b9ae444c4
1@@ -1,15 +0,0 @@
2-diff --git a/libcurses/tstp.c b/libcurses/tstp.c
3-index e5d3301..e25fd2a 100644
4---- a/libcurses/tstp.c
5-+++ b/libcurses/tstp.c
6-@@ -343,8 +343,8 @@ int
7- reset_prog_mode(void)
8- {
9-
10-- return tcsetattr(fileno(_cursesi_screen->infd), TCSASOFT | TCSADRAIN,
11-- &_cursesi_screen->save_termios) ? ERR : OK;
12-+ __restartwin();
13-+ return OK;
14- }
15-
16- int
+0,
-1
1@@ -1,2 +1 @@
2 https://github.com/sabotage-linux/netbsd-curses/archive/refs/tags/v0.3.2.tar.gz
3-patches/prevent-clobbering.patch