# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/netpbm/hotfix-shared.patch # Copyright (C) 2004 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- netpbm-10.25/buildtools/installnetpbm.pl 2003-11-05 23:35:37.000000000 +0100 +++ netpbm-10.25-t2/buildtools/installnetpbm.pl 2004-10-18 17:46:15.739386208 +0200 @@ -146,13 +146,12 @@ if (`cp --version 2>/dev/null` =~ m/GNU/) { # It's GNU Cp -- we have options galore, and they're readable. - $cpCommand = "cp --recursive --preserve --no-dereference"; + $cpCommand = "cp --preserve --no-dereference"; } else { # This works on Cp from "4th Berkeley Distribution", July 1994. # Mac OSX has this. - # -R means recursive with no dereferencing of symlinks # -p means preserve attributes - $cpCommand = "cp -R -p"; + $cpCommand = "cp -p -d"; } return($cpCommand); }