forgot to add these

This commit is contained in:
jasper 2012-05-11 09:44:30 +00:00
parent 1a2312e253
commit 56c54d1b7f
3 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_columns_CMakeLists_txt,v 1.1 2012/05/11 09:44:30 jasper Exp $
--- src/columns/CMakeLists.txt.orig Fri May 11 11:21:25 2012
+++ src/columns/CMakeLists.txt Fri May 11 11:22:12 2012
@@ -33,9 +33,6 @@ set (columns_SRCS Column.cpp Column.h
add_library (columns STATIC ${columns_SRCS})
-set (CMAKE_BUILD_TYPE debug)
-set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g -Wall")
-set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -Wall")
#SET(CMAKE_BUILD_TYPE gcov)

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_commands_CMakeLists_txt,v 1.1 2012/05/11 09:44:30 jasper Exp $
--- src/commands/CMakeLists.txt.orig Fri May 11 11:21:30 2012
+++ src/commands/CMakeLists.txt Fri May 11 11:22:10 2012
@@ -54,9 +54,6 @@ set (commands_SRCS Command.cpp Command.h
add_library (commands STATIC ${commands_SRCS})
-set (CMAKE_BUILD_TYPE debug)
-set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g -Wall")
-set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -Wall")
#SET(CMAKE_BUILD_TYPE gcov)
#SET(CMAKE_CXX_FLAGS_GCOV "--coverage")

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_util_cpp,v 1.1 2012/05/11 09:44:30 jasper Exp $
--- src/util.cpp.orig Fri May 11 11:20:27 2012
+++ src/util.cpp Fri May 11 11:20:36 2012
@@ -406,7 +406,7 @@ int execute(const std::string& executable, std::vector
// create command line before forking because the parent process also needs this for
// calling context.debug()
- char shell[] = "bash";
+ char shell[] = "sh";
char opt[] = "-c";
std::string cmdline = executable;