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() {