pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

tig: Remove no longer needed patch-include_tig_display.h



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Tue May 14 21:10:17 2019 +0200
Changeset:	0aac4f6bde36fb54acafec47397fba20a2205629

Modified Files:
	tig/distinfo
Removed Files:
	tig/patches/patch-include_tig_display.h

Log Message:
tig: Remove no longer needed patch-include_tig_display.h

There is a macro that handles it now (reported via upstream pull request #790).

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0aac4f6bde36fb54acafec47397fba20a2205629

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 tig/distinfo                            |  1 -
 tig/patches/patch-include_tig_display.h | 19 -------------------
 2 files changed, 20 deletions(-)

diffs:
diff --git a/tig/distinfo b/tig/distinfo
index 76cef05e85..91955dcf2c 100644
--- a/tig/distinfo
+++ b/tig/distinfo
@@ -5,5 +5,4 @@ RMD160 (tig-2.4.1.tar.gz) = 1245649ee1ea022583bdcc8e326290cfb1899358
 SHA512 (tig-2.4.1.tar.gz) = 516114ed267a9459e356ca1af35c9eba521f9a11e9462cc5120cc7ea8fba4e54ea0a2e8e0ab96263754d6516354c296df541f8e3642392eaeb205cd88428077c
 Size (tig-2.4.1.tar.gz) = 1181900 bytes
 SHA1 (patch-aa) = 304457804ce9a342e903ec25c1d7d6d9cf353cf5
-SHA1 (patch-include_tig_display.h) = 0947710b8244233da69f530c46e63c265202c8b9
 SHA1 (patch-include_tig_tig.h) = 42803e6589f97b6ad0230d0d895c429e1525476b
diff --git a/tig/patches/patch-include_tig_display.h b/tig/patches/patch-include_tig_display.h
deleted file mode 100644
index 0f834ec512..0000000000
--- a/tig/patches/patch-include_tig_display.h
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD$
-
-`newscr' is present only in curses, not in POSIX curses. Use `curscr' instead.
-
-XXX: Is this correct?
-
---- include/tig/display.h.orig	2018-07-21 19:09:17.000000000 +0000
-+++ include/tig/display.h
-@@ -60,8 +60,8 @@ void enable_mouse(bool enable);
- enum status_code open_script(const char *path);
- bool is_script_executing(void);
- 
--#define get_cursor_pos(cursor_y, cursor_x) getyx(newscr, cursor_y, cursor_x)
--#define set_cursor_pos(cursor_y, cursor_x) wmove(newscr, cursor_y, cursor_x)
-+#define get_cursor_pos(cursor_y, cursor_x) getyx(curscr, cursor_y, cursor_x)
-+#define set_cursor_pos(cursor_y, cursor_x) wmove(curscr, cursor_y, cursor_x)
- 
- #endif
- /* vim: set ts=8 sw=8 noexpandtab: */


Home | Main Index | Thread Index | Old Index