[arch-commits] Commit in glpk/trunk (PKGBUILD glpk-remove-warnings.patch)
Antonio Rojas
arojas at archlinux.org
Wed Dec 16 17:27:12 UTC 2020
Date: Wednesday, December 16, 2020 @ 17:27:11
Author: arojas
Revision: 404398
Update to 5.0
Modified:
glpk/trunk/PKGBUILD
Deleted:
glpk/trunk/glpk-remove-warnings.patch
----------------------------+
PKGBUILD | 20 +++++++-------------
glpk-remove-warnings.patch | 19 -------------------
2 files changed, 7 insertions(+), 32 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-16 16:35:18 UTC (rev 404397)
+++ PKGBUILD 2020-12-16 17:27:11 UTC (rev 404398)
@@ -3,26 +3,20 @@
# Additional contributors Senjin, Xavier, dundee
pkgname=glpk
-pkgver=4.65
-pkgrel=3
+pkgver=5.0
+pkgrel=1
pkgdesc="GNU Linear Programming Kit : solve LP, MIP and other problems."
arch=('x86_64')
url="https://www.gnu.org/software/glpk/glpk.html"
license=('GPL')
depends=('gmp')
-source=(https://ftp.gnu.org/gnu/glpk/${pkgname}-${pkgver}.tar.gz{,.sig} glpk-remove-warnings.patch)
-sha1sums=('d9b607a9cf3a25b754a0cd9a842ea5043f8604db'
- 'SKIP'
- '6f4e904c5dc88a8b43391e030496644d77e39163')
+source=(https://ftp.gnu.org/gnu/glpk/${pkgname}-${pkgver}.tar.gz{,.sig})
+sha1sums=('3a85b1e4c806b91deebfcf9a845b9308cd785d64'
+ 'SKIP')
validpgpkeys=('A2B56CCB42220C06481335BAD17BF2305981E818') # Andrew Makhorin
-prepare() {
- cd $pkgname-$pkgver
- patch -p1 -i ../glpk-remove-warnings.patch # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891465
-}
-
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
./configure --prefix=/usr --with-gmp
make
@@ -29,7 +23,7 @@
}
package(){
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -Dm644 doc/glpk.pdf "${pkgdir}/usr/share/doc/glpk/glpk.pdf"
install -Dm644 doc/gmpl.pdf "${pkgdir}/usr/share/doc/glpk/gmpl.pdf"
Deleted: glpk-remove-warnings.patch
===================================================================
--- glpk-remove-warnings.patch 2020-12-16 16:35:18 UTC (rev 404397)
+++ glpk-remove-warnings.patch 2020-12-16 17:27:11 UTC (rev 404398)
@@ -1,19 +0,0 @@
---- glpk-4.65/src/draft/glpios03.c.orig 2018-08-18 07:02:32.165492793 +0000
-+++ glpk-4.65/src/draft/glpios03.c 2018-08-18 07:03:47.775715038 +0000
-@@ -920,13 +920,10 @@
- #if 0
- ((glp_iocp *)T->parm)->msg_lev = GLP_MSG_DBG;
- #endif
--#if 1 /* 16/III-2016 */
-+#if 1 /* 01/III-2018 */
- if (((glp_iocp *)T->parm)->flip)
--#if 0 /* 20/I-2018 */
-- xprintf("WARNING: LONG-STEP DUAL SIMPLEX WILL BE USED\n");
--#else
-- xprintf("Long-step dual simplex will be used\n");
--#endif
-+ if (T->parm->msg_lev >= GLP_MSG_ALL)
-+ xprintf("Long-step dual simplex will be used\n");
- #endif
- /* on entry to the B&B driver it is assumed that the active list
- contains the only active (i.e. root) subproblem, which is the
More information about the arch-commits
mailing list