summaryrefslogtreecommitdiff
path: root/math/glpk
diff options
context:
space:
mode:
authoradam <adam>2014-02-14 09:25:49 +0000
committeradam <adam>2014-02-14 09:25:49 +0000
commite8a64b023ca786a012a7a9512237235e482e5f43 (patch)
treee8249695e92d2d96cb6a33f46e475ba430abd4b1 /math/glpk
parent8d052f0412c5fd3dc654b63e657a3211c08da599 (diff)
downloadpkgsrc-e8a64b023ca786a012a7a9512237235e482e5f43.tar.gz
Changes 4.53:
* The API routine glp_read_mps was changed to remove free rows. * A bug was fixed in the API routine glp_read_lp. * The zlib compression library used by some GLPK routines and included in the package was downgraded from 1.2.7 to 1.2.5 (as in GLPK 4.50) because of addressability bugs on some 64-bit platforms. * A bug was fixed in a routine that reads gzipped files. * Two API routines glp_get_it_cnt and glp_set_it_cnt were added. * All obsolete GLPK API routines (prefixed with lpx) were removed from the package. * A set of routines that simulate the old GLPK API (as defined in 4.48) were added; see examples/oldapi/api/lpx.c. * A namespace bug was fixed in the SQL table drive module.
Diffstat (limited to 'math/glpk')
-rw-r--r--math/glpk/Makefile4
-rw-r--r--math/glpk/distinfo9
-rw-r--r--math/glpk/patches/patch-src_glpapi06.c15
3 files changed, 22 insertions, 6 deletions
diff --git a/math/glpk/Makefile b/math/glpk/Makefile
index a6376af9241..ba28da2781b 100644
--- a/math/glpk/Makefile
+++ b/math/glpk/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.38 2013/07/31 07:02:35 adam Exp $
+# $NetBSD: Makefile,v 1.39 2014/02/14 09:25:49 adam Exp $
-DISTNAME= glpk-4.52.1
+DISTNAME= glpk-4.53
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GNU:=glpk/}
diff --git a/math/glpk/distinfo b/math/glpk/distinfo
index 4c4da7f8705..9bb20ccfb2d 100644
--- a/math/glpk/distinfo
+++ b/math/glpk/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.31 2013/07/31 07:02:35 adam Exp $
+$NetBSD: distinfo,v 1.32 2014/02/14 09:25:49 adam Exp $
-SHA1 (glpk-4.52.1.tar.gz) = 63fd6788f95adb52789767b19e38cfb58dda331e
-RMD160 (glpk-4.52.1.tar.gz) = 075727b0be569e96d3bc29d248334132a80f4e25
-Size (glpk-4.52.1.tar.gz) = 2812957 bytes
+SHA1 (glpk-4.53.tar.gz) = 7f61e646d4d669805ac252d62005dfd2ff818d23
+RMD160 (glpk-4.53.tar.gz) = 457c0ee03c61ab395f5411311e2baf3c3583c9b5
+Size (glpk-4.53.tar.gz) = 2803321 bytes
+SHA1 (patch-src_glpapi06.c) = 0037423f2a4e85d2e93c659debdf6191c01ef695
diff --git a/math/glpk/patches/patch-src_glpapi06.c b/math/glpk/patches/patch-src_glpapi06.c
new file mode 100644
index 00000000000..c4e5dcf2f1f
--- /dev/null
+++ b/math/glpk/patches/patch-src_glpapi06.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_glpapi06.c,v 1.1 2014/02/14 09:25:49 adam Exp $
+
+Function should return a value.
+
+--- src/glpapi06.c.orig 2014-02-14 09:20:28.000000000 +0000
++++ src/glpapi06.c
+@@ -815,7 +815,7 @@ int glp_get_it_cnt(glp_prob *P)
+ int glp_set_it_cnt(glp_prob *P, int it_cnt)
+ { /* set simplex solver iteration count */
+ P->it_cnt = it_cnt;
+- return;
++ return P->it_cnt;
+ }
+ #endif
+