dev-util/rr: tweak build for glibc-2.30, bug #699886
authorSergei Trofimovich <slyfox@gentoo.org>
Tue, 12 Nov 2019 07:53:07 +0000 (07:53 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Tue, 12 Nov 2019 07:53:21 +0000 (07:53 +0000)
commit19ea6e50e8dfbdc76287fae73a75add53c08c391
tree40a29cca992575bcd7ea3a7bd2ac9aa4ad73496f
parent5a11dc4c64a5b98067e9e350e608b1bf0a7162e3
dev-util/rr: tweak build for glibc-2.30, bug #699886

The build failed as:
```
tgkill.c:7:12: error: static declaration of ‘tgkill’
  follows non-static declaration
    7 | static int tgkill(int tgid, int tid, int sig) {
      |            ^~~~~~
```

Backport upstream glibc-2.30 fix as-is.

Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/699886
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
dev-util/rr/files/rr-5.2.0-tgkill-glibc-2.30.patch [new file with mode: 0644]
dev-util/rr/rr-5.2.0-r1.ebuild