diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-26 11:10:07 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-26 11:10:07 +0200 |
commit | a39e19f96447a409ae6f6c1c63d3c16feb1a3991 (patch) | |
tree | 148fdebc95bfd8788f91996703d2094c1b8df4da /testing/kbuild/lchmod.patch | |
parent | c5240dc4d2a5efc26b94c943d87848e51ba2794b (diff) | |
download | aports-a39e19f96447a409ae6f6c1c63d3c16feb1a3991.tar.bz2 aports-a39e19f96447a409ae6f6c1c63d3c16feb1a3991.tar.xz |
unmaintained/[multiple] move back packages to testing
move back packages that are depends of other packages in testing
Diffstat (limited to 'testing/kbuild/lchmod.patch')
-rw-r--r-- | testing/kbuild/lchmod.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/kbuild/lchmod.patch b/testing/kbuild/lchmod.patch new file mode 100644 index 0000000000..de111867d4 --- /dev/null +++ b/testing/kbuild/lchmod.patch @@ -0,0 +1,27 @@ +--- ./src/kmk/kmkbuiltin/chmod.c.orig ++++ ./src/kmk/kmkbuiltin/chmod.c +@@ -177,9 +177,9 @@ + } else + fts_options = hflag ? FTS_PHYSICAL : FTS_LOGICAL; + +- if (hflag) ++/* if (hflag) + change_mode = lchmod; +- else ++ else */ + change_mode = chmod; + + mode = *argv; +diff --git a/src/kmk/kmkbuiltin/cp_utils.c b/src/kmk/kmkbuiltin/cp_utils.c +index 1773815..a1ff924 100644 +--- a/src/kmk/kmkbuiltin/cp_utils.c ++++ b/src/kmk/kmkbuiltin/cp_utils.c +@@ -359,7 +359,7 @@ setfile(struct stat *fs, int fd) + + if (!gotstat || fs->st_mode != ts.st_mode) + if (fdval ? fchmod(fd, fs->st_mode) : +- (islink ? lchmod(to.p_path, fs->st_mode) : ++ (islink ? chmod(to.p_path, fs->st_mode) : + chmod(to.p_path, fs->st_mode))) { + warn("chmod: %s", to.p_path); + rval = 1; |