anchor.diff: -{ stdenv, fetchurl, cmake, bison, ncurses, openssl, readline, zlib, perl
  -, cctools, CoreServices }:
  +{ stdenv, fetchpatch, fetchurl, cmake, bison, ncurses, openssl
  +, readline, zlib, perl, cctools, CoreServices }:
   
   # Note: zlib is not required; MySQL can use an internal zlib.
   
  
positive.code:       artistic1 bsd0 bsd2 bsd3 bsdOriginal
        gpl2 lgpl2 lgpl21 mit publicDomain  licenses.zlib
      ];
      broken = stdenv.isAarch64 && stdenv.isDarwin;
    };
  }; in self
  
negative.code:     sha256 = "1mwrzwk9ap09s430fpdkyhvx5j2syd3xj2hyfzvanjphq4xqbrxi";
    };
  
    patches =
      # Minor type error that is a build failure as of clang 6.
      stdenv.lib.optional stdenv.cc.isClang (fetchpatch {
        url = "https://svn.freebsd.org/ports/head/databases/mysql55-server/files/patch-sql_sql_partition.cc?rev=469888";
        extraPrefix = "";
        sha256 = "09sya27z3ir3xy5mrv3x68hm274594y381n0i6r5s627x71jyszf";
      }) ++
      stdenv.lib.optionals stdenv.isCygwin [
        ./5.5.17-cygwin.patch
        ./5.5.17-export-symbols.patch
      ];
  
    preConfigure = stdenv.lib.optional stdenv.isDarwin ''
      ln -s /bin/ps $TMPDIR/ps
  