2797060 Rebased patches to fix issue with patch

Authored and Committed by kkleine 2 years ago
    Rebased patches to fix issue with patch
    
    Avoid this error:
    
    + cd clang-15.0.0.src
    + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
    + /usr/bin/cat /builddir/build/SOURCES/0001-Reorganize-gtest-integration.patch
    + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f
    + /usr/bin/cat /builddir/build/SOURCES/0002-ToolChain-Add-lgcc_s-to-the-linker-flags-when-using-.patch
    + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f
    + /usr/bin/cat /builddir/build/SOURCES/0003-Make-funwind-tables-the-default-on-all-archs.patch
    + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f
    + /usr/bin/cat /builddir/build/SOURCES/0004-Don-t-install-static-libraries.patch
    + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f
    + /usr/bin/cat /builddir/build/SOURCES/0005-Prefer-gcc-toolchains-with-libgcc_s.so-when-not-stat.patch
    + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f
    1 out of 1 hunk FAILED -- saving rejects to file test/Driver/linux-ld.c.rej
    error: Bad exit status from /var/tmp/rpm-tmp.ATspmh (%prep)