diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-02-22 14:00:23 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-02-22 14:00:33 +0100 |
commit | 3385fcbbd1266555c3927623a747d760f65558d4 (patch) | |
tree | b162812f72e4e65946c5f1d6debb6ef2cd504fe9 /games-engines/devilutionx | |
parent | games-engines/devilutionx: Removed old (diff) | |
download | gentoo-3385fcbbd1266555c3927623a747d760f65558d4.tar.gz gentoo-3385fcbbd1266555c3927623a747d760f65558d4.tar.bz2 gentoo-3385fcbbd1266555c3927623a747d760f65558d4.zip |
games-engines/devilutionx: Revbump to fix remaining font issue
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'games-engines/devilutionx')
-rw-r--r-- | games-engines/devilutionx/devilutionx-1.1.0-r2.ebuild (renamed from games-engines/devilutionx/devilutionx-1.1.0-r1.ebuild) | 0 | ||||
-rw-r--r-- | games-engines/devilutionx/files/devilutionx-1.1.0-no_bundled_font.patch | 13 |
2 files changed, 12 insertions, 1 deletions
diff --git a/games-engines/devilutionx/devilutionx-1.1.0-r1.ebuild b/games-engines/devilutionx/devilutionx-1.1.0-r2.ebuild index 913e1f40eef5..913e1f40eef5 100644 --- a/games-engines/devilutionx/devilutionx-1.1.0-r1.ebuild +++ b/games-engines/devilutionx/devilutionx-1.1.0-r2.ebuild diff --git a/games-engines/devilutionx/files/devilutionx-1.1.0-no_bundled_font.patch b/games-engines/devilutionx/files/devilutionx-1.1.0-no_bundled_font.patch index 7944a8221d2d..69131b562c8c 100644 --- a/games-engines/devilutionx/files/devilutionx-1.1.0-no_bundled_font.patch +++ b/games-engines/devilutionx/files/devilutionx-1.1.0-no_bundled_font.patch @@ -38,6 +38,17 @@ https://bugs.gentoo.org/704508 # -G DEB
set(CPACK_PACKAGE_CONTACT "anders@jenbo.dk")
+--- devilutionX-1.1.0/SourceX/DiabloUI/fonts.cpp ++++ devilutionX-1.1.0/SourceX/DiabloUI/fonts.cpp +@@ -69,7 +69,7 @@ + #ifdef __linux__
+ if (!FileExists(ttf_font_path))
+ {
+- ttf_font_path = "/usr/share/fonts/truetype/" TTF_FONT_NAME;
++ ttf_font_path = "/usr/share/fonts/" TTF_FONT_NAME;
+ }
+ #endif
+ font = TTF_OpenFont(ttf_font_path, 17);
--- devilutionX-1.1.0/SourceX/DiabloUI/fonts.h +++ devilutionX-1.1.0/SourceX/DiabloUI/fonts.h @@ -11,7 +11,7 @@ @@ -45,7 +56,7 @@ https://bugs.gentoo.org/704508 #ifndef TTF_FONT_NAME
-#define TTF_FONT_NAME "CharisSILB.ttf"
-+#define TTF_FONT_NAME "CharisSIL-B.ttf"
++#define TTF_FONT_NAME "sil-charis/CharisSIL-B.ttf"
#endif
namespace dvl {
|