Skip to contentSkip to conversation

cmocka: upgrade 1.1.8 -> 2.0.2

PATCH New Yi Zhao 1 participant 2 messages Mar 22

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 cmocka: upgrade 1.1.8 -> 2.0.2

License-Update: Rename COPYING to LICENSE, no text content changed.

ChangeLog:
https://gitlab.com/cmocka/cmocka/-/blob/cmocka-2.0.2/CHANGELOG.md

---
 .../cmocka/{cmocka_1.1.8.bb => cmocka_2.0.2.bb}            | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-test/cmocka/{cmocka_1.1.8.bb => cmocka_2.0.2.bb} (90%)
meta-oe/recipes-test/cmocka/cmocka_2.0.2.bb renamed from meta-oe/recipes-test/cmocka/cmocka_1.1.8.bb +4 -3
similarity index 90%
rename from meta-oe/recipes-test/cmocka/cmocka_1.1.8.bb
rename to meta-oe/recipes-test/cmocka/cmocka_2.0.2.bb
index f7e8b96ffb..11e8db87d8 100644
@@ -4,13 +4,14 @@ platforms (including embedded) and with different compilers."
 HOMEPAGE = "https://cmocka.org/"
 
 LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
-SRCREV = "eba4d6ffca53b500ab8dfabc30256bb6c3088b2b"
-SRC_URI = "git://git.cryptomilk.org/projects/cmocka.git;protocol=https;branch=stable-1.1;tag=cmocka-${PV} \
+SRCREV = "fefa2b8a023121f7235e18ed17249e4012dd144f"
+SRC_URI = "git://git.cryptomilk.org/projects/cmocka.git;protocol=https;branch=stable-2.0;tag=cmocka-${PV} \
            file://run-ptest \
           "
 
+
 inherit cmake ptest
 
 EXTRA_OECMAKE += "${@bb.utils.contains('PTEST_ENABLED', '1', '-DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=ON', '', d)}"
Signature · 1 line
2.34.1
author
#1 lore raw

PATCH 1/1 xfsprogs: upgrade 6.6.0 -> 6.18.0

ChangeLog:
https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/tree/doc/CHANGES?h=v6.18.0

* Drop PACKAGECONFIG[blkid] as libblkid is now a hard requirement.
* Refresh local patches.
* Remove usrmerge workaround.
* Remove the following patches as the issues have been fixed upstream:
0001-support-usrmerge.patch 0005-Replace-off64_t-stat64-with-off_t-stat.patch

---
 ...nclude-xfs-linux.h-after-sys-mman.h.patch} |   4 +-
 .../files/0001-support-usrmerge.patch         |  40 -
 ...se-AC_SYS_LARGERFILE-autoconf-macro.patch} |   6 +-
 ...doc-man-support-reproducible-builds.patch} |   9 +-
 ...place-off64_t-stat64-with-off_t-stat.patch | 724 ------------------
 .../files/remove_flags_from_build_flags.patch |  14 +-
 .../{xfsprogs_6.6.0.bb => xfsprogs_6.18.0.bb} |  45 +-
 7 files changed, 32 insertions(+), 810 deletions(-)
 rename meta-filesystems/recipes-utils/xfsprogs/files/{0002-include-include-xfs-linux.h-after-sys-mman.h.patch => 0001-include-include-xfs-linux.h-after-sys-mman.h.patch} (88%)
 delete mode 100644 meta-filesystems/recipes-utils/xfsprogs/files/0001-support-usrmerge.patch
 rename meta-filesystems/recipes-utils/xfsprogs/files/{0004-configure-Use-AC_SYS_LARGERFILE-autoconf-macro.patch => 0002-configure-Use-AC_SYS_LARGERFILE-autoconf-macro.patch} (83%)
 rename meta-filesystems/recipes-utils/xfsprogs/files/{0001-doc-man-support-reproducible-builds.patch => 0003-doc-man-support-reproducible-builds.patch} (91%)
 delete mode 100644 meta-filesystems/recipes-utils/xfsprogs/files/0005-Replace-off64_t-stat64-with-off_t-stat.patch
 rename meta-filesystems/recipes-utils/xfsprogs/{xfsprogs_6.6.0.bb => xfsprogs_6.18.0.bb} (54%)
