media-video/aegisub: fix build against icu-59

Closes: https://github.com/gentoo/gentoo/pull/4648
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Upstream-commit: dd67db47cb
This commit is contained in:
Ilya Tumaykin
2017-05-16 23:22:55 +03:00
committed by Michał Górny
parent b0f3e121b7
commit 779fbc09c4
2 changed files with 19 additions and 0 deletions

View File

@@ -58,6 +58,7 @@ PATCHES=(
"${FILESDIR}/${PV}/${P}-fix-system-luajit-build.patch"
"${FILESDIR}/${PV}/${P}-respect-compiler-flags.patch"
"${FILESDIR}/${PV}/${P}-support-system-gtest.patch"
"${FILESDIR}/${PV}/${P}-fix-icu59-build.patch"
)
aegisub_check_compiler() {

View File

@@ -0,0 +1,18 @@
commit dd67db47cb2203e7a14058e52549721f6ff16a49
Author: Maxime Gauduin <alucryd@archlinux.org>
Date: Tue May 9 04:01:47 2017 +0200
Fix compilation against icu 59.1 (#46)
diff --git a/src/utils.cpp b/src/utils.cpp
index e1cde5e83..876c4c011 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -44,6 +44,7 @@
#include <boost/filesystem/path.hpp>
#include <map>
#include <unicode/locid.h>
+#include <unicode/unistr.h>
#include <wx/clipbrd.h>
#include <wx/filedlg.h>
#include <wx/stdpaths.h>