<commit_before>{ stdenv, fetchurl }:

stdenv.mkDerivation rec {
  name = "libfpx-1.3.1-6";

  src = fetchurl {
    url = "mirror://imagemagick/delegates/${name}.tar.xz";
    sha256 = "150cbdrjvsnnyij0xy81qn3wwx3k7w6plss49656ragiaiadza4f";
  };

  # This dead code causes a duplicate symbol error in Clang so just remove it
  postPatch = stdenv.lib.optionalString stdenv.cc.isClang ''
    substituteInPlace jpeg/ejpeg.h --replace "int No_JPEG_Header_Flag" ""
  '';

  meta = with stdenv.lib; {
    homepage = http://www.imagemagick.org;
    description = "A library for manipulating FlashPIX images";
    license = "Flashpix";
    platforms = platforms.all;
    maintainers = with maintainers; [ wkennington ];
  };
}<commit_msg>libfpx: fix build with gcc6<commit_after>{ stdenv, fetchurl }:

stdenv.mkDerivation rec {
  name = "libfpx-1.3.1-6";

  src = fetchurl {
    url = "mirror://imagemagick/delegates/${name}.tar.xz";
    sha256 = "150cbdrjvsnnyij0xy81qn3wwx3k7w6plss49656ragiaiadza4f";
  };

  # This dead code causes a duplicate symbol error in Clang so just remove it
  postPatch = stdenv.lib.optionalString stdenv.cc.isClang ''
    substituteInPlace jpeg/ejpeg.h --replace "int No_JPEG_Header_Flag" ""
  '';

  CXXFLAGS = "-std=c++11";

  meta = with stdenv.lib; {
    homepage = http://www.imagemagick.org;
    description = "A library for manipulating FlashPIX images";
    license = "Flashpix";
    platforms = platforms.all;
    maintainers = with maintainers; [ wkennington ];
  };
}
{'fraction_non_alphanumeric': 0.12349799732977303, 'fraction_numerical': 0.03271028037383177, 'mean_word_length': 3.6552795031055902, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3304640', 'n_tokens_mistral': 581, 'n_tokens_neox': 553, 'n_words': 116}