ports: fix soplex library
This commit is contained in:
@@ -1 +1 @@
|
||||
954a138ee6d6a4911d0277fa3663f6c4a9b526d5
|
||||
2588050bec7d0f07ff97321a7d40dc8a6268729c
|
||||
|
||||
@@ -6,5 +6,7 @@ URL(soplex) := http://soplex.zib.de/download/release/soplex-$(VERSION).tgz
|
||||
SHA(soplex) := 054fd0b1e370b999babf9ad537a230965b66808a
|
||||
DIR(soplex) := src/lib/soplex
|
||||
|
||||
PATCHES := src/lib/soplex/timer.patch
|
||||
|
||||
DIRS := include/soplex
|
||||
DIR_CONTENT(include/soplex) := $(addprefix src/lib/soplex/src/,soplex.h)
|
||||
|
||||
11
src/lib/soplex/timer.patch
Normal file
11
src/lib/soplex/timer.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- src/lib/soplex/src/timer.cpp.orig 2016-09-30 11:55:56.910103919 +0200
|
||||
+++ src/lib/soplex/src/timer.cpp 2016-09-30 11:55:23.716638129 +0200
|
||||
@@ -37,6 +37,8 @@ namespace soplex
|
||||
/* determine TIMES_TICKS_PER_SEC for clock ticks delivered by times().
|
||||
* (don't use CLOCKS_PER_SEC since this is related to clock() only).
|
||||
*/
|
||||
+#undef _SC_CLK_TCK /* not implemented in Genode */
|
||||
+
|
||||
#if defined(CLK_TCK)
|
||||
#define TIMES_TICKS_PER_SEC CLK_TCK
|
||||
#elif defined(_SC_CLK_TCK)
|
||||
Reference in New Issue
Block a user