Apache OpenOffice (AOO) Bugzilla – Issue 22159
Check for GNU versions of patch and cp in configure
Last modified: 2006-03-14 21:02:56 UTC
Right now, we need GNU patch for applying patches and GNU cp for building odk project. On some systems (Solaris and FreeBSD) the tools are not compatible (GNU patch can not apply some patches from the build tree, like the one from boost and inside odk project, cp -u is used). Thus we have to check for GNU version of patch and cp in configure. There already are --with-gnu-patch and --with-gnu-cp.
set target to 2.0.
will patch --version work? cp --version does not give us GNU but it does give us: Copyright (C) 2003 Free Software Foundation, Inc. So we could sense the presence of this. Just honouring the --version probably indicates that it is correct. What are your thoughts.
FreeBSD: pavel@leda:~> patch --version Patch version 2.1 pavel@leda:~> gpatch --version patch 2.5.4 Copyright 1984-1988 Larry Wall Copyright 1989-1999 Free Software Foundation, Inc. This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of this program under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. written by Larry Wall and Paul Eggert But gpatch is probably manually installed.
There was a comment to say that under some platforms the option that fails "standard" cp was removed and the process works fine. If this is the case then remove the option and this whole call is redundant.
waratah: should we reassign to rodarvus?
Reassigning.
.
Reassign to me
committed to cws_src680_configure4
set to FIXED
seen in configure4
close