[sys-apps/lms] make it build
This commit is contained in:
parent
b5a1266b5e
commit
228108fe76
10
sys-apps/lms/files/lms-build.patch
Normal file
10
sys-apps/lms/files/lms-build.patch
Normal 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
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user