Skip to Content.
Sympa Menu

sm-commit - [[SM-Commit] ] GIT changes to master grimoire by Remko van der Vossen (e6a513a1b2f762da4c83663fed7844afdf7045dc)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Remko van der Vossen <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
  • Subject: [[SM-Commit] ] GIT changes to master grimoire by Remko van der Vossen (e6a513a1b2f762da4c83663fed7844afdf7045dc)
  • Date: Wed, 26 Mar 2025 19:37:24 +0000

GIT changes to master grimoire by Remko van der Vossen <wich AT sourcemage.org>:

net/ntp/BUILD | 1 +
net/ntp/DETAILS | 4 ++--
net/ntp/HISTORY | 5 +++++
net/ntp/PRE_BUILD | 4 ++++
net/ntp/ntp-pthread-config.patch | 16 ++++++++++++++++
5 files changed, 28 insertions(+), 2 deletions(-)

New commits:
commit e6a513a1b2f762da4c83663fed7844afdf7045dc
Author: Remko van der Vossen <wich AT sourcemage.org>
Commit: Remko van der Vossen <wich AT sourcemage.org>

ntp: version 4.2.8p18 and build fixes

diff --git a/net/ntp/BUILD b/net/ntp/BUILD
index f2c781c..38f89a0 100755
--- a/net/ntp/BUILD
+++ b/net/ntp/BUILD
@@ -10,4 +10,5 @@ if [[ ! -z $GLIBCVER ]] && [[ ${GLIBCVER/.} > 24 ]]; then
fi &&

OPTS="$OPTS $NTP_IPV6" &&
+CFLAGS+=" -Wno-incompatible-pointer-types" &&
default_build
diff --git a/net/ntp/DETAILS b/net/ntp/DETAILS
index 0ac3a17..353aeaa 100755
--- a/net/ntp/DETAILS
+++ b/net/ntp/DETAILS
@@ -1,10 +1,10 @@
SPELL=ntp
- VERSION=4.2.8p17
+ VERSION=4.2.8p18
SECURITY_PATCH=8
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION

SOURCE_URL[0]=http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/$SOURCE
-
SOURCE_HASH=sha512:e003bfe6f46065890663bc6791b02277f64318b692e49d8d678b76c23b245f357834eb483b0a44f1f47783166e5504686b36494af77f6eebe6f844cd3f2b6a8c
+
SOURCE_HASH=sha512:c314f645d7d85e1028327657f30557cdfd86d417565b6c9fcbb40fca8a4c22a97b70908e8b73c6b31e14915b5b910ae0055fd42e819dd3cb48583b2a826c3fc4
WEB_SITE=http://www.ntp.org/
ENTERED=20011004
LICENSE[0]=PD
diff --git a/net/ntp/HISTORY b/net/ntp/HISTORY
index 6af3450..a5fd7579 100644
--- a/net/ntp/HISTORY
+++ b/net/ntp/HISTORY
@@ -1,3 +1,8 @@
+2025-03-26 Remko van der Vossen <wich AT sourcemage.org>
+ * DETAILS: version 4.2.8.p18
+ * PRE_BUILD, ntp-pthread-config.patch: fix for detecting pthreads
+ * BUILD: build fix for incomaptible pointer type
+
2023-08-08 Stephane Fontaine <esselfe16 AT gmail.com>
* DETAILS: updated to 4.2.8p17

diff --git a/net/ntp/PRE_BUILD b/net/ntp/PRE_BUILD
index 01bf115..c917103 100755
--- a/net/ntp/PRE_BUILD
+++ b/net/ntp/PRE_BUILD
@@ -1,6 +1,10 @@
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&

+patch -p1 < "$SPELL_DIRECTORY"/ntp-pthread-config.patch &&
+
+autoreconf &&
+
patch -p0 <<EOT
--- ntpd/ntpd.c.orig 2015-03-14 14:10:57.520666886 +0100
+++ ntpd/ntpd.c 2015-03-14 15:25:22.182850928 +0100
diff --git a/net/ntp/ntp-pthread-config.patch
b/net/ntp/ntp-pthread-config.patch
new file mode 100644
index 0000000..92924ab
--- /dev/null
+++ b/net/ntp/ntp-pthread-config.patch
@@ -0,0 +1,16 @@
+diff -Naur ntp-4.2.8p18.orig/sntp/m4/openldap-thread-check.m4
ntp-4.2.8p18/sntp/m4/openldap-thread-check.m4
+--- ntp-4.2.8p18.orig/sntp/m4/openldap-thread-check.m4 2023-05-31
12:31:39.000000000 +0200
++++ ntp-4.2.8p18/sntp/m4/openldap-thread-check.m4 2025-03-26
11:54:16.029059000 +0100
+@@ -262,10 +262,8 @@
+ dnl save the flags
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[
+ #include <pthread.h>
+-#ifndef NULL
+-#define NULL (void*)0
+-#endif
+-]],
[[pthread_detach(NULL);]])],[ol_cv_func_pthread_detach=yes],[ol_cv_func_pthread_detach=no])
++pthread_t thread;
++]],
[[pthread_detach(thread);]])],[ol_cv_func_pthread_detach=yes],[ol_cv_func_pthread_detach=no])
+ ])
+
+ if test $ol_cv_func_pthread_detach = no ; then


  • [[SM-Commit] ] GIT changes to master grimoire by Remko van der Vossen (e6a513a1b2f762da4c83663fed7844afdf7045dc), Remko van der Vossen, 03/26/2025

Archive powered by MHonArc 2.6.24.

Top of Page