Merge pull request #166399 from SuperSandro2000/ntp

This commit is contained in:
Sandro 2022-04-10 03:24:38 +02:00 committed by GitHub
commit c89640e796
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "0ijsylc7a4jlpxsqa0jq1w1c7333id8pcakzl7a5749ria1xp0l5";
};
prePatch = ''
postPatch = ''
sed -i '20i#include <sys/cdefs.h>' src/ntpd.h
sed -i '19i#include <sys/cdefs.h>' src/log.c
'';
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
];
meta = with lib; {
homepage = "http://www.openntpd.org/";
homepage = "https://www.openntpd.org/";
license = licenses.bsd3;
description = "OpenBSD NTP daemon (Debian port)";
platforms = platforms.all;