summaryrefslogtreecommitdiff
path: root/sysutils/condor/files/patch-externals-build_gsoap-2.7.6c-p2
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2008-01-28 14:27:37 +0000
committerPav Lucistnik <pav@FreeBSD.org>2008-01-28 14:27:37 +0000
commit4daa554c27b35c83e4ad5bb930aa02e90a2c3c5f (patch)
treeb5aa37cae1913797fc4e7fbf182bb252f833dfa0 /sysutils/condor/files/patch-externals-build_gsoap-2.7.6c-p2
parent- Update to 7.0.0 (diff)
- Update to 7.0.0
Notes
Notes: svn path=/head/; revision=206320
Diffstat (limited to 'sysutils/condor/files/patch-externals-build_gsoap-2.7.6c-p2')
-rw-r--r--sysutils/condor/files/patch-externals-build_gsoap-2.7.6c-p217
1 files changed, 17 insertions, 0 deletions
diff --git a/sysutils/condor/files/patch-externals-build_gsoap-2.7.6c-p2 b/sysutils/condor/files/patch-externals-build_gsoap-2.7.6c-p2
new file mode 100644
index 000000000000..b7b60123baee
--- /dev/null
+++ b/sysutils/condor/files/patch-externals-build_gsoap-2.7.6c-p2
@@ -0,0 +1,17 @@
+--- ../externals/bundles/gsoap/2.7.6c-p2/build_gsoap-2.7.6c-p2.orig 2007-09-19 15:06:58.000000000 -0400
++++ ../externals/bundles/gsoap/2.7.6c-p2/build_gsoap-2.7.6c-p2 2008-01-24 11:58:23.000000000 -0500
+@@ -107,6 +107,14 @@
+ cd .. && echo Changed directory to `pwd`
+ cd .. && echo Changed directory to `pwd`
+
++##
++## FreeBSD Patch
++## Fixes gethostbyname_r
++##
++if [ `uname` = "FreeBSD" ]; then
++ perl -pi -e 's/host = (gethostbyname_r\(.*, SOAP_BUFLEN,) (&soap->errnum\);)/$1 &host, $2/g' soapcpp2/stdsoap2.c*
++fi
++
+ make
+ if [ $? -ne 0 ]
+ then