aboutsummaryrefslogtreecommitdiff
path: root/sysutils
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
parenta29aab9eee13b590b11afdc22cd2abdf2382522d (diff)
downloadports-4daa554c27b35c83e4ad5bb930aa02e90a2c3c5f.tar.gz
ports-4daa554c27b35c83e4ad5bb930aa02e90a2c3c5f.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/condor/files/patch-externals-build_gsoap-2.7.6c-p217
-rw-r--r--sysutils/condor/files/patch-externals-build_krb5-1.4.312
-rw-r--r--sysutils/condor/files/patch-src_condor_sysapi_arch_c16
-rw-r--r--sysutils/condor/files/patch-src_configure_ac32
-rw-r--r--sysutils/condor/files/patch-src_scripts_make_final_tarballs22
5 files changed, 99 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
diff --git a/sysutils/condor/files/patch-externals-build_krb5-1.4.3 b/sysutils/condor/files/patch-externals-build_krb5-1.4.3
new file mode 100644
index 000000000000..488beb8e8c51
--- /dev/null
+++ b/sysutils/condor/files/patch-externals-build_krb5-1.4.3
@@ -0,0 +1,12 @@
+--- ../externals/bundles/krb5/1.4.3/build_krb5-1.4.3.orig Wed Jan 23 16:39:33 2008
++++ ../externals/bundles/krb5/1.4.3/build_krb5-1.4.3 Wed Jan 23 16:42:39 2008
+@@ -24,8 +24,8 @@
+
+ # FreeBSD patches
+ if [ `uname` = "FreeBSD" ]; then
+- patch -p < $PACKAGE_BUILD_DIR/makefile1.freebsd.patch
+ patch -p < $PACKAGE_BUILD_DIR/makefile2.freebsd.patch
++ find ./ -name "Makefile" | xargs perl -pi -e 's/(^CFLAGS = .*$)/$1 \-DEAI_NODATA=EAI_NONAME/g'
+ fi
+
+ make
diff --git a/sysutils/condor/files/patch-src_condor_sysapi_arch_c b/sysutils/condor/files/patch-src_condor_sysapi_arch_c
new file mode 100644
index 000000000000..bf65f4387f6c
--- /dev/null
+++ b/sysutils/condor/files/patch-src_condor_sysapi_arch_c
@@ -0,0 +1,16 @@
+--- condor_sysapi/arch.c.orig 2008-01-25 13:36:45.000000000 -0500
++++ condor_sysapi/arch.c 2008-01-25 13:38:45.000000000 -0500
+@@ -201,6 +201,13 @@
+ else if( !strcmp(machine, "x86_64") ) {
+ sprintf( tmp, "X86_64" );
+ }
++ //
++ // FreeBSD 64-bit reports themselves as "amd64"
++ // Andy - 01/25/2008
++ //
++ else if( !strcmp(machine, "amd64") ) {
++ sprintf( tmp, "X86_64" );
++ }
+ else if( !strncmp( sysname, "IRIX", 4 ) ) {
+ sprintf( tmp, "SGI" );
+ }
diff --git a/sysutils/condor/files/patch-src_configure_ac b/sysutils/condor/files/patch-src_configure_ac
new file mode 100644
index 000000000000..0ef0e1b5d856
--- /dev/null
+++ b/sysutils/condor/files/patch-src_configure_ac
@@ -0,0 +1,32 @@
+--- ./configure.ac.orig 2008-01-22 17:27:40.000000000 -0500
++++ ./configure.ac 2008-01-25 12:13:08.000000000 -0500
+@@ -387,8 +387,14 @@
+ _cv_arch="IA64"
+ elif test $arch = "ppc" -o $arch = "ppc64" ; then
+ _cv_arch="CONDOR_PPC"
+- elif test $arch = "x86_64" ; then
+- _cv_arch="X86_64"
++ ##
++ ## Globus does not work on 64-bit
++ ## We will use the i386 build until this gets fixed (hopefully not by me!)
++ ## Andy - 01/25/2008
++ ##
++ elif test $arch = "amd64" -o $arch = "x86_64" ; then
++ _cv_arch="I386"
++ #_cv_arch="X86_64"
+ fi
+
+ ##
+@@ -840,6 +846,12 @@
+ CompilerMinor="1"
+ CompilerPatch="2"
+ ;;
++ "4.2.1" )
++ CompilerKind="GCC"
++ CompilerMajor="4"
++ CompilerMinor="2"
++ CompilerPatch="1"
++ ;;
+ * )
+ AC_MSG_RESULT([ERROR])
+ AC_MSG_ERROR([Condor will not compile with gcc version $gcc_vers])
diff --git a/sysutils/condor/files/patch-src_scripts_make_final_tarballs b/sysutils/condor/files/patch-src_scripts_make_final_tarballs
new file mode 100644
index 000000000000..153fbed46441
--- /dev/null
+++ b/sysutils/condor/files/patch-src_scripts_make_final_tarballs
@@ -0,0 +1,22 @@
+--- ./condor_scripts/make_final_tarballs.orig 2008-01-24 11:35:58.000000000 -0500
++++ ./condor_scripts/make_final_tarballs 2008-01-24 11:36:37.000000000 -0500
+@@ -262,7 +262,8 @@
+ "ppc_aix52" => "aix5.2",
+ "i386_freebsd4" => "freebsd4",
+ "i386_freebsd5" => "freebsd5",
+- "i386_freebsd6" => "freebsd6"
++ "i386_freebsd6" => "freebsd6",
++ "i386_freebsd7" => "freebsd7"
+ );
+
+ my %archname = (
+@@ -308,7 +309,8 @@
+ "ppc_aix52" => "aix",
+ "i386_freebsd4" => "x86",
+ "i386_freebsd5" => "x86",
+- "i386_freebsd6" => "x86"
++ "i386_freebsd6" => "x86",
++ "i386_freebsd7" => "x86"
+ );
+
+