summaryrefslogtreecommitdiff
path: root/user/kdevelop/libarchive-tar.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-19 23:11:39 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-19 23:11:39 +0000
commit6d81f5a77ed71467f6fc79487c4ae42505d4fb00 (patch)
tree5aade7cde26e9af532cac5d640e3aa0cb8389f7a /user/kdevelop/libarchive-tar.patch
parent0fc83cd37a4ff05f61237bcb1becd133cd1d937d (diff)
downloadpackages-6d81f5a77ed71467f6fc79487c4ae42505d4fb00.tar.gz
packages-6d81f5a77ed71467f6fc79487c4ae42505d4fb00.tar.bz2
packages-6d81f5a77ed71467f6fc79487c4ae42505d4fb00.tar.xz
packages-6d81f5a77ed71467f6fc79487c4ae42505d4fb00.zip
user/kdevelop: New package
Diffstat (limited to 'user/kdevelop/libarchive-tar.patch')
-rw-r--r--user/kdevelop/libarchive-tar.patch30
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()
+