anchor.diff:      boolEn
       boolWt;
   
  -  version  = "1.0.2";
  +  version  = "1.1.1";
   in
   stdenv.mkDerivation rec {
     name = "libbluray-${version}";
  
positive.code:         outputHash
          outputHashAlgo
          urls;
        sha512Urls = map (n: "${n}.sha512") src.urls;
        failEarly = true;
      };
    };
  
negative.code:   postPatch = ''
      # Fix search path for BDJ jarfile
      # See triton-patches "libbluray/BDJ-JARFILE-path.patch"
      grep -q '[JDK_HOME],' configure.ac
      sed -i configure.ac \
        -e "/\[JDK_HOME\], \[\"\$JDK_HOME\"\]/a CPPFLAGS=\"''${CPPFLAGS} -DJARDIR='\\\\\"\\\$(datadir)/java\\\\\"'\""
      grep -q '"/usr/share/java/" BDJ_JARFILE' src/libbluray/bdj/bdj.c
      grep -q '"/usr/share/libbluray/lib/"' src/libbluray/bdj/bdj.c
      sed -i src/libbluray/bdj/bdj.c \
        -e 's|"/usr/share/java/" BDJ_JARFILE|JARDIR "/" BDJ_JARFILE|' \
        -e '/"\/usr\/share\/libbluray\/lib\/"/d'
      # Remove impure paths
      grep -q '/usr' src/libbluray/bdj/bdj.c
      sed -i src/libbluray/bdj/bdj.c \
        -e 's,/usr,/non-existent-path,' \
        -e 's,/etc,/non-existent-path,'
  