meta-filesystems/recipes-utils/xfsprogs/files/0001-include-include-xfs-linux.h-after-sys-mman.h.patch renamed from meta-filesystems/recipes-utils/xfsprogs/files/0002-include-include-xfs-linux.h-after-sys-mman.h.patch +2 -2
similarity index 88%
rename from meta-filesystems/recipes-utils/xfsprogs/files/0002-include-include-xfs-linux.h-after-sys-mman.h.patch
rename to meta-filesystems/recipes-utils/xfsprogs/files/0001-include-include-xfs-linux.h-after-sys-mman.h.patch
index f924cd1a16..d9aa309607 100644
@@ -1,4 +1,4 @@
-From 11a42df394de3dc520e72a016296dcc6dea02a7a Mon Sep 17 00:00:00 2001
+From 04a4272a36f6b2a1ad30a10fcf36a4a1c68a5449 Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Thu, 23 Aug 2018 05:33:57 +0000
 Subject: [PATCH] include include/xfs/linux.h after <sys/mman.h>
@@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <[email protected]>
  1 file changed, 3 insertions(+), 2 deletions(-)
 
 diff --git a/io/mmap.c b/io/mmap.c
-index dbfcca5..ca00df1 100644
+index 4c03e3d..3763551 100644
 --- a/io/mmap.c
 +++ b/io/mmap.c
 @@ -4,10 +4,11 @@
meta-filesystems/recipes-utils/xfsprogs/files/0001-support-usrmerge.patch deleted +0 -40
deleted file mode 100644
index 84f4f88e5f..0000000000
@@ -1,40 +0,0 @@
-From e81633a276dd6a9f919e5e5c15481ac50a8e485d Mon Sep 17 00:00:00 2001
-From: Changqing Li <[email protected]>
-Date: Fri, 30 Aug 2019 14:59:06 +0800
-Subject: [PATCH] support usrmerge
-
-Upstream-Status: Inappropriate [oe-specific]
-
-Signed-off-by: Changqing Li <[email protected]>
----
- configure.ac | 7 +++----
- 1 file changed, 3 insertions(+), 4 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 4b7e4c8..f1afbd6 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -110,8 +110,7 @@ AC_ARG_ENABLE(libicu,
- # If the user specified a libdir ending in lib64 do not append another
- # 64 to the library names.
- #
--base_libdir=`basename "$libdir"`
--case $base_libdir in
-+case `basename "$libdir"` in
- lib64)
-   enable_lib64=no
- esac
-@@ -125,8 +124,8 @@ esac
- #
- case $exec_prefix:$prefix in
- NONE:NONE | NONE:/usr | /usr:*)
--  root_sbindir='/sbin'
--  root_libdir="/${base_libdir}"
-+  root_sbindir="${base_sbindir}"
-+  root_libdir="${base_libdir}"
-   ;;
- *)
-   root_sbindir="${sbindir}"
--- 
-2.7.4
-
meta-filesystems/recipes-utils/xfsprogs/files/0002-configure-Use-AC_SYS_LARGERFILE-autoconf-macro.patch renamed from meta-filesystems/recipes-utils/xfsprogs/files/0004-configure-Use-AC_SYS_LARGERFILE-autoconf-macro.patch +3 -3
similarity index 83%
rename from meta-filesystems/recipes-utils/xfsprogs/files/0004-configure-Use-AC_SYS_LARGERFILE-autoconf-macro.patch
rename to meta-filesystems/recipes-utils/xfsprogs/files/0002-configure-Use-AC_SYS_LARGERFILE-autoconf-macro.patch
index 60be8bfa34..d62ad022c3 100644
@@ -1,4 +1,4 @@
-From f62d3e5cc1d4e416b97778059f0b3c20d777a4c2 Mon Sep 17 00:00:00 2001
+From 471bbf39f6b9104d39f0b9c8d4a64328dd5ae58e Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Wed, 21 Dec 2022 17:40:11 -0800
 Subject: [PATCH] configure: Use AC_SYS_LARGERFILE autoconf macro
@@ -12,10 +12,10 @@ Signed-off-by: Khem Raj <[email protected]>
  1 file changed, 3 insertions(+)
 
 diff --git a/configure.ac b/configure.ac
-index 5a6bf185..a6f556ec 100644
+index a8b8f7d..f8caa73 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -10,6 +10,9 @@ AC_PROG_INSTALL
+@@ -18,6 +18,9 @@ AC_PROG_INSTALL
  LT_INIT
  
  AC_PROG_CC
