summaryrefslogtreecommitdiff
path: root/editors/openoffice-2.0-devel/files/patch-solenv
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice-2.0-devel/files/patch-solenv')
-rw-r--r--editors/openoffice-2.0-devel/files/patch-solenv32
1 files changed, 32 insertions, 0 deletions
diff --git a/editors/openoffice-2.0-devel/files/patch-solenv b/editors/openoffice-2.0-devel/files/patch-solenv
new file mode 100644
index 000000000000..09aea487e79d
--- /dev/null
+++ b/editors/openoffice-2.0-devel/files/patch-solenv
@@ -0,0 +1,32 @@
+http://qa.openoffice.org/issues/show_bug.cgi?id=48304
+
+Index: bin/modules/installer/download.pm
+===================================================================
+RCS file: /cvs/tools/solenv/bin/modules/installer/download.pm,v
+retrieving revision 1.13
+diff -u -r1.13 download.pm
+--- solenv/bin/modules/installer/download.pm 25 Apr 2005 11:55:33 -0000 1.13
++++ solenv/bin/modules/installer/download.pm 28 Apr 2005 00:11:54 -0000
+@@ -189,9 +189,10 @@
+ # my $systemcall = "cd $installdir; tar $ownerstring -cf - * | /usr/bin/sum |";
+
+ # $ENV{'LD_PRELOAD'} = $getuidlibrary;
+-# my $systemcall = "cd $installdir; tar -cf - * | /usr/bin/sum |";
++#getuid.so is req'ed for Linux/Solaris? FreeBSD/MacOSX don't need it.
++ my $systemcall = "cd $installdir; tar -cf - * | /usr/bin/sum |";
+
+- my $systemcall = "cd $installdir; LD_PRELOAD=$getuidlibrary tar -cf - * | /usr/bin/sum |";
++# my $systemcall = "cd $installdir; LD_PRELOAD=$getuidlibrary tar -cf - * | /usr/bin/sum |";
+
+ my $sumoutput = "";
+
+@@ -228,7 +229,8 @@
+
+ my $getuidlibraryname = "getuid.so";
+ my $getuidlibraryref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$getuidlibraryname, $includepatharrayref, 0);
+- if ($$getuidlibraryref eq "") { installer::exiter::exit_program("ERROR: Could not find $getuidlibraryname!", "get_path_for_library"); }
++# ad hock prohibiting error
++# if ($$getuidlibraryref eq "") { installer::exiter::exit_program("ERROR: Could not find $getuidlibraryname!", "get_path_for_library"); }
+
+ return $$getuidlibraryref;
+ }