direwolf: 1.6 -> 1.7

This commit is contained in:
Matt Melling 2023-10-29 00:32:55 +01:00
parent 14e0dcb26d
commit 7d7d9b8cf1
No known key found for this signature in database
GPG Key ID: 6D94F6DB60A64FFE
2 changed files with 10 additions and 10 deletions

View File

@ -17,13 +17,13 @@
stdenv.mkDerivation rec {
pname = "direwolf";
version = "1.6";
version = "1.7";
src = fetchFromGitHub {
owner = "wb2osz";
repo = "direwolf";
rev = version;
sha256 = "0xmz64m02knbrpasfij4rrq53ksxna5idxwgabcw4n2b1ig7pyx5";
hash = "sha256-Vbxc6a6CK+wrBfs15dtjfRa1LJDKKyHMrg8tqsF7EX4=";
};
patches = [ ./fix-strlcpy-usage.patch ];

View File

@ -75,15 +75,15 @@ index ff18800..b1cb443 100644
-}
-
diff --git a/src/direwolf.h b/src/direwolf.h
index efc329b..22eb748 100644
index 69b0952..6f9ec1a 100644
--- a/src/direwolf.h
+++ b/src/direwolf.h
@@ -294,7 +294,7 @@ char *strcasestr(const char *S, const char *FIND);
#define HAVE_STRLCPY 1
@@ -328,7 +328,7 @@ char *strcasestr(const char *S, const char *FIND);
#endif
#endif
-#define DEBUG_STRL 1 // Extra Debug version when using our own strlcpy, strlcat.
+#define DEBUG_STRL 0 // Extra Debug version when using our own strlcpy, strlcat.
// Should be ignored if not supplying our own.
-#define DEBUG_STRL 1
+#define DEBUG_STRL 0
#if DEBUG_STRL
#ifndef HAVE_STRLCPY // Need to supply our own.