about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-12-03 14:38:57 +0100
committerGitHub <noreply@github.com>2023-12-03 14:38:57 +0100
commit7975a2ccd43afa4799f1ef1a9c6ec64b6be6b19f (patch)
treeeead618ee35e291e5cff06f343d186591e419902
parentf5f2b471f39196131ebda426656d709a2d1dadf8 (diff)
parentcda7e5350c3b62c8946a1449b9e0ff956cd6dd7b (diff)
downloadnixlib-7975a2ccd43afa4799f1ef1a9c6ec64b6be6b19f.tar
nixlib-7975a2ccd43afa4799f1ef1a9c6ec64b6be6b19f.tar.gz
nixlib-7975a2ccd43afa4799f1ef1a9c6ec64b6be6b19f.tar.bz2
nixlib-7975a2ccd43afa4799f1ef1a9c6ec64b6be6b19f.tar.lz
nixlib-7975a2ccd43afa4799f1ef1a9c6ec64b6be6b19f.tar.xz
nixlib-7975a2ccd43afa4799f1ef1a9c6ec64b6be6b19f.tar.zst
nixlib-7975a2ccd43afa4799f1ef1a9c6ec64b6be6b19f.zip
Merge pull request #269978 from josephst/whois-implicit-functions
whois: add implicit.patch to fix builds with clang 16 
-rw-r--r--pkgs/tools/networking/whois/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/tools/networking/whois/default.nix b/pkgs/tools/networking/whois/default.nix
index fe4950d5c240..992303ec6072 100644
--- a/pkgs/tools/networking/whois/default.nix
+++ b/pkgs/tools/networking/whois/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromGitHub, perl, gettext, pkg-config, libidn2, libiconv }:
+{ lib, stdenv, fetchFromGitHub, fetchpatch, perl, gettext, pkg-config, libidn2, libiconv }:
 
 stdenv.mkDerivation rec {
   version = "5.5.20";
@@ -11,6 +11,14 @@ stdenv.mkDerivation rec {
     hash = "sha256-0vQ6GBBtNA6Phlqhl3NZvEJqoyZ1um7VdkpsIRKhsm4=";
   };
 
+  patches = [
+    (fetchpatch {
+      url = "https://github.com/macports/macports-ports/raw/93de4e9fc1e5e8427bf98f48209e783a5e8fab57/net/whois/files/implicit.patch";
+      extraPrefix = "";
+      hash = "sha256-ogVylQz//tpXxPNIWIHkhghvToU1z1D1FfnUBdZLyRY=";
+    })
+  ];
+
   nativeBuildInputs = [ perl gettext pkg-config ];
   buildInputs = [ libidn2 libiconv ];