X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=guestfs-tools%2F0007-Update-common-submodule-to-latest.patch;fp=guestfs-tools%2F0007-Update-common-submodule-to-latest.patch;h=19f7cd26b4edadb551f239750656a43c96e1758d;hb=c24e0f2ae18c2716610a7b991bb45ccfb35b1fe3;hp=0000000000000000000000000000000000000000;hpb=9bb0bf8e28c8deab03258d3bea257ec670b82d8a;p=fedora-reviews.git diff --git a/guestfs-tools/0007-Update-common-submodule-to-latest.patch b/guestfs-tools/0007-Update-common-submodule-to-latest.patch new file mode 100644 index 0000000..19f7cd2 --- /dev/null +++ b/guestfs-tools/0007-Update-common-submodule-to-latest.patch @@ -0,0 +1,95 @@ +From 6e80a33b70f89c18cd2fbde739243e8c5a7efc25 Mon Sep 17 00:00:00 2001 +From: "Richard W.M. Jones" +Date: Thu, 25 Mar 2021 08:14:49 +0000 +Subject: [PATCH 7/7] Update common submodule to latest. + +--- + common | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Submodule common ca8a16a926..7c39a06fe3: +diff --git a/common/mlstdutils/Makefile.am b/common/mlstdutils/Makefile.am +index 2b4aed8..650f18c 100644 +--- a/common/mlstdutils/Makefile.am ++++ b/common/mlstdutils/Makefile.am +@@ -85,7 +85,7 @@ OCAMLPACKAGES = \ + -I $(builddir) + OCAMLPACKAGES_TESTS = $(MLSTDUTILS_CMA) + if HAVE_OCAML_PKG_OUNIT +-OCAMLPACKAGES_TESTS += -package oUnit ++OCAMLPACKAGES_TESTS += -package ounit2 + endif + + OCAMLFLAGS = $(OCAML_FLAGS) $(OCAML_WARN_ERROR) -ccopt '$(CFLAGS)' +diff --git a/common/mltools/Makefile.am b/common/mltools/Makefile.am +index 6bb2b88..5cec178 100644 +--- a/common/mltools/Makefile.am ++++ b/common/mltools/Makefile.am +@@ -129,7 +129,7 @@ if HAVE_OCAML_PKG_GETTEXT + OCAMLPACKAGES += -package gettext-stub + endif + if HAVE_OCAML_PKG_OUNIT +-OCAMLPACKAGES_TESTS += -package oUnit ++OCAMLPACKAGES_TESTS += -package ounit2 + endif + + OCAMLCLIBS = \ +@@ -263,7 +263,8 @@ tools_utils_tests_DEPENDENCIES = \ + $(MLTOOLS_CMA) \ + $(top_srcdir)/ocaml-link.sh + tools_utils_tests_LINK = \ +- $(top_srcdir)/ocaml-link.sh -cclib '-lutils $(LIBXML2_LIBS) -lgnu' -- \ ++ $(top_srcdir)/ocaml-link.sh \ ++ -cclib '-pthread -lpthread -lutils $(LIBXML2_LIBS) -lgnu' -- \ + $(OCAMLFIND) $(BEST) $(OCAMLFLAGS) $(OCAMLLINKFLAGS) \ + $(OCAMLPACKAGES) $(OCAMLPACKAGES_TESTS) \ + $(tools_utils_tests_THEOBJECTS) -o $@ +@@ -290,7 +291,8 @@ JSON_tests_DEPENDENCIES = \ + $(MLTOOLS_CMA) \ + $(top_srcdir)/ocaml-link.sh + JSON_tests_LINK = \ +- $(top_srcdir)/ocaml-link.sh -- \ ++ $(top_srcdir)/ocaml-link.sh \ ++ -cclib '-pthread -lpthread' -- \ + $(OCAMLFIND) $(BEST) $(OCAMLFLAGS) $(OCAMLLINKFLAGS) \ + $(OCAMLPACKAGES) $(OCAMLPACKAGES_TESTS) \ + $(JSON_tests_THEOBJECTS) -o $@ +@@ -303,7 +305,8 @@ JSON_parser_tests_DEPENDENCIES = \ + $(MLTOOLS_CMA) \ + $(top_srcdir)/ocaml-link.sh + JSON_parser_tests_LINK = \ +- $(top_srcdir)/ocaml-link.sh -cclib '$(OCAMLCLIBS)' -- \ ++ $(top_srcdir)/ocaml-link.sh \ ++ -cclib '-pthread -lpthread $(OCAMLCLIBS)' -- \ + $(OCAMLFIND) $(BEST) $(OCAMLFLAGS) $(OCAMLLINKFLAGS) \ + $(OCAMLPACKAGES) $(OCAMLPACKAGES_TESTS) \ + $(JSON_parser_tests_THEOBJECTS) -o $@ +diff --git a/common/mlutils/Makefile.am b/common/mlutils/Makefile.am +index e86d7bb..17dfac3 100644 +--- a/common/mlutils/Makefile.am ++++ b/common/mlutils/Makefile.am +@@ -112,10 +112,10 @@ c_utils_unit_tests_CFLAGS = $(libmlcutils_a_CFLAGS) + if !HAVE_OCAMLOPT + # Can't call this c_utils_unit_tests_OBJECTS because automake gets confused. + c_utils_unit_tests_THEOBJECTS = $(c_utils_unit_tests_BOBJECTS) +-c_utils_unit_tests.cmo: OCAMLPACKAGES += -package oUnit ++c_utils_unit_tests.cmo: OCAMLPACKAGES += -package ounit2 + else + c_utils_unit_tests_THEOBJECTS = $(c_utils_unit_tests_XOBJECTS) +-c_utils_unit_tests.cmx: OCAMLPACKAGES += -package oUnit ++c_utils_unit_tests.cmx: OCAMLPACKAGES += -package ounit2 + endif + + OCAMLLINKFLAGS = \ +@@ -131,7 +131,7 @@ c_utils_unit_tests_DEPENDENCIES = \ + c_utils_unit_tests_LINK = \ + $(top_srcdir)/ocaml-link.sh -cclib '-lutils -lgnu' -- \ + $(OCAMLFIND) $(BEST) $(OCAMLFLAGS) \ +- $(OCAMLPACKAGES) -package oUnit \ ++ $(OCAMLPACKAGES) -package ounit2 \ + $(OCAMLLINKFLAGS) \ + $(c_utils_unit_tests_THEOBJECTS) -o $@ + +-- +2.29.0.rc2 +