mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-27 22:44:56 +00:00
Merge pull request #266686 from r-ryantm/auto-update/whois
whois: 5.5.19 -> 5.5.20
This commit is contained in:
commit
1fac53cc22
@ -1,11 +0,0 @@
|
|||||||
--- a/utils.h
|
|
||||||
+++ b/utils.h
|
|
||||||
@@ -15,7 +15,7 @@
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Portability macros */
|
|
||||||
-#ifdef __GNUC__
|
|
||||||
+#if defined __GNUC__ && ! defined __clang__
|
|
||||||
# define NORETURN __attribute__((noreturn))
|
|
||||||
# define MALLOC_FREE __attribute__((malloc(free)))
|
|
||||||
# define NONNULL __attribute__((returns_nonnull))
|
|
@ -1,20 +1,16 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, perl, gettext, pkg-config, libidn2, libiconv }:
|
{ lib, stdenv, fetchFromGitHub, perl, gettext, pkg-config, libidn2, libiconv }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "5.5.19";
|
version = "5.5.20";
|
||||||
pname = "whois";
|
pname = "whois";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rfc1036";
|
owner = "rfc1036";
|
||||||
repo = "whois";
|
repo = "whois";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-4mFn5cY7ipAU4vOiHC2s69fxYJwShQEQ1eA8t5JvOP0=";
|
hash = "sha256-0vQ6GBBtNA6Phlqhl3NZvEJqoyZ1um7VdkpsIRKhsm4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
./clang.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ perl gettext pkg-config ];
|
nativeBuildInputs = [ perl gettext pkg-config ];
|
||||||
buildInputs = [ libidn2 libiconv ];
|
buildInputs = [ libidn2 libiconv ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user