diff options
Diffstat (limited to 'user/kdevelop/libarchive-tar.patch')
-rw-r--r-- | user/kdevelop/libarchive-tar.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/user/kdevelop/libarchive-tar.patch b/user/kdevelop/libarchive-tar.patch new file mode 100644 index 000000000..318a6c2ed --- /dev/null +++ b/user/kdevelop/libarchive-tar.patch @@ -0,0 +1,30 @@ +--- kdevelop-5.5.2/kdevplatform/cmake/modules/KDevPlatformMacros.cmake.old 2020-06-02 13:20:26.000000000 +0000 ++++ kdevelop-5.5.2/kdevplatform/cmake/modules/KDevPlatformMacros.cmake 2020-07-19 21:24:00.465219669 +0000 +@@ -55,27 +55,12 @@ + ) + else() + +- if(APPLE OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") + add_custom_command(OUTPUT ${_template} + COMMAND tar ARGS -c -C ${CMAKE_CURRENT_SOURCE_DIR}/${_templateName} + --exclude .kdev_ignore --exclude .svn --numeric-owner + -j -f ${_template} . + DEPENDS ${_deps} + ) +- else() +- set(extraArgs "") +- if(DEFINED ENV{SOURCE_DATE_EPOCH}) +- # We assume there is tar > 1.28 if a reproducible build is wanted. +- set(extraArgs --mtime="@$ENV{SOURCE_DATE_EPOCH}" --sort=name +- --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime) +- endif() +- add_custom_command(OUTPUT ${_template} +- COMMAND tar ARGS -c -C ${CMAKE_CURRENT_SOURCE_DIR}/${_templateName} +- --exclude .kdev_ignore --exclude .svn --mode=go=rX,u+rw,a-s +- --owner=0 --group=0 --numeric-owner -j -f ${_template} ${extraArgs} . +- DEPENDS ${_deps} +- ) +- endif() + + endif() + |