public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Miroslav Lichvar <mlichvar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/synce4l] rawhide: update to 1.1.2
Date: Wed, 08 Jul 2026 11:20:12 GMT [thread overview]
Message-ID: <178350961213.1.16113906020520136087.rpms-synce4l-1b7c46cb10ae@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/synce4l
Branch : rawhide
Commit : 1b7c46cb10aec78435d337d67fb173dfb585f8a0
Author : Miroslav Lichvar <mlichvar@redhat.com>
Date : 2026-07-08T13:18:03+02:00
Stats : +3/-96 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/synce4l/c/1b7c46cb10aec78435d337d67fb173dfb585f8a0?branch=rawhide
Log:
update to 1.1.2
---
diff --git a/.gitignore b/.gitignore
index 0827ae9..080f3a7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/synce4l-1.1.0.tar.gz
+/synce4l-1.1.2.tar.gz
diff --git a/sources b/sources
index 807a3d0..d014420 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (synce4l-1.1.0.tar.gz) = d13418f9d229d3b335cf60f4f7a00bb21850d17c3d4f6486e0e13ce7ce6e2435f697b08e69a33980561d34d403148fb40e648eceb2c0b56a5841366d200fd650
+SHA512 (synce4l-1.1.2.tar.gz) = 02965147f7043b34994c6861b08f717f1fe5820ee5942e30aad424d0342f84c944080c1ec1be3f80ecc03601f1d0ce4fccef43eca5e54a5d332a8e96044f1ac7
diff --git a/synce4l-ccwarns.patch b/synce4l-ccwarns.patch
deleted file mode 100644
index 0b6ac2b..0000000
--- a/synce4l-ccwarns.patch
+++ /dev/null
@@ -1,90 +0,0 @@
-commit b8089eabc28d665cba462c29aabdb159f0f153a6
-Author: Miroslav Lichvar <mlichvar@redhat.com>
-Date: Tue May 28 13:38:13 2024 +0200
-
- Fix more compiler warnings
-
- Fix the following warnings observed when -O2 and -D_FORTIFY_SOURCE=2 are
- added to CFLAGS.
-
- synce_dev.c: In function ‘rebuild_inputs_prio’:
- synce_dev.c:610:28: warning: ‘best_c_idx’ may be used uninitialized [-Wmaybe-uninitialized]
- 610 | all[best_c_idx] = NULL;
- | ^
- synce_dev.c:582:39: note: ‘best_c_idx’ was declared here
- 582 | int i = 0, prio_count = 0, j, best_c_idx, ret;
- | ^~~~~~~~~~
-
- synce_manager.c: In function ‘synce_manager_server_thread’:
- synce_manager.c:260:9: warning: ‘strncpy’ specified bound 108 equals destination size [-Wstringop-truncation]
- 260 | strncpy(server.sun_path, synce_clock_get_socket_path(clk),
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 261 | sizeof(server.sun_path));
- | ~~~~~~~~~~~~~~~~~~~~~~~~
-
- synce_manager.c:343:20: warning: ‘ret’ may be used uninitialized [-Wmaybe-uninitialized]
- 343 | if (!ret)
- | ^
- synce_manager.c:241:26: note: ‘ret’ was declared here
- 241 | int tlv_num = 0, ret, i, resp_len, bytes_read;
- | ^~~
-
- synce_manager.c: In function ‘synce_manager_server_thread’:
- synce_manager.c:346:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
- 346 | write(new_socket, response, resp_len);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
- Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
-
-diff --git a/synce_dev.c b/synce_dev.c
-index fc784ed..5e2bbb9 100644
---- a/synce_dev.c
-+++ b/synce_dev.c
-@@ -579,7 +579,7 @@ static bool source_invalid(struct synce_clock_source *c)
- int rebuild_inputs_prio(struct synce_dev *dev)
- {
- struct synce_clock_source *c, *best_c, **all, **prioritized;
-- int i = 0, prio_count = 0, j, best_c_idx, ret;
-+ int i = 0, prio_count = 0, j, best_c_idx = 0, ret;
- uint32_t prio;
-
- all = calloc(dev->num_clock_sources, sizeof(*all));
-diff --git a/synce_manager.c b/synce_manager.c
-index b9ba08d..598ef7e 100644
---- a/synce_manager.c
-+++ b/synce_manager.c
-@@ -257,8 +257,8 @@ static void *synce_manager_server_thread(void *arg)
- }
-
- server.sun_family = AF_UNIX;
-- strncpy(server.sun_path, synce_clock_get_socket_path(clk),
-- sizeof(server.sun_path));
-+ snprintf(server.sun_path, sizeof(server.sun_path), "%s",
-+ synce_clock_get_socket_path(clk));
-
- if (bind(server_fd, (struct sockaddr *)&server, sizeof(server)) < 0) {
- pr_err("%s Bind failed", __func__);
-@@ -289,10 +289,12 @@ static void *synce_manager_server_thread(void *arg)
- bytes_read = recv(new_socket, command, MAX_COMMAND_SIZE, 0);
- if (bytes_read <= 0) {
- synce_manager_generate_err_tlv(&err_tlv, "NULL command");
-+ ret = -1;
- goto return_response;
- } else if (bytes_read > MAX_COMMAND_SIZE) {
- synce_manager_generate_err_tlv(&err_tlv,
- "Command size exceeds MAX_COMMAND_SIZE");
-+ ret = -1;
- goto return_response;
- }
- ret = synce_manager_parse_input(command, bytes_read, &tlv_array,
-@@ -340,8 +342,8 @@ return_response:
- if (tlv_array)
- free((void *)tlv_array);
-
-- if (!ret)
-- write(new_socket, response, resp_len);
-+ if (!ret && write(new_socket, response, resp_len) != resp_len)
-+ ret = -1;
- close(new_socket);
- }
-
diff --git a/synce4l.spec b/synce4l.spec
index 6a2c0b8..606eaf4 100644
--- a/synce4l.spec
+++ b/synce4l.spec
@@ -1,5 +1,5 @@
Name: synce4l
-Version: 1.1.0
+Version: 1.1.2
Release: 6%{?dist}
Summary: SyncE implementation for Linux
@@ -8,9 +8,6 @@ URL: https://github.com/intel/synce4l
Source0: https://github.com/intel/synce4l/archive/%{version}/synce4l-%{version}.tar.gz
Source1: synce4l.service
-# Fix compiler warnings to avoid build failures with -Werror
-Patch1: synce4l-ccwarns.patch
-
BuildRequires: gcc make systemd
BuildRequires: libnl3-devel
reply other threads:[~2026-07-08 11:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178350961213.1.16113906020520136087.rpms-synce4l-1b7c46cb10ae@fedoraproject.org \
--to=mlichvar@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox