From nobody Wed Jul 19 17:30:45 2023 X-Original-To: dev-commits-ports-all@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 4R5jX65fCHz4nsDM; Wed, 19 Jul 2023 17:30:46 +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 4R5jX6191Nz4lP2; Wed, 19 Jul 2023 17:30:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689787846; 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=B8H3eP+sGCJ17mcip5v+nUDrzGLjp9zO21s6cSX+jwU=; b=F7ci7C4MB7SanmpobEXeJZPh8vQtcMIIt4ZwpUM0nqUp5ueDqCiMgfAFFgCiCa+VEjWU0r ZGitpmSgH6W7pyO5vRKXWN/gJQemo7LgRfrTbagIt012aoakqQskxn4XWQJIJIpOameAxr Yb4uQp1PvzH0zaQKrmkyynLxBycLOuxjt/jUpk+5PUZSij6qQMPpVdsUPih3Qm/lo2Oo8T e/WcnQC2ky63rqb8a4WSzjdgmgZHQZwV1r9+9OeE68VZcKphtpvfAEfmaPP9WC71X0aZ7j wHV7hdzQxS+IQJ0ZuN8bgZ+jQRN2/lWcVhSA8IiFZRtFlZrfQaVJwGatTfNjkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689787846; 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=B8H3eP+sGCJ17mcip5v+nUDrzGLjp9zO21s6cSX+jwU=; b=lemNQtunQsO/i9MubXOvt57z89nMdOUdrTVCExBcAS+DsXT+nG01xz4CKj6+N0JulLa1CC GwxhR3Q7Egy/N7Xr6+a4gXCFOv1uZG9YHQs/qi5uGR61WZbG99Wa5LyiuHFyf9JmfUnhkt O2K833zLIYtggbqPr8qXsCVJ1BYm2DN9/+4r+KVp2Bel7HLV7PIm1DGVDq6851zT6b6b2B L5LamaWZ3yU/+IQYjmzY93S32pdbIkN5UNDocqqBlC/ip73n1Vk+lngmri2/syickk4+tc C36pognp0e9gKwDzvR05x/h8r+KXkdy6Vk7QsgfwWOEaM/SVYU5Fgf1SPHeeoA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689787846; a=rsa-sha256; cv=none; b=Binyvt6ZOfVczRsZz/lmQrXVcQ0fRJiNgjEwHHrro/GBNV8HycCmOAf2274v514RmdYORq 2Yd6WrrzMiQwiog0gyAS/klMrMZKf6dbgW5lzGNJK1oiRo4x5Uw4b8ddwnTUhIvwxl1uZk OnT9g3dFuLF4vCGxCkOg6f2bgrGokaq8N0sRYxeCwWi3slby5B1E7q8WlQukbQOO9p9sbn ld7KBAwiTRfjiy6uZ+GWYxR0qHM33iVLJOiVezgoase5+lIP/qFUGYPBe+E7P0A+npFtqB JRx6VZuQnbkjxExgsr9bIBGN7fRiU40rTr/9Nm2WoFJIS960EDmydLQ4FzfuWw== 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 4R5jX60GfBzxJG; Wed, 19 Jul 2023 17:30:46 +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 36JHUj09026861; Wed, 19 Jul 2023 17:30:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36JHUj6E026860; Wed, 19 Jul 2023 17:30:45 GMT (envelope-from git) Date: Wed, 19 Jul 2023 17:30:45 GMT Message-Id: <202307191730.36JHUj6E026860@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: f50c09806c5b - main - devel/libphk: Fix build with llvm16 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f50c09806c5b0c199aa00788cc152dadec2a2ae7 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=f50c09806c5b0c199aa00788cc152dadec2a2ae7 commit f50c09806c5b0c199aa00788cc152dadec2a2ae7 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-19 16:01:32 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-19 17:30:37 +0000 devel/libphk: Fix build with llvm16 - Add LICENSE Beerware - Refresh patches Sponsored by: The FreeBSD Foundation --- devel/libphk/Makefile | 9 +++++++++ devel/libphk/files/patch-phk__expr.c | 8 ++++---- devel/libphk/files/patch-test_argv_Makefile | 4 ++-- devel/libphk/files/patch-test_expr_Makefile | 4 ++-- 4 files changed, 17 insertions(+), 8 deletions(-) diff --git a/devel/libphk/Makefile b/devel/libphk/Makefile index dc623e7c3753..baad9d4a7016 100644 --- a/devel/libphk/Makefile +++ b/devel/libphk/Makefile @@ -9,6 +9,14 @@ MAINTAINER= bofh@FreeBSD.org COMMENT= PHK's utilities functions WWW= http://phk.freebsd.dk/phkrel/ +LICENSE= Beerware +LICENSE_NAME= Beerware +LICENSE_TEXT= "THE BEER-WARE LICENSE" (Revision 42): \ + wrote this file. As long as you retain this notice you \ + can do whatever you want with this stuff. If we meet some day, and you think \ + this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + USES= uidfix tar:tgz # XXX static PIE libraries not yet supported by the base system @@ -20,6 +28,7 @@ WRKSRC= ${WRKDIR}/Libphk .include .if defined(NO_PROFILE) || ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 ) +CFLAGS+= -Wno-error=unused-but-set-variable PLIST_SUB+= PROFILE="@comment " .else PLIST_SUB+= PROFILE="" diff --git a/devel/libphk/files/patch-phk__expr.c b/devel/libphk/files/patch-phk__expr.c index 1552f4182969..1ee09bae095b 100644 --- a/devel/libphk/files/patch-phk__expr.c +++ b/devel/libphk/files/patch-phk__expr.c @@ -1,6 +1,6 @@ ---- phk_expr.c~ 2008-04-29 18:50:56.000000000 +0000 -+++ phk_expr.c 2008-09-08 09:17:19.205920000 +0000 -@@ -52,8 +52,8 @@ +--- phk_expr.c.orig 2008-04-29 18:50:56 UTC ++++ phk_expr.c +@@ -52,8 +52,8 @@ dbg(struct e *e, const char *w) { if (1) return; @@ -11,7 +11,7 @@ } /* -@@ -289,7 +289,7 @@ +@@ -289,7 +289,7 @@ phk_expr(const char *p, char **errs) if (e->err != NULL) { if (errs != NULL) asprintf(errs, "Expression error:\n%s\n%*.*s^ %s\n", diff --git a/devel/libphk/files/patch-test_argv_Makefile b/devel/libphk/files/patch-test_argv_Makefile index dc3d577904ea..81e89aab7d36 100644 --- a/devel/libphk/files/patch-test_argv_Makefile +++ b/devel/libphk/files/patch-test_argv_Makefile @@ -1,6 +1,6 @@ ---- test/argv/Makefile.orig +--- test/argv/Makefile.orig 2006-09-09 11:49:52 UTC +++ test/argv/Makefile -@@ -4,7 +4,7 @@ +@@ -4,7 +4,7 @@ PROG += test_argv CFLAGS += -I${.CURDIR}/../.. LDADD += -L../.. -lphk diff --git a/devel/libphk/files/patch-test_expr_Makefile b/devel/libphk/files/patch-test_expr_Makefile index ebe69d23d6b4..e3ce274722d3 100644 --- a/devel/libphk/files/patch-test_expr_Makefile +++ b/devel/libphk/files/patch-test_expr_Makefile @@ -1,6 +1,6 @@ ---- test/expr/Makefile.orig +--- test/expr/Makefile.orig 2008-04-29 16:35:38 UTC +++ test/expr/Makefile -@@ -5,7 +5,7 @@ +@@ -5,7 +5,7 @@ CFLAGS += -I${.CURDIR}/../.. LDADD += -L../.. -lphk -lm DPADD += ../../libphk.a