[Lunar-commits] <moonbase-other> traverso: fix build

v4hn me at v4hn.de
Fri Mar 22 16:19:07 CET 2013


commit 842effc3e848035bca6764c5fc6bef5fd4d8104f
Author: v4hn <me at v4hn.de>
Date: Fri, 22 Mar 2013 08:19:07 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/842effc3e848035bca6764c5fc6bef5fd4d8104f

traverso: fix build

The last release was before gcc's cleanup concerning unistd.h
---
  audio/traverso/BUILD | +5/-8     
  1 file changed, 5 insertions(+), 8 deletions(-)

--- a/audio/traverso/BUILD
+++ b/audio/traverso/BUILD
@@ -1,10 +1,7 @@
-(
+sedit "s:\${QT_QT_LIBRARY}:\${QT_QT_LIBRARY} dl:" CMakeLists.txt &&
+sedit "s:PKG_CHECK_MODULES(SLV2  libslv2:PKG_CHECK_MODULES(SLV2  slv2:" CMakeLists.txt &&
+sedit "s:IF (SLV2_FOUND):IF (SLV2_FOUND)\nINCLUDE_DIRECTORIES(/usr/include/rasqal /usr/include/raptor2/):" CMakeLists.txt &&
 
-  sedit "s:\${QT_QT_LIBRARY}:\${QT_QT_LIBRARY} dl:" CMakeLists.txt &&
+sedit "24 i #include <unistd.h>" src/core/FileHelpers.cpp src/traverso/Main.cpp &&
 
-  sedit "s:PKG_CHECK_MODULES(SLV2  libslv2:PKG_CHECK_MODULES(SLV2  slv2:" CMakeLists.txt &&
-  sedit "s:IF (SLV2_FOUND):IF (SLV2_FOUND)\nINCLUDE_DIRECTORIES(/usr/include/rasqal /usr/include/raptor2/):" CMakeLists.txt &&
-
-  default_cmake_build
-
-) > $C_FIFO 2>&1
+default_cmake_build




More information about the Lunar-commits mailing list