pkgsrc-WIP-changes archive

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

tmux: Remove patches/patch-server-client.c



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Tue Sep 4 10:16:22 2018 +0200
Changeset:	def6016f5daac64b742efbb37cc066a63c80f58d

Modified Files:
	tmux/distinfo
Removed Files:
	tmux/patches/patch-server-client.c

Log Message:
tmux: Remove patches/patch-server-client.c

timersub() was added in compat.h since tmux-1.9 and should be no
longer needed.

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

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

diffstat:
 tmux/distinfo                      |  1 -
 tmux/patches/patch-server-client.c | 25 -------------------------
 2 files changed, 26 deletions(-)

diffs:
diff --git a/tmux/distinfo b/tmux/distinfo
index 78574ab70d..3633cb62fd 100644
--- a/tmux/distinfo
+++ b/tmux/distinfo
@@ -5,5 +5,4 @@ RMD160 (tmux-2.8-rc.tar.gz) = 4d28ec01780e6ab4e2bdb257e713c16e17c272ea
 SHA512 (tmux-2.8-rc.tar.gz) = 3e961450c7ce48671a4ccf7f053e4387c02b677f308531f78dc6f162304c1493ad2f927abd07ec1b9f9678c7fbc64f557a2c2e269e059c9610ae7571581fe3f4
 Size (tmux-2.8-rc.tar.gz) = 491679 bytes
 SHA1 (patch-Makefile.in) = fa9ec654cf6dad2b49b10ab981275d193d8b97c8
-SHA1 (patch-server-client.c) = a0949d4fdba20aaffce6cd56eedd47b7cc64e1bc
 SHA1 (patch-tty-term.c) = 486b64b5762a35986ca39a93efd1d29a79920193
diff --git a/tmux/patches/patch-server-client.c b/tmux/patches/patch-server-client.c
deleted file mode 100644
index 661d36ef56..0000000000
--- a/tmux/patches/patch-server-client.c
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD: patch-server-client.c,v 1.5 2017/04/21 11:55:37 fhajny Exp $
-
-* timersub is missing on Solaris10
-
---- server-client.c.orig	2017-04-20 10:29:06.000000000 +0000
-+++ server-client.c
-@@ -30,6 +30,18 @@
- 
- #include "tmux.h"
- 
-+#ifndef timersub
-+# define timersub(a, b, result)                     \
-+    do {                                \
-+        (result)->tv_sec = (a)->tv_sec - (b)->tv_sec;       \
-+        (result)->tv_usec = (a)->tv_usec - (b)->tv_usec;        \
-+        if ((result)->tv_usec < 0) {                            \
-+            --(result)->tv_sec;             \
-+            (result)->tv_usec += 1000000;           \
-+        }                                                       \
-+    } while (0)
-+#endif
-+
- static void	server_client_free(int, short, void *);
- static void	server_client_check_focus(struct window_pane *);
- static void	server_client_check_resize(struct window_pane *);


Home | Main Index | Thread Index | Old Index