mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 14:20:33 -04:00
Added patches to prevent breakage due to reinterpret_cast<SomeType*>(NULL). See the upstream bug report: https://github.com/coin-or/Clp/issues/7 Approved by: portmgr (port compliance, infrastructure)
11 lines
584 B
C++
11 lines
584 B
C++
--- Clp/src/ClpModel.cpp.orig 2018-04-16 06:43:28 UTC
|
|
+++ Clp/src/ClpModel.cpp
|
|
@@ -3845,7 +3845,7 @@ ClpModel::writeMps(const char *filename,
|
|
writer.setMpsData(*(matrix_->getPackedMatrix()), COIN_DBL_MAX,
|
|
getColLower(), getColUpper(),
|
|
objective,
|
|
- reinterpret_cast<const char*> (NULL) /*integrality*/,
|
|
+ nullptr /*integrality*/,
|
|
getRowLower(), getRowUpper(),
|
|
columnNames, rowNames);
|
|
// Pass in array saying if each variable integer
|