Backport patch to fix 2022.4 symbol version parent
authorDan Nicholson <dbn@endlessos.org>
Sat, 18 Jun 2022 17:39:41 +0000 (11:39 -0600)
committerDan Nicholson <dbn@endlessos.org>
Sat, 18 Jun 2022 17:39:41 +0000 (11:39 -0600)
debian/patches/lib-Fix-symbol-versioning-inheritance.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/lib-Fix-symbol-versioning-inheritance.patch b/debian/patches/lib-Fix-symbol-versioning-inheritance.patch
new file mode 100644 (file)
index 0000000..b0b4889
--- /dev/null
@@ -0,0 +1,46 @@
+From: Colin Walters <walters@verbum.org>
+Date: Wed, 8 Jun 2022 16:27:30 -0400
+Subject: [PATCH] lib: Fix symbol versioning inheritance
+
+I messed this up; the last release should inherit from the previous
+release (N-1) and not the previous to that (N-2).
+
+I think (hope) this isn't an ABI break...
+
+Just noticed this when I was going to add a new symbol.
+
+Applied-upstream: 2022.4, commit:145d91d1c96755bc61a468b5da1061547909121e
+---
+ src/libostree/libostree-released.sym | 2 +-
+ tests/test-symbols.sh                | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/libostree/libostree-released.sym b/src/libostree/libostree-released.sym
+index 8b8a722d8..5afdfd3e2 100644
+--- a/src/libostree/libostree-released.sym
++++ b/src/libostree/libostree-released.sym
+@@ -681,7 +681,7 @@ LIBOSTREE_2022.4 {
+ global:
+   ostree_fs_get_all_xattrs;
+   ostree_fs_get_all_xattrs_at;
+-} LIBOSTREE_2021.5;
++} LIBOSTREE_2022.2;
+ /* NOTE: Only add more content here in release commits!  See the
+  * comments at the top of this file.
+diff --git a/tests/test-symbols.sh b/tests/test-symbols.sh
+index a888ef358..a14849d56 100755
+--- a/tests/test-symbols.sh
++++ b/tests/test-symbols.sh
+@@ -54,7 +54,7 @@ echo 'ok documented symbols'
+ # ONLY update this checksum in release commits!
+ cat > released-sha256.txt <<EOF
+-fb66f84d9af5270ed34fdf9f70f97e59394336a9559f493917704bdffa19027d  ${released_syms}
++34ff6c97e20242a449b210f7452a12d0bb6ac9e135638f71c2d27b2f2b583ef3  ${released_syms}
+ EOF
+ sha256sum -c released-sha256.txt
+-- 
+2.30.2
+
index dd253aafae78f4c8d0f232b971e42b0715332180..cb3cc41df60c5aba16bfc35438f9d10e8eae3067 100644 (file)
@@ -1,2 +1,3 @@
 test-basic-c-Don-t-assert-that-extended-attributes-are-av.patch
+lib-Fix-symbol-versioning-inheritance.patch
 debian/Skip-test-pull-repeated-during-CI.patch