[sys-apps/lms] make it build

This commit is contained in:
Robert Förster 2014-05-15 11:27:49 +02:00
parent b5a1266b5e
commit 228108fe76
2 changed files with 12 additions and 1 deletions

View File

@ -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 <cerrno>
#include <fstream>
#include <dirent.h>
+#include <unistd.h>
#define AT_VERSION_ARGUMENT "--version"
#define AT_VERSION_MAXSIZE 40

View File

@ -4,7 +4,7 @@
EAPI=4 EAPI=4
inherit versionator linux-info inherit eutils linux-info versionator
MY_PV=$(replace_version_separator 3 '-' ) MY_PV=$(replace_version_separator 3 '-' )
MY_P="${PN}-${MY_PV}" MY_P="${PN}-${MY_PV}"
@ -39,6 +39,7 @@ pkg_pretend() {
src_prepare() { src_prepare() {
edos2unix README edos2unix README
epatch "${FILESDIR}/${PN}-build.patch"
} }
src_install() { src_install() {