Tuesday, December 07, 2021

UPDATE: glpk-5.0

Here's an update of glpk to 5.0.

I've checked that both consumers (math/{4ti2,octave}) still build and run.

(I'm porting igraph, and it contains a copy of glpk, but doesn't build with
the old version we have in ports)


okay ?

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/glpk/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile 12 Jul 2019 20:44:10 -0000 1.13
+++ Makefile 7 Dec 2021 16:53:52 -0000
@@ -2,9 +2,8 @@

COMMENT= GNU Linear Programming Kit

-DISTNAME= glpk-4.55
-REVISION= 0
-SHARED_LIBS= glpk 7.0 # 37.2
+DISTNAME= glpk-5.0
+SHARED_LIBS= glpk 8.0 # 43.1.3

CATEGORIES= devel
HOMEPAGE= https://www.gnu.org/software/glpk/index.html
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/glpk/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo 7 May 2015 17:28:33 -0000 1.5
+++ distinfo 7 Dec 2021 16:53:52 -0000
@@ -1,2 +1,2 @@
-SHA256 (glpk-4.55.tar.gz) = NwkNfxZ5bsEDRJbhgqOdXMi7fJ+13EijixPWIL8rHec=
-SIZE (glpk-4.55.tar.gz) = 3424345
+SHA256 (glpk-5.0.tar.gz) = ShAT7rtQ9yj8YBvdgzsLKHAzPDs+WoFu66kh2VvsbxU=
+SIZE (glpk-5.0.tar.gz) = 4132649
Index: patches/patch-src_env_env_h
===================================================================
RCS file: patches/patch-src_env_env_h
diff -N patches/patch-src_env_env_h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_env_env_h 7 Dec 2021 16:53:52 -0000
@@ -0,0 +1,18 @@
+$OpenBSD$
+
+removes lots of obnoxious warnings while building
+
+Index: src/env/env.h
+--- src/env/env.h.orig
++++ src/env/env.h
+@@ -27,8 +27,10 @@
+ typedef struct ENV ENV;
+ typedef struct MBD MBD;
+
++#ifndef SIZE_T_MAX
+ #define SIZE_T_MAX (~(size_t)0)
+ /* largest value of size_t type */
++

No comments:

Post a Comment