dev-games/physfs: backport patch to fix PHYSFS_setWriteDir
authorStefan Strogin <stefan.strogin@gmail.com>
Sun, 3 Mar 2019 15:19:47 +0000 (17:19 +0200)
committerJames Le Cuirot <chewi@gentoo.org>
Mon, 4 Mar 2019 20:48:48 +0000 (20:48 +0000)
commit248251bc5b1dfbcec32db163495310f15c0b9d9f
treee3595a5ebf3f752e5bb239fa42b1979de89b1a49
parentbe68fef7c0edae50436f7de963fd3e7e1a4fde76
dev-games/physfs: backport patch to fix PHYSFS_setWriteDir

There was a bug in PHYSFS_setWriteDir() that caused creating an empty
file "$HOME/.lincity-ng" instead of a directory on the first run of
lincity-ng:
https://github.com/lincity-ng/lincity-ng/issues/25

The upstream patch is added to <stable-3.0> branch but no release is
made so far. Backport it.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Stefan Strogin <stefan.strogin@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11231
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
dev-games/physfs/files/physfs-3.0.1-setwritedir.patch [new file with mode: 0644]
dev-games/physfs/physfs-3.0.1-r2.ebuild [moved from dev-games/physfs/physfs-3.0.1-r1.ebuild with 93% similarity]