This commit is contained in:
Marcin Serwin
2026-06-03 19:52:26 +00:00
committed by GitHub
3 changed files with 1 additions and 59 deletions

View File

@@ -1,24 +0,0 @@
diff --git a/unix_client.c b/unix_client.c
index 920910a..6d608fd 100644
--- a/unix_client.c
+++ b/unix_client.c
@@ -8,6 +8,7 @@
#include <sys/socket.h>
#include <unistd.h>
#include <assert.h>
+#include <string.h>
#include "main.h"
#include "handlers.h"
diff --git a/unix_server.c b/unix_server.c
index 5cf93ed..d3c51c9 100644
--- a/unix_server.c
+++ b/unix_server.c
@@ -8,6 +8,7 @@
#include <assert.h>
#include <unistd.h>
#include <stdio.h>
+#include <string.h>
#include <sys/un.h>
#include <sys/socket.h>
#include <sys/select.h>

View File

@@ -1,35 +0,0 @@
{
lib,
stdenv,
fetchurl,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "tm";
version = "0.4.1";
src = fetchurl {
url = "https://vicerveza.homeunix.net/~viric/soft/tm/tm-${finalAttrs.version}.tar.gz";
hash = "sha256-OzibwDtpZK1f+lejRLiR/bz3ybJgSt2nI6hj+DZXxKA=";
};
makeFlags = [ "PREFIX=$(out)" ];
patches = [
# fix using strncpy and strlen without including string.h
./missing-string-header.patch
];
postPatch = ''
sed -i 's@/usr/bin/install@install@g ; s/gcc/cc/g' Makefile
'';
meta = {
description = "Terminal mixer - multiplexer for the i/o of terminal applications";
homepage = "http://vicerveza.homeunix.net/~viric/soft/tm";
license = lib.licenses.gpl2Plus;
maintainers = [ ];
platforms = lib.platforms.all;
mainProgram = "tm";
};
})

View File

@@ -2147,6 +2147,7 @@ mapAliases {
tkimg = throw "'tkimg' has been renamed to/replaced by 'tclPackages.tkimg'"; # Converted to throw 2025-10-27
tla = throw "'tla' has been removed as it is broken and unmaintained. Please use 'breezy' instead"; # Added 2026-04-23
tlaplusToolbox = tlaplus-toolbox; # Added 2025-08-21
tm = throw "'tm' has been removed as it is broken and hasn't been maintained upstream since 2014"; # Added 2026-05-05
tokyo-night-gtk = throw "'tokyo-night-gtk' has been renamed to/replaced by 'tokyonight-gtk-theme'"; # Converted to throw 2025-10-27
tomcat_connectors = throw "'tomcat_connectors' has been renamed to/replaced by 'apacheHttpdPackages.mod_jk'"; # Converted to throw 2025-10-27
tooling-language-server = deputy; # Added 2025-06-22