diff --git a/debian/patches/lib-Fix-symbol-versioning-inheritance.patch b/debian/patches/lib-Fix-symbol-versioning-inheritance.patch new file mode 100644 index 00000000..b0b48899 --- /dev/null +++ b/debian/patches/lib-Fix-symbol-versioning-inheritance.patch @@ -0,0 +1,46 @@ +From: Colin Walters +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 <