reverted the patch for DragonFlyBSD because it is wrong.