diff --git a/meta-oe/recipes-devtools/cloc/cloc_2.10.bb b/meta-oe/recipes-devtools/cloc/cloc_2.12.bb
similarity index 91%
rename from meta-oe/recipes-devtools/cloc/cloc_2.10.bb
rename to meta-oe/recipes-devtools/cloc/cloc_2.12.bb
index 611a351a9b..3717857a9f 100644
--- a/meta-oe/recipes-devtools/cloc/cloc_2.10.bb
+++ b/meta-oe/recipes-devtools/cloc/cloc_2.12.bb
@@ -5,7 +5,7 @@ LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=2c1c00f9d3ed9e24fa69b932b7e7aff2"
 
 SRC_URI = "git://github.com/AlDanial/cloc.git;protocol=https;branch=master"
-SRCREV = "eb5cef64db2b2d4380f501568cc584b7cab4ba50"
+SRCREV = "59b2a2725fcd39c18e5680df419e862e7c699967"
 
 UPSTREAM_CHECK_URI = "https://github.com/AlDanial/${BPN}/releases"
 UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
