From nobody Tue Aug 15 03:00:48 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RPwxs0QMyz4qJ8f; Tue, 15 Aug 2023 03:00:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RPwxr3Gk9z3Y8y; Tue, 15 Aug 2023 03:00:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692068448; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tuBaPhB+J/ZeSlA2MU4GfTyEJwB7NZRFDRlQNUKw7yY=; b=lmh2gRYG+Neg1x7cDX76/ajghiIlR6BYO1292Dfl39wa/sl+JIq45xMNIZ1l91ypB9GnTu 9Q+nFcOktsP0dmnvBGIvtbAHBEZinZW/DSh86O8v1S0C2NUvRKoabEfxOo1WPNo71QJzcV KQdvBHosnf6Eyg5LdTShmJsHcF6Cx2lfg48SX7paFzfIePvckJlbBSvG+YE3a4qOHUdZ2D DJ243zMXAbzhJMvoDeQlfEC2BbdA6B9MFTkFnqgt9JyGup7VVkO3CBduYDQ9TEW86mAOKb SapJZHmJiNQS8zMhdVL1VucfAUpMr1Rm9CQqHvTD1eS5WvdnyOnrSdmxfW7UIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692068448; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tuBaPhB+J/ZeSlA2MU4GfTyEJwB7NZRFDRlQNUKw7yY=; b=OD9ShbsjDkCXuoj+KO634ETv14c1o+jcH2r7P8tT1Bxc6GnZzrwXd0gxgp5myytRXygRju thWPfJB+AZwCk9WOBRN1PdIshe+DFxpkT91XDnoOhI4KBPm1rkN+6RGny5ptaHDjcZIXXt Gef37U5Q5xHcD6jg5lio+ntaVqp2UFV8zwINukP+xSh0vptH4jkZvJthYypWaKIBntmIil PtzmmG70r2rxDOwUu8DPvqUN+c3G0Yi1yNw9B0naFGravjBRFRj1eVVkGzDu+SdO3f4t/J 5Zj+/EwMyqKG1grTCWOojExSbqh7GJKQth8UEVIudqafcDH7B5JIC1/VBskY7A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692068448; a=rsa-sha256; cv=none; b=sRlk/o52nADpfsWsSka64q17EId+H0XXA6q9R7byx/oKTIczyVZpNpDR9Ie35LI2kSstI4 Wcz7DB2t2uceYR4/VKbASF55hLYuZT2/wr1J/GlYm3Tjydi/bOvl8A2PqsWJ5B0JSemoGw wPWtQkF5JaxTC0ScFIhjF6Eg+ZhEgSD2mewPyHi2rQ1H6abydQB81K7Crt2fVonkFOVM4n zHzvrtqURJhX9GgzyajfbJ0mgzl6xxjiIyy4RA1UO9rVNuAOU0hglSa5ejEvi4pJ21FfhI WLdFJXOU4emUbh/b+KNEmVfPFz1iqwWDyXdsy5JNqileAnIWmwsIFcBYcXeL0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RPwxr2KlvztS4; Tue, 15 Aug 2023 03:00:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37F30msL068570; Tue, 15 Aug 2023 03:00:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37F30mrg068567; Tue, 15 Aug 2023 03:00:48 GMT (envelope-from git) Date: Tue, 15 Aug 2023 03:00:48 GMT Message-Id: <202308150300.37F30mrg068567@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 97bbcc913240 - main - math/lrslib: Update 071a =?utf-8?Q?=E2=86=92?= 7.2 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 97bbcc913240fe271a1589b0efd426fa966acd21 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=97bbcc913240fe271a1589b0efd426fa966acd21 commit 97bbcc913240fe271a1589b0efd426fa966acd21 Author: Yuri Victorovich AuthorDate: 2023-08-15 02:59:10 +0000 Commit: Yuri Victorovich CommitDate: 2023-08-15 03:00:41 +0000 math/lrslib: Update 071a → 7.2 Also switch to the versioning scheme A.B according how versions are described on their website. Reported by: portscout --- math/lrslib/Makefile | 6 +++++- math/lrslib/distinfo | 6 +++--- math/lrslib/files/patch-lrslib.c | 20 ++++++++++++++++++++ math/lrslib/files/patch-makefile | 22 +++++++++++----------- 4 files changed, 39 insertions(+), 15 deletions(-) diff --git a/math/lrslib/Makefile b/math/lrslib/Makefile index 01531a3ac931..ff90efd67b17 100644 --- a/math/lrslib/Makefile +++ b/math/lrslib/Makefile @@ -1,7 +1,9 @@ PORTNAME= lrslib -PORTVERSION= 071a +PORTVERSION= 7.2 +PORTEPOCH= 1 CATEGORIES= math MASTER_SITES= http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/ +DISTNAME= ${PORTNAME}-0${PORTVERSION:S/.//} MAINTAINER= yuri@FreeBSD.org COMMENT= Reverse search algorithm for vertex enumeration/convex hull problems @@ -28,6 +30,8 @@ MAKE_ARGS= CFLAGS="${CFLAGS}" INCLUDEDIR=${LOCALBASE}/include LIBDIR=${LOCALBASE LDFLAGS+= -lthr +BINARY_ALIAS= gcc=${CC} + post-install: @cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/* lib/*.so diff --git a/math/lrslib/distinfo b/math/lrslib/distinfo index 8e1f12b6a6d2..f61bda8a52bf 100644 --- a/math/lrslib/distinfo +++ b/math/lrslib/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1621638167 -SHA256 (lrslib-071a.tar.gz) = 926636ea68de46625f141f6e025dce967cc7e68cf4bf4a597375c063f5c11673 -SIZE (lrslib-071a.tar.gz) = 458590 +TIMESTAMP = 1692066216 +SHA256 (lrslib-072.tar.gz) = fc48754a1ded1d8445d40ecfbe3546e4f27d53aaee95dc2c8c0c79fb9cd532f0 +SIZE (lrslib-072.tar.gz) = 496411 diff --git a/math/lrslib/files/patch-lrslib.c b/math/lrslib/files/patch-lrslib.c new file mode 100644 index 000000000000..fbf12fc76261 --- /dev/null +++ b/math/lrslib/files/patch-lrslib.c @@ -0,0 +1,20 @@ +--- lrslib.c.orig 2022-03-10 09:42:46 UTC ++++ lrslib.c +@@ -32,6 +32,8 @@ + #include + #include + ++#include // for basename(3) ++ + #include "lrsrestart.h" + #include "lrslib.h" + +@@ -75,7 +77,7 @@ static void ptimes (void); + static double get_time(void); + #endif + +-char *basename(char *path); ++//char *basename(char *path); + + /*******************************/ + /* signals handling */ diff --git a/math/lrslib/files/patch-makefile b/math/lrslib/files/patch-makefile index 258feba116c9..5388f8509c94 100644 --- a/math/lrslib/files/patch-makefile +++ b/math/lrslib/files/patch-makefile @@ -1,6 +1,6 @@ ---- makefile.orig 2021-05-21 23:54:11 UTC +--- makefile.orig 2022-03-10 09:42:46 UTC +++ makefile -@@ -194,7 +194,7 @@ SHLIBBIN=lrs-shared lrsnash-shared +@@ -231,7 +231,7 @@ SHLIBBIN=lrs-shared lrsnash-shared # Building (linking) the shared library, and relevant symlinks. ${SHLIB}: ${SHLIBOBJ} @@ -9,25 +9,25 @@ ${SONAME}: ${SHLIB} ln -sf ${SHLIB} ${SONAME} -@@ -207,11 +207,11 @@ ${SHLINK}: ${SONAME} +@@ -244,11 +244,11 @@ ${SHLINK}: ${SONAME} all-shared: ${SHLIBBIN} - lrs-shared: ${SHLINK} lrs.o -- $(CC) lrs.o -o $@ -L . -llrs -+ $(CC) lrs.o -o $@ -L . $(LDFLAGS) -llrs + lrs-shared: ${SHLINK} lrs-shared.o +- $(CC) $^ -o $@ -L . -llrs ++ $(CC) $^ -o $@ -L . $(LDFLAGS) -llrs lrsnash-shared: ${SHLINK} lrsnash.c -- $(CC) -DGMP -DMA lrsnash.c lrsnashlib.c -I${INCLUDEDIR} -o $@ -L . -llrs -lgmp -+ $(CC) -DGMP -DMA lrsnash.c lrsnashlib.c -I${INCLUDEDIR} -o $@ -L . -llrs $(LDFLAGS) -lgmp +- $(CC) ${CFLAGS} -DGMP -DMA lrsnash.c lrsnashlib.c -I${INCLUDEDIR} -o $@ -L . -llrs -lgmp ++ $(CC) ${CFLAGS} -DGMP -DMA lrsnash.c lrsnashlib.c -I${INCLUDEDIR} -o $@ -L . $(LDFLAGS) -llrs -lgmp - # build object files for the shared library + # driver object files -@@ -240,19 +240,19 @@ lrslib2-shr.o: lrslib.c lrslib.h +@@ -282,19 +282,19 @@ lrslib2-shr.o: lrslib.c lrslib.h # install targets # where to install binaries, libraries, include files prefix ?= /usr/local --INSTALL_INCLUDES=lrslib.h lrsdriver.h lrsgmp.h lrslong.h lrsmp.h +-INSTALL_INCLUDES=lrslib.h lrsdriver.h lrsgmp.h lrslong.h lrsmp.h lrsrestart.h +INSTALL_INCLUDES=lrslib.h lrsdriver.h lrsgmp.h lrslong.h lrsmp.h lrsnashlib.h lrsrestart.h mplrs.h install: all-shared install-common