diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/createrepo-c/createrepo-c/0001-Move-cr_compress_groupfile-outside-WITH_LIBMODULEMD.patch | 46 | ||||
-rw-r--r-- | meta/recipes-devtools/createrepo-c/createrepo-c_1.0.1.bb (renamed from meta/recipes-devtools/createrepo-c/createrepo-c_1.0.0.bb) | 3 |
2 files changed, 1 insertions, 48 deletions
diff --git a/meta/recipes-devtools/createrepo-c/createrepo-c/0001-Move-cr_compress_groupfile-outside-WITH_LIBMODULEMD.patch b/meta/recipes-devtools/createrepo-c/createrepo-c/0001-Move-cr_compress_groupfile-outside-WITH_LIBMODULEMD.patch deleted file mode 100644 index ea768e06e6..0000000000 --- a/meta/recipes-devtools/createrepo-c/createrepo-c/0001-Move-cr_compress_groupfile-outside-WITH_LIBMODULEMD.patch +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | From 5326969acc0c7e9e3cabca202154e4120c0d2c2f Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 26 Sep 2023 14:52:11 -0700 | ||
4 | Subject: [PATCH] Move cr_compress_groupfile outside WITH_LIBMODULEMD | ||
5 | |||
6 | This function is used in code which is not conditional under WITH_LIBMODULEMD | ||
7 | therefore the declaration should also match its definition scope | ||
8 | |||
9 | Fixes build issues flagged by clang | ||
10 | |||
11 | src/createrepo_c.c:850:16: error: incompatible integer to pointer conversion initializing 'gchar *' (aka 'char *') with an | ||
12 | expression of type 'int' [-Wint-conversion] | ||
13 | | 850 | gchar *compressed_path = cr_compress_groupfile(cmd_options->groupfile_fullpath, tmp_out_repo, compression); | ||
14 | | | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
15 | |||
16 | Upstream-Status: Submitted [https://github.com/rpm-software-management/createrepo_c/pull/387] | ||
17 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
18 | --- | ||
19 | src/metadata_internal.h | 6 +++--- | ||
20 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
21 | |||
22 | diff --git a/src/metadata_internal.h b/src/metadata_internal.h | ||
23 | index 8ba0576..ecfbac2 100644 | ||
24 | --- a/src/metadata_internal.h | ||
25 | +++ b/src/metadata_internal.h | ||
26 | @@ -52,14 +52,14 @@ cr_metadata_load_modulemd(ModulemdModuleIndex **moduleindex, | ||
27 | * @param dest_dir Path to directory where the compressed groupfile should be stored. | ||
28 | * @return Path to the new compressed groupfile. Has to be freed by the caller. | ||
29 | */ | ||
30 | + | ||
31 | +#endif /* WITH_LIBMODULEMD */ | ||
32 | + | ||
33 | gchar * | ||
34 | cr_compress_groupfile(const char *groupfile, | ||
35 | const char *dest_dir, | ||
36 | cr_CompressionType compression); | ||
37 | |||
38 | - | ||
39 | -#endif /* WITH_LIBMODULEMD */ | ||
40 | - | ||
41 | #ifdef __cplusplus | ||
42 | } | ||
43 | #endif | ||
44 | -- | ||
45 | 2.42.0 | ||
46 | |||
diff --git a/meta/recipes-devtools/createrepo-c/createrepo-c_1.0.0.bb b/meta/recipes-devtools/createrepo-c/createrepo-c_1.0.1.bb index f4e65492f8..44d9213bd4 100644 --- a/meta/recipes-devtools/createrepo-c/createrepo-c_1.0.0.bb +++ b/meta/recipes-devtools/createrepo-c/createrepo-c_1.0.1.bb | |||
@@ -8,10 +8,9 @@ SRC_URI = "git://github.com/rpm-software-management/createrepo_c;branch=master;p | |||
8 | file://0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \ | 8 | file://0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \ |
9 | file://0001-include-rpm-rpmstring.h.patch \ | 9 | file://0001-include-rpm-rpmstring.h.patch \ |
10 | file://time64fix.patch \ | 10 | file://time64fix.patch \ |
11 | file://0001-Move-cr_compress_groupfile-outside-WITH_LIBMODULEMD.patch \ | ||
12 | " | 11 | " |
13 | 12 | ||
14 | SRCREV = "0cc13920991b2fb8f87fb9d352bd3394c2983289" | 13 | SRCREV = "e7af838e04009cd2f848a00e1ea31cc42c8f3ae7" |
15 | 14 | ||
16 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
17 | 16 | ||