meta-filesystems/recipes-utils/xfsprogs/files/0003-doc-man-support-reproducible-builds.patch renamed from meta-filesystems/recipes-utils/xfsprogs/files/0001-doc-man-support-reproducible-builds.patch +3 -6
similarity index 91%
rename from meta-filesystems/recipes-utils/xfsprogs/files/0001-doc-man-support-reproducible-builds.patch
rename to meta-filesystems/recipes-utils/xfsprogs/files/0003-doc-man-support-reproducible-builds.patch
index 182d45e4e2..fed3f3451a 100644
@@ -1,4 +1,4 @@
-From c98d9022377e88f8cc2d557a4ffd321e6f2dd320 Mon Sep 17 00:00:00 2001
+From a2d78f6716157d6e1e94d9864e351887d74d0b30 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <[email protected]>
 Date: Tue, 18 Nov 2025 01:04:27 -0800
 Subject: [PATCH] doc/man: support reproducible builds
@@ -16,7 +16,7 @@ Signed-off-by: Hongxu Jia <[email protected]>
  2 files changed, 3 insertions(+), 3 deletions(-)
 
 diff --git a/doc/Makefile b/doc/Makefile
-index 83dfa38b..17b63c85 100644
+index 83dfa38..17b63c8 100644
 --- a/doc/Makefile
 +++ b/doc/Makefile
 @@ -14,7 +14,7 @@ include $(BUILDRULES)
@@ -29,7 +29,7 @@ index 83dfa38b..17b63c85 100644
  install: default
  	$(INSTALL) -m 755 -d $(PKG_DOC_DIR)
 diff --git a/include/buildmacros b/include/buildmacros
-index 9183e5bc..6ba0d515 100644
+index 9183e5b..6ba0d51 100644
 --- a/include/buildmacros
 +++ b/include/buildmacros
 @@ -105,7 +105,7 @@ INSTALL_MAN = \
@@ -49,6 +49,3 @@ index 9183e5bc..6ba0d515 100644
 +			$(ZIP) -n --best -c < $$f > $$f.gz; \
  		fi; \
  	done
--- 
-2.49.0
-
meta-filesystems/recipes-utils/xfsprogs/files/0005-Replace-off64_t-stat64-with-off_t-stat.patch deleted +0 -724

724 lines not on this page · raw message

meta-filesystems/recipes-utils/xfsprogs/files/remove_flags_from_build_flags.patch +7 -7
index 5bab162c85..9ea2a4f188 100644
@@ -1,15 +1,15 @@
 Upstream-Status: Pending
 
-Index: xfsprogs-4.14.0/include/builddefs.in
+Index: xfsprogs-6.18.0/include/builddefs.in
 ===================================================================
---- xfsprogs-4.14.0.orig/include/builddefs.in
-+++ xfsprogs-4.14.0/include/builddefs.in
-@@ -168,7 +168,7 @@ ifeq ($(ENABLE_GETTEXT),yes)
- GCFLAGS += -DENABLE_GETTEXT
- endif
+--- xfsprogs-6.18.0.orig/include/builddefs.in
++++ xfsprogs-6.18.0/include/builddefs.in
+@@ -180,7 +180,7 @@ SANITIZER_CXXFLAGS = $(SANITIZER_CFLAGS)
+ GCXXFLAGS = $(GCFLAGS)
+ PCXXFLAGS = $(PCFLAGS)
  
 -BUILD_CFLAGS += $(GCFLAGS) $(PCFLAGS)
 +BUILD_CFLAGS += $(GCFLAGS)
  # First, Sanitizer, Global, Platform, Local CFLAGS
  CFLAGS += $(FCFLAGS) $(SANITIZER_CFLAGS) $(OPTIMIZER) $(GCFLAGS) $(PCFLAGS) $(LCFLAGS)
- 
+ CXXFLAGS += $(FCXXFLAGS) $(SANITIZER_CXXFLAGS) $(OPTIMIZER) $(GCXXFLAGS) $(PCXXFLAGS) $(LCXXFLAGS)
meta-filesystems/recipes-utils/xfsprogs/xfsprogs_6.18.0.bb renamed from meta-filesystems/recipes-utils/xfsprogs/xfsprogs_6.6.0.bb +17 -28

79 lines not on this page · raw message

Signature · 1 line
2.34.1