coinor-vol (1.1.7-1) examples.diff

Summary

 Vol/examples/VolLp/Makefile.in     |    4 ++--
 Vol/examples/VolUfl/Makefile.in    |    2 +-
 Vol/examples/VolUfl/ufl.cpp        |    1 +
 Vol/examples/Volume-LP/Makefile.in |    2 +-
 4 files changed, 5 insertions(+), 4 deletions(-)

    
download this patch

Patch contents

Index: coinor-vol-1.1.6/Vol/examples/VolLp/Makefile.in
===================================================================
--- coinor-vol-1.1.6.orig/Vol/examples/VolLp/Makefile.in	2008-12-11 16:29:03.000000000 -0700
+++ coinor-vol-1.1.6/Vol/examples/VolLp/Makefile.in	2008-12-11 16:29:29.000000000 -0700
@@ -47,14 +47,14 @@
 CXXLINKFLAGS = @RPATH_FLAGS@
 
 # Directory with COIN header files
-COININCDIR = @abs_include_dir@
+COININCDIR = /usr/include/coin
 
 # Directory with COIN libraries
 COINLIBDIR = @abs_lib_dir@
 
 # Libraries necessary to link with Clp
 LIBS = -L$(COINLIBDIR) -lVol -lCoinUtils \
-	`cat @COINUTILSDOCDIR@/coinutils_addlibs.txt`
+	-lm
 
 # Necessary Include dirs (we use the CYGPATH_W variables to allow
 # compilation with Windows compilers)
Index: coinor-vol-1.1.6/Vol/examples/VolUfl/Makefile.in
===================================================================
--- coinor-vol-1.1.6.orig/Vol/examples/VolUfl/Makefile.in	2008-12-11 16:30:37.000000000 -0700
+++ coinor-vol-1.1.6/Vol/examples/VolUfl/Makefile.in	2008-12-11 16:30:51.000000000 -0700
@@ -47,7 +47,7 @@
 CXXLINKFLAGS = @RPATH_FLAGS@
 
 # Directory with COIN header files
-COININCDIR = @abs_include_dir@
+COININCDIR = /usr/include/coin
 
 # Directory with COIN libraries
 COINLIBDIR = @abs_lib_dir@
Index: coinor-vol-1.1.6/Vol/examples/VolUfl/ufl.cpp
===================================================================
--- coinor-vol-1.1.6.orig/Vol/examples/VolUfl/ufl.cpp	2008-12-11 16:30:20.000000000 -0700
+++ coinor-vol-1.1.6/Vol/examples/VolUfl/ufl.cpp	2008-12-11 16:30:27.000000000 -0700
@@ -13,6 +13,7 @@
 #include <list>
 #include <vector>
 #include <cmath>
+#include <cstring>
 #ifndef WIN32
 #include <sys/times.h>
 #endif
Index: coinor-vol-1.1.6/Vol/examples/Volume-LP/Makefile.in
===================================================================
--- coinor-vol-1.1.6.orig/Vol/examples/Volume-LP/Makefile.in	2008-12-11 16:31:07.000000000 -0700
+++ coinor-vol-1.1.6/Vol/examples/Volume-LP/Makefile.in	2008-12-11 16:31:20.000000000 -0700
@@ -43,7 +43,7 @@
 CXXLINKFLAGS = @RPATH_FLAGS@
 
 # Directory with COIN header files
-COININCDIR = @abs_include_dir@
+COININCDIR = /usr/include/coin
 
 # Directory with COIN libraries
 COINLIBDIR = @abs_lib_dir@