diff --git a/devel/jansson/Makefile b/devel/jansson/Makefile
index 8a72df34fa2b..c2a83367747d 100644
--- a/devel/jansson/Makefile
+++ b/devel/jansson/Makefile
@@ -1,8 +1,13 @@
 PORTNAME=	jansson
 DISTVERSION=	2.15.1
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	https://github.com/akheron/${PORTNAME}/releases/download/v${DISTVERSION}/
 
+PATCH_SITES=	https://github.com/akheron/jansson/commit/
+PATCHFILES=	c9e39c0154f7cdb2de6c33b8c4640a669fea0b58.patch:-p1 \
+		fb012a005573435af7fef8d37df39c06b3c37c65.patch:-p1
+
 MAINTAINER=	vanilla@FreeBSD.org
 COMMENT=	C library for encoding, decoding, and manipulating JSON data
 WWW=		https://github.com/akheron/jansson
diff --git a/devel/jansson/distinfo b/devel/jansson/distinfo
index 3c73a285249b..8da10247ea78 100644
--- a/devel/jansson/distinfo
+++ b/devel/jansson/distinfo
@@ -1,3 +1,7 @@
-TIMESTAMP = 1782950446
+TIMESTAMP = 1783617134
 SHA256 (jansson-2.15.1.tar.bz2) = f9aa4b3ec8496fee69db94f06f3d76fd4a26b012ee9bf1e917078c2cd2841881
 SIZE (jansson-2.15.1.tar.bz2) = 488779
+SHA256 (c9e39c0154f7cdb2de6c33b8c4640a669fea0b58.patch) = c20677519c2b90c371f66467d4ce033caa3937a2eb21abae844deab92e98a1d9
+SIZE (c9e39c0154f7cdb2de6c33b8c4640a669fea0b58.patch) = 608
+SHA256 (fb012a005573435af7fef8d37df39c06b3c37c65.patch) = 22b26b5476f58a5d27f8faad0ba77a0890eed792790e68462e36915d3057422d
+SIZE (fb012a005573435af7fef8d37df39c06b3c37c65.patch) = 2122
