anchor.diff:  VIRTUAL_NAME ?= "virtual/db"
   RCONFLICTS_${PN} = "db3"
   
  -SRC_URI += "file://arm-thumb-mutex_db5.patch \
  -            file://fix-parallel-build.patch \
  +SRC_URI += "file://fix-parallel-build.patch \
               file://0001-atomic-Rename-local-__atomic_compare_exchange-to-avo.patch \
               file://0001-configure-Add-explicit-tag-options-to-libtool-invoca.patch \
               file://sequence-type.patch \
  
positive.code: #
  # base recipe: meta/recipes-support/db/db_5.3.28.bb
  # base branch: master
  # base commit: d886fa118c930d0e551f2a0ed02b35d08617f746
  #
  # Version 5 of the Berkeley DB from Sleepycat
  #
  
negative.code: # All the --disable-* options replace --enable-smallbuild, which breaks a bunch of stuff (eg. postfix)
  DB5_CONFIG ?= "--enable-o_direct --disable-cryptography --disable-queue --disable-replication --disable-verify --disable-compat185 --disable-sql"
  
  EXTRA_OECONF = "${DB5_CONFIG} --enable-shared --enable-cxx --with-sysroot STRIP=true"
  
  EXTRA_OEMAKE += "LIBTOOL='./${HOST_SYS}-libtool'"
  
  EXTRA_AUTORECONF += "--exclude=autoheader  -I ${S}/dist/aclocal -I${S}/dist/aclocal_java"
  