mmh: unstable-2020-08-21 -> unstable-2023-09-24, unbreak on GCC 14

+14 -8
+14 -8
pkgs/by-name/mm/mmh/package.nix
··· 7 7 flex, 8 8 }: 9 9 let 10 - rev = "b17ea39dc17e5514f33b3f5c34ede92bd16e208c"; 10 + rev = "7e93dee44df1a7e8f551a2e408a600b2e90a0974"; 11 11 in 12 12 stdenv.mkDerivation { 13 13 pname = "mmh"; 14 - version = "unstable-2020-08-21"; 14 + version = "unstable-2023-09-24"; 15 15 16 16 src = fetchurl { 17 17 url = "http://git.marmaro.de/?p=mmh;a=snapshot;h=${rev};sf=tgz"; 18 18 name = "mmh-${rev}.tgz"; 19 - sha256 = "1bqfxafw4l2y46pnsxgy4ji1xlyifzw01k1ykbsjj9p61q3nv6l6"; 19 + hash = "sha256-t2Qnwtkli+/MDk6uaikS2SIP9LucK64os8kGcn2ytRU="; 20 20 }; 21 21 22 22 postPatch = '' 23 23 substituteInPlace sbr/Makefile.in \ 24 - --replace "ar " "${stdenv.cc.targetPrefix}ar " 24 + --replace-fail "ar " "${stdenv.cc.targetPrefix}ar " 25 25 ''; 26 26 27 27 buildInputs = [ ncurses ]; ··· 30 30 flex 31 31 ]; 32 32 33 - meta = with lib; { 33 + # mhl.c:1031:58: error: pointer type mismatch in conditional expression [] 34 + # 1031 | putstr((c1->c_flags & RTRIM) ? rtrim(cp) : cp); 35 + NIX_CFLAGS_COMPILE = [ " -Wno-error=incompatible-pointer-types" ]; 36 + 37 + enableParallelBuilding = true; 38 + 39 + meta = { 34 40 description = "Set of electronic mail handling programs"; 35 41 homepage = "http://marmaro.de/prog/mmh"; 36 - license = licenses.bsd3; 37 - platforms = platforms.unix; 42 + license = lib.licenses.bsd3; 43 + platforms = lib.platforms.unix; 38 44 broken = stdenv.hostPlatform.isDarwin; 39 - maintainers = with maintainers; [ kaction ]; 45 + maintainers = with lib.maintainers; [ kaction ]; 40 46 }; 41 47 }