X-Git-Url: https://git.tld-linux.org/?p=packages%2Frpm.git;a=blobdiff_plain;f=skip-symlinks.patch;fp=skip-symlinks.patch;h=1f3eea533e2f2e0a96bb5a7353889e27c338a579;hp=0000000000000000000000000000000000000000;hb=46761559371d6e5e68c23c17286f4883562d0579;hpb=a4316b5afc30b9f3e8e667bcd44e4feccd020080 diff --git a/skip-symlinks.patch b/skip-symlinks.patch new file mode 100644 index 0000000..1f3eea5 --- /dev/null +++ b/skip-symlinks.patch @@ -0,0 +1,11 @@ +--- rpm-4.16.1.2/build/rpmfc.c~ 2021-01-24 09:43:15.000000000 +0100 ++++ rpm-4.16.1.2/build/rpmfc.c 2021-02-19 09:14:46.031544586 +0100 +@@ -1231,7 +1231,7 @@ + size_t slen = strlen(s); + int fcolor = RPMFC_BLACK; + rpm_mode_t mode = (fmode ? fmode[ix] : 0); +- int is_executable = (mode & (S_IXUSR|S_IXGRP|S_IXOTH)); ++ int is_executable = ((mode & S_IFREG) && (mode & (S_IXUSR|S_IXGRP|S_IXOTH))); + + switch (mode & S_IFMT) { + case S_IFCHR: ftype = "character special"; break;