summaryrefslogblamecommitdiff
path: root/user/kdevelop/libarchive-tar.patch
blob: 318a6c2ed43c3f37280c19a25d87ac9a7531569f (plain) (tree)




























                                                                                                                   
--- 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()