summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Tumaykin <itumaykin@gmail.com>2017-05-16 23:22:55 +0300
committerMichał Górny <mgorny@gentoo.org>2017-05-21 23:03:40 +0200
commit779fbc09c456a6f55913dbef105e89b8c42dcdd1 (patch)
tree8e337e72d2ff6b84dfb962ab080b08adc35ff341 /media-video
parentgnome-base/gsettings-desktop-schemas: bump to 3.24.0 (diff)
downloadgentoo-779fbc09c456a6f55913dbef105e89b8c42dcdd1.tar.gz
gentoo-779fbc09c456a6f55913dbef105e89b8c42dcdd1.tar.bz2
gentoo-779fbc09c456a6f55913dbef105e89b8c42dcdd1.zip
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: https://github.com/Aegisub/Aegisub/commit/dd67db47cb2203e7a14058e52549721f6ff16a49
Diffstat (limited to 'media-video')
-rw-r--r--media-video/aegisub/aegisub-3.2.2_p20160518-r2.ebuild1
-rw-r--r--media-video/aegisub/files/3.2.2_p20160518/aegisub-3.2.2_p20160518-fix-icu59-build.patch18
2 files changed, 19 insertions, 0 deletions
diff --git a/media-video/aegisub/aegisub-3.2.2_p20160518-r2.ebuild b/media-video/aegisub/aegisub-3.2.2_p20160518-r2.ebuild
index 85027fada0c..99c3c0ab81b 100644
--- a/media-video/aegisub/aegisub-3.2.2_p20160518-r2.ebuild
+++ b/media-video/aegisub/aegisub-3.2.2_p20160518-r2.ebuild
@@ -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() {
diff --git a/media-video/aegisub/files/3.2.2_p20160518/aegisub-3.2.2_p20160518-fix-icu59-build.patch b/media-video/aegisub/files/3.2.2_p20160518/aegisub-3.2.2_p20160518-fix-icu59-build.patch
new file mode 100644
index 00000000000..a6564def1b8
--- /dev/null
+++ b/media-video/aegisub/files/3.2.2_p20160518/aegisub-3.2.2_p20160518-fix-icu59-build.patch
@@ -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>