summaryrefslogtreecommitdiff
path: root/sysutils/cfengine/files/patch-af
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-17 14:20:09 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-17 14:20:09 +0000
commita26a1682086138fe4d8ce551479081aa3c97313c (patch)
tree1e958e705adfb5114e090470b3d9c84d1169c83e /sysutils/cfengine/files/patch-af
parentActually pass over maintainership to Marco Molteni <molter@tin.it> (diff)
This patch fixes the following problems:
* cfengine deadlocking in the resolver due to being linked against libc_r * cfd issuing 'ioctl: No such network device' whenever it is invoked. change maintainer email add more docs Patches obtained from Michael Kyle <mike@rainc.com> PR: 29649 Submitted by: MAINTAINER
Notes
Notes: svn path=/head/; revision=46366
Diffstat (limited to 'sysutils/cfengine/files/patch-af')
-rw-r--r--sysutils/cfengine/files/patch-af13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/cfengine/files/patch-af b/sysutils/cfengine/files/patch-af
new file mode 100644
index 000000000000..c7a33e7b209e
--- /dev/null
+++ b/sysutils/cfengine/files/patch-af
@@ -0,0 +1,13 @@
+Fix the linking so only cfd is linked with pthreads. This keeps cfengine
+from trying to use thread-unsafe resolver functions.
+
+--- src/Makefile.am.orig Fri Aug 10 23:58:47 2001
++++ src/Makefile.am Fri Aug 10 23:59:07 2001
+@@ -95,6 +95,7 @@
+ patches.c
+
+ cfd_LDADD = -L../pub -lpub $(LEXLIB)
++cfd_LDFLAGS = -pthread $(LDFLAGS)
+
+ cfrun_SOURCES = \
+ cfrun.c \