zsh/zsh-cleanup.patch
OBS User autobuild 81b5c7e539 Accepting request 18109 from shells
Copy from shells/zsh based on submit request 18109 from user hennevogel

OBS-URL: https://build.opensuse.org/request/show/18109
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zsh?expand=0&rev=12
2009-08-18 22:11:24 +00:00

29 lines
1.0 KiB
Diff

--- Src/Makefile.in
+++ Src/Makefile.in
@@ -148,14 +148,7 @@
# install binary, creating install directory if necessary
install.bin-here: zsh$(EXEEXT) $(INSTLIB)
${SHELL} $(sdir_top)/mkinstalldirs $(DESTDIR)$(bindir)
- $(INSTALL_PROGRAM) $(STRIPFLAGS) zsh$(EXEEXT) $(DESTDIR)$(bindir)/$(tzsh)-$(VERSION)$(EXEEXT)
- if test -f $(DESTDIR)$(bindir)/$(tzsh)$(EXEEXT); then \
- rm -f $(DESTDIR)$(bindir)/$(tzsh).old; \
- $(LN) $(DESTDIR)$(bindir)/$(tzsh)$(EXEEXT) $(DESTDIR)$(bindir)/$(tzsh).old; \
- else :; fi
- rm -f $(DESTDIR)$(bindir)/$(tzsh).new
- $(LN) $(DESTDIR)$(bindir)/$(tzsh)-$(VERSION)$(EXEEXT) $(DESTDIR)$(bindir)/$(tzsh).new
- mv $(DESTDIR)$(bindir)/$(tzsh).new $(DESTDIR)$(bindir)/$(tzsh)$(EXEEXT)
+ $(INSTALL_PROGRAM) $(STRIPFLAGS) zsh $(DESTDIR)$(bindir)/zsh
.PHONY: install.bin-here
install.bin-N:
--- Src/Modules/terminfo.c
+++ Src/Modules/terminfo.c
@@ -28,6 +28,7 @@
*/
#define USES_TERM_H 1
+#include <ncurses.h>
#include "terminfo.mdh"
#if defined(HAVE_TIGETFLAG) && defined(ZSH_HAVE_CURSES_H)