media-video/aegisub: manually add git_version.h to 3.2.2_p20160306 wrt bug 576918
authorIlya Tumaykin <itumaykin@gmail.com>
Thu, 10 Mar 2016 00:06:32 +0000 (03:06 +0300)
committerIan Delaney <idella4@gentoo.org>
Thu, 10 Mar 2016 13:55:06 +0000 (21:55 +0800)
Gentoo-Bug: 576918
Closes: https://github.com/gentoo/gentoo/pull/1018

Package-Manager: portage-2.2.27

media-video/aegisub/aegisub-3.2.2_p20160306.ebuild

index 9fb805651982fda93e00d79f08aef7c9a4d7b105..b9263720216fd42667156a91efb9d5210e346376 100644 (file)
@@ -82,6 +82,12 @@ src_prepare() {
        l10n_for_each_disabled_locale_do remove_locale
 
        autotools-utils_src_prepare
+
+       cat <<- EOF > "${S}/build/git_version.h" || die
+               #define BUILD_GIT_VERSION_NUMBER 8880
+               #define BUILD_GIT_VERSION_STRING "${PV}"
+               #define TAGGED_RELEASE 0
+       EOF
 }
 
 src_configure() {