diff options
-rw-r--r-- | math/glpk/Makefile | 4 | ||||
-rw-r--r-- | math/glpk/distinfo | 9 | ||||
-rw-r--r-- | math/glpk/patches/patch-src_glpapi06.c | 15 |
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 + |