We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 135e26f + 5cabb9a commit 2bd9ba9Copy full SHA for 2bd9ba9
pkgs/by-name/nt/ntp/package.nix
@@ -2,6 +2,7 @@
2
stdenv,
3
lib,
4
fetchurl,
5
+ autoreconfHook,
6
openssl,
7
perl,
8
pps-tools,
@@ -17,6 +18,12 @@ stdenv.mkDerivation rec {
17
18
hash = "sha256-z4TF8/saKVKElCYk2CP/+mNBROCWz8T5lprJjvX0aOU=";
19
};
20
21
+ # fix for gcc-14 compile failure
22
+ postPatch = ''
23
+ substituteInPlace sntp/m4/openldap-thread-check.m4 \
24
+ --replace-fail "pthread_detach(NULL)" "pthread_detach(pthread_self())"
25
+ '';
26
+
27
configureFlags = [
28
"--sysconfdir=/etc"
29
"--localstatedir=/var"
@@ -26,6 +33,8 @@ stdenv.mkDerivation rec {
33
"--with-yielding-select=yes"
34
] ++ lib.optional stdenv.hostPlatform.isLinux "--enable-linuxcaps";
35
36
+ nativeBuildInputs = [ autoreconfHook ];
37
38
buildInputs =
30
39
[
31
40
openssl
0 commit comments