Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ocaml-luv for openSUSE:Factory checked in at 2025-03-04 18:31:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ocaml-luv (Old) and /work/SRC/openSUSE:Factory/.ocaml-luv.new.19136 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-luv" Tue Mar 4 18:31:53 2025 rev:6 rq:1249876 version:0.5.12 Changes: -------- --- /work/SRC/openSUSE:Factory/ocaml-luv/ocaml-luv.changes 2023-05-23 14:53:58.694282501 +0200 +++ /work/SRC/openSUSE:Factory/.ocaml-luv.new.19136/ocaml-luv.changes 2025-03-04 18:32:14.981104650 +0100 @@ -1,0 +2,5 @@ +Mon Mar 3 03:03:03 UTC 2025 - oher...@suse.de + +- Handle strict API in newer OCaml versions + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ocaml-luv.spec ++++++ --- /var/tmp/diff_new_pack.6NZ0jF/_old 2025-03-04 18:32:15.777137531 +0100 +++ /var/tmp/diff_new_pack.6NZ0jF/_new 2025-03-04 18:32:15.777137531 +0100 @@ -1,7 +1,7 @@ # # spec file for package ocaml-luv # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -40,7 +40,7 @@ Patch0: %pkg.patch BuildRequires: ocaml BuildRequires: ocaml-dune -BuildRequires: ocaml-rpm-macros >= 20230101 +BuildRequires: ocaml-rpm-macros >= 20240909 BuildRequires: ocamlfind(ctypes) BuildRequires: pkgconfig(libuv) ++++++ _service ++++++ --- /var/tmp/diff_new_pack.6NZ0jF/_old 2025-03-04 18:32:15.825139514 +0100 +++ /var/tmp/diff_new_pack.6NZ0jF/_new 2025-03-04 18:32:15.829139680 +0100 @@ -1,5 +1,5 @@ <services> - <service name="tar_scm" mode="disabled"> + <service name="tar_scm" mode="manual"> <param name="filename">ocaml-luv</param> <param name="revision">776a7676da1c71d0b1afb2728d1a47c0f024f089</param> <param name="scm">git</param> @@ -10,10 +10,10 @@ <param name="versionrewrite-pattern">v(.*)</param> <param name="versionrewrite-replacement">\1</param> </service> - <service name="recompress" mode="disabled"> + <service name="recompress" mode="manual"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> - <service name="set_version" mode="disabled"/> + <service name="set_version" mode="manual"/> </services> ++++++ ocaml-luv-0.5.12.tar.xz ++++++ /work/SRC/openSUSE:Factory/ocaml-luv/ocaml-luv-0.5.12.tar.xz /work/SRC/openSUSE:Factory/.ocaml-luv.new.19136/ocaml-luv-0.5.12.tar.xz differ: char 13, line 1 ++++++ ocaml-luv.patch ++++++ --- /var/tmp/diff_new_pack.6NZ0jF/_old 2025-03-04 18:32:15.861141001 +0100 +++ /var/tmp/diff_new_pack.6NZ0jF/_new 2025-03-04 18:32:15.865141167 +0100 @@ -8,4 +8,84 @@ -I '%{lib:ctypes:.}' \ -I %{ocaml_where} \ |}^ i_option ^{| -o %{targets}; \ +--- a/src/c/helpers.c ++++ b/src/c/helpers.c +@@ -181,7 +181,8 @@ static void luv_getaddrinfo_trampoline( + } + + static void luv_getnameinfo_trampoline( +- uv_getnameinfo_t *c_request, int status, char *hostname, char *service) ++ uv_getnameinfo_t *c_request, int status, const char *hostname, ++ const char *service) + { + caml_acquire_runtime_system(); + value callback; +@@ -413,7 +414,7 @@ uv_getaddrinfo_cb luv_get_getaddrinfo_trampoline(void) + return luv_getaddrinfo_trampoline; + } + +-luv_getnameinfo_cb luv_get_getnameinfo_trampoline() ++uv_getnameinfo_cb luv_get_getnameinfo_trampoline(void) + { + return luv_getnameinfo_trampoline; + } +@@ -619,15 +620,6 @@ int luv_fs_poll_start( + return uv_fs_poll_start(handle, (uv_fs_poll_cb)poll_cb, path, interval); + } + +-int luv_getnameinfo( +- uv_loop_t *loop, uv_getnameinfo_t *req, luv_getnameinfo_cb getnameinfo_cb, +- const struct sockaddr *addr, int flags) +-{ +- return +- uv_getnameinfo( +- loop, req, (uv_getnameinfo_cb)getnameinfo_cb, addr, flags); +-} +- + int luv_read_start( + uv_stream_t *stream, uv_alloc_cb alloc_cb, luv_read_cb read_cb) + { +--- a/src/c/helpers.h ++++ b/src/c/helpers.h +@@ -55,9 +55,6 @@ typedef void (*luv_fs_event_cb)( + typedef void (*luv_fs_poll_cb)( + uv_fs_poll_t *handle, int status, uv_stat_t *prev, uv_stat_t *curr); + +-typedef void (*luv_getnameinfo_cb)( +- uv_getnameinfo_t *req, int status, char *hostname, char *service); +- + typedef void (*luv_read_cb)(uv_stream_t *stream, ssize_t nread, uv_buf_t *buf); + + typedef void (*luv_udp_recv_cb)( +@@ -78,7 +75,7 @@ uv_fs_cb luv_null_fs_callback_pointer(void); + luv_fs_event_cb luv_get_fs_event_trampoline(); + luv_fs_poll_cb luv_get_fs_poll_trampoline(); + uv_getaddrinfo_cb luv_get_getaddrinfo_trampoline(); +-luv_getnameinfo_cb luv_get_getnameinfo_trampoline(); ++uv_getnameinfo_cb luv_get_getnameinfo_trampoline(void); + uv_idle_cb luv_get_idle_trampoline(); + luv_once_cb luv_get_once_trampoline(); + uv_poll_cb luv_get_poll_trampoline(); +@@ -173,10 +170,6 @@ int luv_fs_poll_start( + uv_fs_poll_t *handle, luv_fs_poll_cb poll_cb, const char *path, + unsigned int interval); + +-int luv_getnameinfo( +- uv_loop_t *loop, uv_getnameinfo_t *req, luv_getnameinfo_cb getnameinfo_cb, +- const struct sockaddr *addr, int flags); +- + int luv_read_start( + uv_stream_t *stream, uv_alloc_cb alloc_cb, luv_read_cb read_cb); + +--- a/src/c/luv_c_function_descriptions.ml ++++ b/src/c/luv_c_function_descriptions.ml +@@ -1353,7 +1353,7 @@ struct + (void @-> returning trampoline) + + let getnameinfo = +- foreign "luv_getnameinfo" ++ foreign "uv_getnameinfo" + (ptr Loop.t @-> + ptr t @-> + trampoline @->