libselinux: use correct name and content for patch 0004
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 18 Aug 2018 19:31:40 +0000 (21:31 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 18 Aug 2018 19:33:47 +0000 (21:33 +0200)
commitcb8d1743cab1449b91afbabe38c64cbb85bef6ba
treee0cbb82c2b4c36170077934ff663503ee2867bb8
parente2928dfa080658c35f6f0b7c9e62a3ade438a827
libselinux: use correct name and content for patch 0004

Commit 6288409642d8368104f916bd264d2cb042942dfa ("libselinux: add
patch to fix build with gcc < 4.7") introduced a patch, but its file
name was incorrect, so it was never applied. In addition, the patch
was generated against the Git repository of SELinux, which includes
all projects, and therefore it doesn't apply to the libselinux source
code extracted from the tarball: the "libselinux/" component path
needs to be removed from the patch.

This commit fixes both problems, which should finally and really fix:

  http://autobuild.buildroot.net/results/c3272566bb808e43bb77ec59cfe596f7e0fe9a64/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libselinux/0004-Fix-build-break-around-__atomic_-with-GCC-4.7.patch [new file with mode: 0644]
package/libselinux/0004-Fix-build-break-around-__atomic_-with-GCC-4.7.patch.txt [deleted file]