summaryrefslogtreecommitdiff
path: root/gnu/packages/ntp.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-09-11 00:39:19 +0200
committerMarius Bakke <marius@gnu.org>2022-09-11 19:43:15 +0200
commit150dda28f98a453204f321dc07355fe12aaceff9 (patch)
treef8429ecc3dc7ccce00cb03ee6ae5e86956bfda1a /gnu/packages/ntp.scm
parente916bc6703b224fb7eeb36cfb720e148fce0e7d2 (diff)
gnu: ntp: Adjust for glibc 2.34 and later.
* gnu/packages/ntp.scm (ntp)[source](patches): Add one more origin.
Diffstat (limited to 'gnu/packages/ntp.scm')
-rw-r--r--gnu/packages/ntp.scm12
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/ntp.scm b/gnu/packages/ntp.scm
index 949d4486ef..b942703ff3 100644
--- a/gnu/packages/ntp.scm
+++ b/gnu/packages/ntp.scm
@@ -129,7 +129,17 @@ time-stamping or reference clock, sub-microsecond accuracy is possible.")
(file-name "ntp-gcc-compat.patch")
(sha256
(base32
- "13d28sg45rflc7kqiv30asrhna8n69wlpwx16l65rravgpvp90h2")))))
+ "13d28sg45rflc7kqiv30asrhna8n69wlpwx16l65rravgpvp90h2")))
+ ;; And another one that fixes the build with glibc 2.34:
+ ;; <https://bugs.ntp.org/show_bug.cgi?id=3741>.
+ (origin
+ (method url-fetch)
+ (uri "https://bugs.ntp.org/attachment.cgi?id=1814\
+&action=diff&collapsed=&headers=1&format=raw")
+ (file-name "ntp-glibc-compat.patch")
+ (sha256
+ (base32
+ "0z8ndaw3l086mbm42v9gfgxild1yvg0anxf3724lsalvgqlndcj4")))))
(modules '((guix build utils)))
(snippet
'(begin