anchor.diff:      "CPPFLAGS=-D_GNU_SOURCE"
     ];
   
  +  preBuild = lib.optionalString stdenv.isDarwin ''
  +    sed -i 's/,--version-script=.*$/\\/' libgamin/Makefile
  +  '';
  +
     patches = [ ./deadlock.patch ]
       ++ map fetchurl (import ./debian-patches.nix)
       ++ lib.optional stdenv.cc.isClang ./returnval.patch
  
positive.code:       name = "fix-pthread-mutex.patch";
        url = "https://git.alpinelinux.org/aports/plain/main/gamin/fix-pthread-mutex.patch?h=3.4-stable&id=a1a836b089573752c1b0da7d144c0948b04e8ea8";
        sha256 = "13igdbqsxb3sz0h417k6ifmq2n4siwqspj6slhc7fdl5wd1fxmdz";
      }) ++ lib.optional (cross) ./abstract-socket-namespace.patch ;
  
  
    meta = with lib; {
  
negative.code:   };
  }
  
  