From nobody Mon Nov 27 08:24:16 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 4SdzC42ynHz52pXs; Mon, 27 Nov 2023 08:24:16 +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 4SdzC42Wwfz3CQw; Mon, 27 Nov 2023 08:24:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701073456; 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=JOukt0QIiC4/cPyYj5JnVzp5Pn+7iRiGzncpI29uHgg=; b=qd301nHO2mx1WkebmiZ2Q0qm98F6xhM2la1e0Vm6tdpPIgR+9OorVHqvj3Kp2zfqeumpMs 9eZPHAk0dVRDEJlfej8jgwdSLmoVIQiBlcw1WIRD+qEZi01rVo5cH1g1hSYc2McN8RFZJV JUIN9ZEZiPYVdrc69cNNdTDK6mkr33njqv+5BS/LjLWWUfpHG5pH544ZOR6P1ZnXzFV96H KvTlmf/klJdGtlSyVLF/QUB755ZI/VnE8h6IzlmeNPtsBHw/0Qj8yBqE+XUnO7iSP4+rKZ E9YoYJmgUH/NRWTdGXoZ1aey4LYYx0qEMnZvGA8B8lWjpRmWVmJKhkmRtIrIMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701073456; 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=JOukt0QIiC4/cPyYj5JnVzp5Pn+7iRiGzncpI29uHgg=; b=Lw1LAsHACiSDm39pyjc6E7JQ0ct6Zu0bY2j2iuRWjS6vDeaJX5qdQRR5PS9gMgi/0f2FMj qIJmHdbLihh2zrlyLO53nfTnMfAKGHDA98PzOuRJ0+mmqN6kUBEIbVQZ6u2XPJR4EAN0fS U3Hp6VbyZi0H/0LA7Ef6O1/PIZfwBQ+i1w9pcacoQHOvQMEtmWXkMzKFxnb+v42nTxf2hR bD9ZU+FYynyRW5WgjQ1hQj6QzHn6RXE0fe5r9OcPoyRqWgyrh3GPVRu+2wEdOjopRD0R83 uko/ZSsBGbA46oAUqF6vE+JB060F/DPOe9R6xJWw3tE/w8ZAs8/OIhi52jWxJQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701073456; a=rsa-sha256; cv=none; b=kfKPcJfJmGRGFh4cE5GGc0DbukdRvhf8kp14sw+mm0w+Unuzdf4nxB615JCU3miIw6vz28 mDBqaaUp4bCcYw6i/YFC3A7t/1IRpKgEN5tJyi0PuaOzPxj8vx9UeZOHIJE2FEo7hybgch n+u1zQoibzs0vMMCY89DMUQGCR5+Qk26ho+3CONp+Oz/Bb1iV9mbbtUvOqON/ByDCQDfZg 8pN6qlxZ6ow619CeoCwP02loZu0qFUr7zci0Uh88QA6aVOtt35q/9MF3E+sN+OJn1ZlCeG ZOyJ4uR5J6kkuDdT5BuPDEnf+rEa57/PACvOoKe2HTez/JouTz70lXmPbq1ugg== 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 4SdzC41ZTkzWnn; Mon, 27 Nov 2023 08:24:16 +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 3AR8OGKI067424; Mon, 27 Nov 2023 08:24:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AR8OG3D067421; Mon, 27 Nov 2023 08:24:16 GMT (envelope-from git) Date: Mon, 27 Nov 2023 08:24:16 GMT Message-Id: <202311270824.3AR8OG3D067421@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Ashish SHUKLA Subject: git: 8f813cf05f6a - main - devel/fnc: Update to 0.16 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: ashish X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8f813cf05f6a3bee6f2b89c2009c0580c1e81747 Auto-Submitted: auto-generated The branch main has been updated by ashish: URL: https://cgit.FreeBSD.org/ports/commit/?id=8f813cf05f6a3bee6f2b89c2009c0580c1e81747 commit 8f813cf05f6a3bee6f2b89c2009c0580c1e81747 Author: Ashish SHUKLA AuthorDate: 2023-11-27 08:18:56 +0000 Commit: Ashish SHUKLA CommitDate: 2023-11-27 08:22:07 +0000 devel/fnc: Update to 0.16 --- devel/fnc/Makefile | 6 ++++-- devel/fnc/distinfo | 6 +++--- devel/fnc/files/patch-fnc.bld.mk | 27 ++++++++++++++++++++------- 3 files changed, 27 insertions(+), 12 deletions(-) diff --git a/devel/fnc/Makefile b/devel/fnc/Makefile index 32269cd9a2cb..acff863f8c83 100644 --- a/devel/fnc/Makefile +++ b/devel/fnc/Makefile @@ -1,5 +1,5 @@ PORTNAME= fnc -DISTVERSION= 0.15 +DISTVERSION= 0.16 CATEGORIES= devel MASTER_SITES= https://fnc.bsdbox.org/tarball/${DISTVERSION}/ \ https://distfiles.pirateparty.in/ashish/ @@ -12,6 +12,7 @@ LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE USES= ncurses +MAKE_JOBS_UNSAFE= yes PLIST_FILES= bin/fnc \ man/man1/fnc.1.gz @@ -22,7 +23,8 @@ post-extract: ${WRKSRC}/fnc.bld.mk pre-build: - ${REINPLACE_CMD} -e '/^VERSION/s/%%VERSION%%/${DISTVERSION}$$/' \ + ${REINPLACE_CMD} -e '/^VERSION/s/%%VERSION%%/${DISTVERSION}/' \ + -e 's,%%PREFIX%%,${PREFIX},' \ ${WRKSRC}/fnc.bld.mk .include diff --git a/devel/fnc/distinfo b/devel/fnc/distinfo index f2704bf0d69c..bd869aeed717 100644 --- a/devel/fnc/distinfo +++ b/devel/fnc/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1682800264 -SHA256 (fnc-0.15.tar.gz) = f2ea7ce387a420e31c3e57c1d8327347f1a0258f6cfec05e6291be62d75abaf5 -SIZE (fnc-0.15.tar.gz) = 3169205 +TIMESTAMP = 1701071597 +SHA256 (fnc-0.16.tar.gz) = e88eb0b5230768a7679542b8a5889ac9b25e3831aed8ffac9985bc9500c85863 +SIZE (fnc-0.16.tar.gz) = 3232489 diff --git a/devel/fnc/files/patch-fnc.bld.mk b/devel/fnc/files/patch-fnc.bld.mk index f536a9bdf849..d93e2c974d67 100644 --- a/devel/fnc/files/patch-fnc.bld.mk +++ b/devel/fnc/files/patch-fnc.bld.mk @@ -1,21 +1,34 @@ ---- fnc.bld.mk.orig 2022-03-24 19:30:04 UTC +--- fnc.bld.mk.orig 2023-11-27 08:16:26 UTC +++ fnc.bld.mk -@@ -5,7 +5,7 @@ +@@ -4,8 +4,8 @@ CC ?= cc + # CONFIGURATION CC ?= cc - PREFIX ?= /usr/local +-PREFIX ?= /usr/local -MANDIR ?= /share/man ++PREFIX ?= %%PREFIX%% +MANDIR ?= /man VERSION ?= %%VERSION%% - - # FLAGS NEEDED TO BUILD SQLITE3 -@@ -67,9 +67,9 @@ src/fnc: src/fnc.o src/diff.o lib/libfossil.o lib/sqli - ${FNC_LDFLAGS} + HASH != cut -f 1 manifest.uuid + DATE != sed '2q;d' manifest | cut -d ' ' -f 2 | tr T ' ' +@@ -42,7 +42,7 @@ FOSSIL_CFLAGS = ${CFLAGS} -Wall -Werror -Wsign-compare + # On SOME Linux (e.g., Ubuntu 18.04.6), we have to include wchar curses from + # I/.../ncursesw, but linking to -lncursesw (w/ no special -L path) works fine. + # FLAGS NEEDED TO BUILD FNC +-FNC_CFLAGS = ${CFLAGS} -Wall -Werror -Wsign-compare -pedantic -std=c99 \ ++FNC_CFLAGS = ${CFLAGS} -Wall -Werror -Wsign-compare -pedantic -std=c11 \ + -I./lib -I./include -I/usr/include/ncursesw \ + -D_XOPEN_SOURCE_EXTENDED -DVERSION=${VERSION} -DHASH=${HASH} \ + -DDATE="${DATE}" +@@ -89,10 +89,10 @@ install: + @echo "generated compile_commands.json" install: +- mkdir -p -m 0755 ${PREFIX}/bin - mkdir -p -m 0755 ${PREFIX}${MANDIR}/man1 - install -s -m 0755 src/fnc ${PREFIX}/bin/fnc - install -m 0644 src/fnc.1 ${PREFIX}${MANDIR}/man1/fnc.1 ++ mkdir -p -m 0755 ${DESTDIR}${PREFIX}/bin + mkdir -p -m 0755 ${DESTDIR}${PREFIX}${MANDIR}/man1 + install -s -m 0755 src/fnc ${DESTDIR}${PREFIX}/bin/fnc + install -m 0644 src/fnc.1 ${DESTDIR}${PREFIX}${MANDIR}/man1/fnc.1