Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2b8a526c5a2a
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fccf2a62fb92
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Mar 31, 2019

  1. dnsperf: fixup build with new bind version

    (cherry picked from commit c327693)
    vcunat committed Mar 31, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    codetheweb Max Isom
    Copy the full SHA
    fccf2a6 View commit details
Showing with 9 additions and 0 deletions.
  1. +9 −0 pkgs/tools/networking/dnsperf/default.nix
9 changes: 9 additions & 0 deletions pkgs/tools/networking/dnsperf/default.nix
Original file line number Diff line number Diff line change
@@ -10,6 +10,15 @@ stdenv.mkDerivation rec {
sha256 = "03kfc65s5a9csa5i7xjsv0psq144k8d9yw7xlny61bg1h2kg1db4";
};

# Almost the same as https://github.com/DNS-OARC/dnsperf/pull/12
postPatch = ''
find . -name '*.h' -o -name '*.c' | xargs sed \
-e 's/\<isc_boolean_t\>/bool/g' -e 's/\<ISC_TRUE\>/true/g' -e 's/\<ISC_FALSE\>/false/g' \
-e 's/\<isc_uint/uint/g' -e 's/\<ISC_UINT/UINT/g' -e 's/\<isc_int/int/g' \
-e 's/\<ISC_PRINT_QUADFORMAT\>/PRIu64/g' -e 's/\<ISC_TF\>//g' \
-i --
'';

outputs = [ "out" "man" "doc" ];

buildInputs = [ bind zlib openssl ]