Browse Source

[sys-apps/lms] make it build

master
Robert Förster 8 years ago
parent
commit
228108fe76
  1. 10
      sys-apps/lms/files/lms-build.patch
  2. 3
      sys-apps/lms/lms-8.0.0.7.ebuild

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

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

Loading…
Cancel
Save