freebsd-ports/editors/openoffice.org-3-devel/files/patch-solenv
Maho Nakata 4ea5790e5f To make things clear, now patches have
o number of IssueTracker
o Child work space
o Author
  so that we commit patches to upstream
o short description
2005-05-11 03:40:29 +00:00

35 lines
1.6 KiB
Text

Issutracker : #i48304#
CWS : N/A
Author : NAKATA Maho <maho@openoffice.org> (JCA)
Description : getuid.so is not req'ed for FreeBSD
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;
}