dmitry: 1.3a-unstable-2020-06-22 -> 1.3a-unstable-2026-03-26

This commit is contained in:
Xiangyan Sun
2026-04-10 03:54:09 -07:00
parent f97e195236
commit 330f974c4c
2 changed files with 3 additions and 35 deletions
@@ -1,28 +0,0 @@
---
src/dmitry.c | 1 +
src/file.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/src/dmitry.c b/src/dmitry.c
index d47f231..567482d 100644
--- a/src/dmitry.c
+++ b/src/dmitry.c
@@ -9,6 +9,7 @@
#include <ctype.h>
#include <string.h>
#include <signal.h>
+#include <stdlib.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
diff --git a/src/file.c b/src/file.c
index f4ad48b..3714786 100644
--- a/src/file.c
+++ b/src/file.c
@@ -1,4 +1,6 @@
#include "includes/file.h"
+#include <string.h>
+#include <stdlib.h>
int file_prep()
{
outputfile[strlen(outputfile)] = '\0';
+3 -7
View File
@@ -7,21 +7,17 @@
stdenv.mkDerivation {
pname = "dmitry";
version = "1.3a-unstable-2020-06-22";
version = "1.3a-unstable-2026-03-26";
src = fetchFromGitHub {
owner = "jaygreig86";
repo = "dmitry";
rev = "f3ae08d4242e3e178271c827b86ff0d655972280";
hash = "sha256-cYFeBM8xFMaLXYk6Rg+5JvfbbIJI9F3mefzCX3+XbB0=";
rev = "f2b8961dabbd55486a5649a9803446b860ad28e7";
hash = "sha256-ZEfRaJ4ds1yWxN9VTFoBiUI5ZzK//aD7o9ry6vmA1YM=";
};
patches = [ ./implicit-function-declaration.patch ];
nativeBuildInputs = [ autoreconfHook ];
env.NIX_CFLAGS_COMPILE = toString [ "-fcommon" ];
meta = {
description = "Deepmagic Information Gathering Tool";
mainProgram = "dmitry";