lol

Merge pull request #234879 from trofi/zeromq-gcc-13-fix

zeromq: backport gcc-13 fix

authored by

Mario Rodas and committed by
GitHub
3ef16ffd cac91ff8

+20 -2
+20 -2
pkgs/development/libraries/zeromq/4.x.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, asciidoc, pkg-config, libsodium 2 - , enableDrafts ? false }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , fetchpatch 5 + , cmake 6 + , asciidoc 7 + , pkg-config 8 + , libsodium 9 + , enableDrafts ? false 10 + }: 3 11 4 12 stdenv.mkDerivation rec { 5 13 pname = "zeromq"; ··· 11 19 rev = "v${version}"; 12 20 sha256 = "sha256-epOEyHOswUGVwzz0FLxhow/zISmZHxsIgmpOV8C8bQM="; 13 21 }; 22 + 23 + patches = [ 24 + # Backport gcc-13 fix: 25 + # https://github.com/zeromq/libzmq/pull/4480 26 + (fetchpatch { 27 + name = "gcc-13.patch"; 28 + url = "https://github.com/zeromq/libzmq/commit/438d5d88392baffa6c2c5e0737d9de19d6686f0d.patch"; 29 + hash = "sha256-tSTYSrQzgnfbY/70QhPdOnpEXX05VAYwVYuW8P1LWf0="; 30 + }) 31 + ]; 14 32 15 33 nativeBuildInputs = [ cmake asciidoc pkg-config ]; 16 34 buildInputs = [ libsodium ];