From 228108fe76f75d1ad6a7e32eadf0470c8cea1bae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20F=C3=B6rster?= Date: Thu, 15 May 2014 11:27:49 +0200 Subject: [PATCH] [sys-apps/lms] make it build --- sys-apps/lms/files/lms-build.patch | 10 ++++++++++ sys-apps/lms/lms-8.0.0.7.ebuild | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 sys-apps/lms/files/lms-build.patch diff --git a/sys-apps/lms/files/lms-build.patch b/sys-apps/lms/files/lms-build.patch new file mode 100644 index 0000000..cb83d48 --- /dev/null +++ b/sys-apps/lms/files/lms-build.patch @@ -0,0 +1,10 @@ +--- src/tools/ATVersion.cpp.old 2014-05-07 20:57:07.086894124 +0200 ++++ src/tools/ATVersion.cpp 2014-05-07 20:57:32.906640035 +0200 +@@ -40,6 +40,7 @@ + #include + #include + #include ++#include + + #define AT_VERSION_ARGUMENT "--version" + #define AT_VERSION_MAXSIZE 40 diff --git a/sys-apps/lms/lms-8.0.0.7.ebuild b/sys-apps/lms/lms-8.0.0.7.ebuild index bde89e2..c5e9623 100644 --- a/sys-apps/lms/lms-8.0.0.7.ebuild +++ b/sys-apps/lms/lms-8.0.0.7.ebuild @@ -4,7 +4,7 @@ EAPI=4 -inherit versionator linux-info +inherit eutils linux-info versionator MY_PV=$(replace_version_separator 3 '-' ) MY_P="${PN}-${MY_PV}" @@ -39,6 +39,7 @@ pkg_pretend() { src_prepare() { edos2unix README + epatch "${FILESDIR}/${PN}-build.patch" } src_install() {