From: Changqing Li <[email protected]>

Current version is 2.0.3, the lastrelease of libmng is in 2015,
add a patch to fix it

Signed-off-by: Changqing Li <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
(cherry picked from commit c91f9c0a4bd7175c108ff89d8e80a134c84d7e1a)
Signed-off-by: Ankur Tyagi <[email protected]>
---
 ...0001-configura.ac-update-the-version.patch | 32 +++++++++++++++++++
 .../recipes-graphics/libmng/libmng_2.0.3.bb   |  3 +-
 2 files changed, 34 insertions(+), 1 deletion(-)
 create mode 100644 
meta-oe/recipes-graphics/libmng/libmng/0001-configura.ac-update-the-version.patch

diff --git 
a/meta-oe/recipes-graphics/libmng/libmng/0001-configura.ac-update-the-version.patch
 
b/meta-oe/recipes-graphics/libmng/libmng/0001-configura.ac-update-the-version.patch
new file mode 100644
index 0000000000..f0f644f807
--- /dev/null
+++ 
b/meta-oe/recipes-graphics/libmng/libmng/0001-configura.ac-update-the-version.patch
@@ -0,0 +1,32 @@
+From 8bf709daf0fe0657b55dad50a3a04854140c69a3 Mon Sep 17 00:00:00 2001
+From: Changqing Li <[email protected]>
+Date: Wed, 3 Dec 2025 13:57:39 +0800
+Subject: [PATCH] configura.ac: update the version
+
+current version is 2.0.3
+
+Upstream-Status: Inactive-Upstream [ lastrelease: 2015-04-20 ]
+
+https://sourceforge.net/projects/libmng/files/libmng-devel/
+
+Signed-off-by: Changqing Li <[email protected]>
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 04f9c7a..a7ca9d8 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -3,7 +3,7 @@ AC_PREREQ(2.65)
+ #
+ define([MAJ_NR],[2])
+ define([MIN_NR],[0])
+-define([REL_NR],[2])
++define([REL_NR],[3])
+ #
+ #AC_INIT (PACKAGE, VERSION, [BUG-REPORT], [TARNAME], [URL])
+ AC_INIT( [libmng],[MAJ_NR.MIN_NR.REL_NR],
+-- 
+2.34.1
+
diff --git a/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb 
b/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb
index c92696b8bf..fe76520d15 100644
--- a/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb
+++ b/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb
@@ -8,7 +8,8 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=32becdb8930f90eab219a8021130ec09"
 SECTION = "devel"
 DEPENDS = "zlib"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz \
+           file://0001-configura.ac-update-the-version.patch"
 
 SRC_URI[sha256sum] = 
"cf112a1fb02f5b1c0fce5cab11ea8243852c139e669c44014125874b14b7dfaa"
 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#122546): 
https://lists.openembedded.org/g/openembedded-devel/message/122546
Mute This Topic: https://lists.openembedded.org/mt/116711341/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to