Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ntp for openSUSE:Factory checked in at 2026-06-12 19:28:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ntp (Old) and /work/SRC/openSUSE:Factory/.ntp.new.1981 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ntp" Fri Jun 12 19:28:20 2026 rev:143 rq:1358846 version:4.2.8p18 Changes: -------- --- /work/SRC/openSUSE:Factory/ntp/ntp.changes 2025-08-29 18:40:06.574600219 +0200 +++ /work/SRC/openSUSE:Factory/.ntp.new.1981/ntp.changes 2026-06-12 19:29:39.295516220 +0200 @@ -1,0 +2,12 @@ +Tue Jun 9 08:32:07 UTC 2026 - Dominique Leuenberger <[email protected]> + +- Fix build against glibc 2.43: + + Add ntp-glibc-2.43.patch: detect memchr presence in glibc. In + the past, we did not check for it and duplictaed the function + prototype in the local headers. This worked, as the glibc + provided prototype and our own matched. With glibc 2.43, it was + changed to a C11 _Generic macro, resultig in a conflict + + Add libtool BuildRequires and call autoreconf to bootstrap the + modified configure.ac + +------------------------------------------------------------------- New: ---- ntp-glibc-2.43.patch ----------(New B)---------- New:- Fix build against glibc 2.43: + Add ntp-glibc-2.43.patch: detect memchr presence in glibc. In the past, we did not check for it and duplictaed the function ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ntp.spec ++++++ --- /var/tmp/diff_new_pack.Pehmot/_old 2026-06-12 19:29:40.663572198 +0200 +++ /var/tmp/diff_new_pack.Pehmot/_new 2026-06-12 19:29:40.667572362 +0200 @@ -1,7 +1,7 @@ # # spec file for package ntp # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -60,11 +60,13 @@ Patch35: ntp-clarify-interface.patch Patch36: ntp-check-argv.patch Patch37: ntp-sntp-assert.patch +Patch38: ntp-glibc-2.43.patch BuildRequires: avahi-compat-mDNSResponder-devel BuildRequires: fdupes BuildRequires: libcap-devel BuildRequires: libevent-devel +BuildRequires: libtool BuildRequires: openssl-devel %if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200 BuildRequires: pps-tools-devel @@ -148,11 +150,13 @@ %patch -P 35 %patch -P 36 %patch -P 37 +%patch -P 38 -p1 # fix DOS line breaks sed -i 's/\r//g' html/scripts/{footer.txt,style.css} %build +autoreconf -fiv export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -W -DOPENSSL_LOAD_CONF -Wall -Wstrict-prototypes -Wpointer-arith -Wno-unused-parameter -fno-strict-aliasing -fstack-protector" %ifarch alpha s390x export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -O0" ++++++ ntp-glibc-2.43.patch ++++++ Index: ntp-4.2.8p18/sntp/configure.ac =================================================================== --- ntp-4.2.8p18.orig/sntp/configure.ac +++ ntp-4.2.8p18/sntp/configure.ac @@ -130,7 +130,7 @@ AC_DEFINE([HAVE_NO_NICE], 1, [sntp does AC_DEFINE([HAVE_TERMIOS], 1, [sntp does not care about TTY stuff]) # Checks for library functions. -AC_CHECK_FUNCS([socket]) +AC_CHECK_FUNCS([socket memchr strnlen]) NTP_UNITYBUILD
