cyrus-sasl: only apply patch on FreeBSD to fix #12279

I noticed the breakage but forgot this patch in another branch.
https://github.com/NixOS/nixpkgs/pull/10816#issuecomment-168486249

+4 -4
+4 -4
pkgs/development/libraries/cyrus-sasl/default.nix
··· 10 10 }; 11 11 12 12 buildInputs = 13 - [ openssl db gettext kerberos autoreconfHook ] 13 + [ openssl db gettext kerberos ] 14 + ++ lib.optional stdenv.isFreeBSD autoreconfHook 14 15 ++ lib.optional stdenv.isLinux pam 15 16 ++ lib.optional stdenv.isDarwin fixDarwinDylibNames; 16 17 17 18 patches = [ 18 19 ./missing-size_t.patch # https://bugzilla.redhat.com/show_bug.cgi?id=906519 19 - ( 20 + ] ++ lib.optional stdenv.isFreeBSD ( 20 21 fetchurl { 21 22 url = "http://www.linuxfromscratch.org/patches/blfs/svn/cyrus-sasl-2.1.26-fixes-3.patch"; 22 23 sha256 = "1vh4pc2rxxm6yvykx0b7kg09jbcwcxwv5rs6yq2ag3y8p6a9x86w"; 23 24 } 24 - ) 25 - ]; 25 + ); 26 26 27 27 configureFlags = [ 28 28 "--with-openssl=${openssl}"