git: 8ed3ac764eb4 - main - math/clp: Update 1.17.6 → 1.17.8

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 16 Jun 2023 15:27:49 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8ed3ac764eb42f40b9fa7e4742072c52e62cd4d9

commit 8ed3ac764eb42f40b9fa7e4742072c52e62cd4d9
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-06-16 05:15:08 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-06-16 15:27:46 +0000

    math/clp: Update 1.17.6 → 1.17.8
    
    Reported by:    portscout
---
 math/clp/Makefile                                        | 11 +++++++----
 math/clp/distinfo                                        |  6 +++---
 .../files/patch-Osi_test_OsiTestSolverInterfaceIO.cpp    | 16 ----------------
 math/clp/pkg-plist                                       |  7 +++----
 4 files changed, 13 insertions(+), 27 deletions(-)

diff --git a/math/clp/Makefile b/math/clp/Makefile
index 5be6ddc4ac35..167f2eff41ab 100644
--- a/math/clp/Makefile
+++ b/math/clp/Makefile
@@ -1,8 +1,6 @@
 PORTNAME=	Clp
-DISTVERSION=	1.17.6
-PORTREVISION=	2
+DISTVERSION=	1.17.8
 CATEGORIES=	math
-MASTER_SITES=	https://www.coin-or.org/download/source/${PORTNAME}/
 PKGNAMEPREFIX=	coin-or-
 
 MAINTAINER=	co9co9@gmail.com
@@ -22,9 +20,14 @@ RUN_DEPENDS=	coin-or-Data-Sample>0:math/coin-or-data-sample \
 		coin-or-Data-Netlib>0:math/coin-or-data-netlib
 
 USES=		blaslapack compiler:c++11-lang fortran libtool pathfix pkgconfig tar:tgz
-GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	coin-or
+GH_TAGNAME=	releases/${DISTVERSION}
+
+GNU_CONFIGURE=	yes
+
 INSTALL_TARGET=	install-strip
 
 CONFIGURE_ARGS=	--with-lapack-lib="${LAPACKLIB} -L${LOCALBASE}/lib" \
diff --git a/math/clp/distinfo b/math/clp/distinfo
index 7837287980fd..3e16e0663ba1 100644
--- a/math/clp/distinfo
+++ b/math/clp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1645727981
-SHA256 (Clp-1.17.6.tgz) = f9cfcdd3db23bbc2d18b562012a7e25b99a40e8ce72dc296bd46dddb2970e12a
-SIZE (Clp-1.17.6.tgz) = 9972859
+TIMESTAMP = 1686847296
+SHA256 (coin-or-Clp-1.17.8-releases-1.17.8_GH0.tar.gz) = f9931b5ba44f0daf445c6b48fc2c250dc12e667e59ace8ea7b025f158fe31556
+SIZE (coin-or-Clp-1.17.8-releases-1.17.8_GH0.tar.gz) = 2168391
diff --git a/math/clp/files/patch-Osi_test_OsiTestSolverInterfaceIO.cpp b/math/clp/files/patch-Osi_test_OsiTestSolverInterfaceIO.cpp
deleted file mode 100644
index 2a921f8eb236..000000000000
--- a/math/clp/files/patch-Osi_test_OsiTestSolverInterfaceIO.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
---- Osi/test/OsiTestSolverInterfaceIO.cpp.orig	2018-04-16 06:54:20 UTC
-+++ Osi/test/OsiTestSolverInterfaceIO.cpp
-@@ -422,10 +422,10 @@ OsiTestSolverInterface::writeMps(const c
-    writer.setMpsData(*getMatrixByCol(), getInfinity(),
- 		     getColLower(), getColUpper(),
- 		     getObjCoefficients(), 
--		     reinterpret_cast<const char *> (NULL) /*integrality*/,
-+		     nullptr /*integrality*/,
- 		     getRowLower(), getRowUpper(),
--		     reinterpret_cast<const char **> (NULL) /*colnam*/, 
--		     reinterpret_cast<const char **> (NULL) /*rownam*/);
-+		     nullptr /*colnam*/, 
-+		     nullptr /*rownam*/);
-    std::string fname = filename;
-    if (extension)
-    { if (extension[0] != '\0' && extension[0] != '.')
diff --git a/math/clp/pkg-plist b/math/clp/pkg-plist
index 2e4b29c03503..fc40cc55b527 100644
--- a/math/clp/pkg-plist
+++ b/math/clp/pkg-plist
@@ -53,16 +53,15 @@ include/coin/Idiot.hpp
 include/coin/OsiClpSolverInterface.hpp
 lib/libClp.so
 lib/libClp.so.1
-lib/libClp.so.1.14.6
+lib/libClp.so.1.14.8
 lib/libClpSolver.so
 lib/libClpSolver.so.1
-lib/libClpSolver.so.1.14.6
+lib/libClpSolver.so.1.14.8
 lib/libOsiClp.so
 lib/libOsiClp.so.1
-lib/libOsiClp.so.1.14.6
+lib/libOsiClp.so.1.14.8
 libdata/pkgconfig/clp.pc
 libdata/pkgconfig/osi-clp.pc
 %%DATADIR%%/coin/doc/Clp/AUTHORS
 %%DATADIR%%/coin/doc/Clp/LICENSE
-%%DATADIR%%/coin/doc/Clp/README
 %%DATADIR%%/coin/doc/Clp/clp_addlibs.txt