Files
MINGW-packages/mingw-w64-extra-cmake-modules/tar-force-local.patch
مهدي شينون (Mehdi Chinoune) 8becd4fd74 kf5: update to 5.99.0 - Part1
2022-10-27 21:24:01 +01:00

21 lines
981 B
Diff

--- a/kde-modules/KDEPackageAppTemplates.cmake
+++ b/kde-modules/KDEPackageAppTemplates.cmake
@@ -88,7 +88,7 @@
# NOTE: we also pass `--sort=name` here to check if the tar exe supports that
# this feature was only added in gnu tar v1.28
execute_process(
- COMMAND ${_tar_executable} --sort=name --version
+ COMMAND ${_tar_executable} --sort=name --force-local --version
TIMEOUT 3
RESULT_VARIABLE _tar_exit
OUTPUT_VARIABLE _tar_version
@@ -133,7 +133,7 @@
--numeric-owner --owner=0 --group=0
--mtime="@${TIMESTAMP}"
--pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime
- -c -j -f ${_template} .
+ -c -j --force-local -f ${_template} .
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${_templateName}
DEPENDS ${_subdirs_entries}
)