sys-block/fio: fix USE=gtk build failure, bug #699878
authorSergei Trofimovich <slyfox@gentoo.org>
Mon, 11 Nov 2019 19:54:03 +0000 (19:54 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Mon, 11 Nov 2019 19:54:03 +0000 (19:54 +0000)
commita61a2972fba62810cf6ba82e3e747e303d171149
tree0f226687738bb08ce0e49f713a243f8ffc39c713
parent7daff4b97c5b0e073ad935014199e4bf15ca6965
sys-block/fio: fix USE=gtk build failure, bug #699878

With USE=gtk build failed as:

```
gclient.c:333:2: error: too many arguments to function 'strncpy'
  333 |  strncpy(message, sizeof(message), "%s", status_message);
      |  ^~~~~~~
```

Picked upstream fix as-is.

Reported-by: Rafal Kupiec
Closes: https://bugs.gentoo.org/699878
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
sys-block/fio/files/fio-3.16-snprintf.patch [new file with mode: 0644]
sys-block/fio/fio-3.16.ebuild