Hi,

I've created a patch based on the indications given on this same report and
an an e-mail <http://www.mail-archive.com/help-glpk@gnu.org/msg01629.html> from
Andrew Makhorin, the author of glpk. Please let me know if there's something
else I can help with.

Best,
Ivo
Fixes bug #533770 described here http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533770.
--- a/src/slipint.h
+++ b/src/slipint.h
@@ -59,11 +59,7 @@
 #ifdef LPSOLVE
 #include "lp_solve/lp_lib.h"
 #else
-extern "C" {
-// change this line if glpk is installed on your system
-#include "../include/glpk/glpk.h"
-//#include <glpk.h>
-}
+#include <glpk.h>
 #endif
 
 
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,6 @@
 Section: math
 Priority: optional
 Maintainer: Juan Esteban Monsalve Tobon <este...@v7w.com>
-Depends: ${shlibs:Depends}, libglpk0 (>= 4.43)
 Build-Depends: libtnt-dev (>= 1.2.5-3), libglpk-dev (>= 4.43)
 Homepage: http://www.deakin.edu.au/~gleb/lip.html
 Standards-Version: 3.7.2
@@ -61,7 +60,7 @@
 Priority: optional
 Architecture: any
 Depends: ${shlibs:Depends}, libtnt-dev, liblip2 (= ${binary:Version}), 
-  libglpk-dev (>= 4.43), libglpk0 (>= 4.43)
+  libglpk-dev (>= 4.43)
 Description: reliable interpolation of multivariate scattered data
  Lip interpolates scattered multivariate data with a Lipschitz function.
  .

Reply via email to