summaryrefslogtreecommitdiff
path: root/net-misc/ntp/files/ntp-4.2.8-sntp-test-pthreads.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/ntp/files/ntp-4.2.8-sntp-test-pthreads.patch')
-rw-r--r--net-misc/ntp/files/ntp-4.2.8-sntp-test-pthreads.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-misc/ntp/files/ntp-4.2.8-sntp-test-pthreads.patch b/net-misc/ntp/files/ntp-4.2.8-sntp-test-pthreads.patch
new file mode 100644
index 000000000000..4f8d15ff854a
--- /dev/null
+++ b/net-misc/ntp/files/ntp-4.2.8-sntp-test-pthreads.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/563922
+http://bugs.ntp.org/show_bug.cgi?id=2906
+
+--- a/sntp/tests/Makefile.in
++++ b/sntp/tests/Makefile.in
+@@ -783,6 +783,7 @@ base_LDADD = \
+ $(LIBOPTS_LDADD) \
+ $(LDADD_LIBEVENT) \
+ $(top_builddir)/../libntp/libntp.a \
++ $(PTHREAD_LIBS) \
+ $(LDADD_LIBNTP) \
+ $(LDADD_NTP) \
+ $(NULL)