From nobody Sun Nov 21 18:27:37 2021 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 B9C7D189B871; Sun, 21 Nov 2021 18:27:41 +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 4HxzR04WYxz3JL5; Sun, 21 Nov 2021 18:27:40 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 98778140E8; Sun, 21 Nov 2021 18:27:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1ALIRbfP083878; Sun, 21 Nov 2021 18:27:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1ALIRbhU083877; Sun, 21 Nov 2021 18:27:37 GMT (envelope-from git) Date: Sun, 21 Nov 2021 18:27:37 GMT Message-Id: <202111211827.1ALIRbhU083877@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: deb995b311c1 - main - devel/tinycbor: Update to 0.6.0 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: deb995b311c149e7d417483f8f9a696578e9e204 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=deb995b311c149e7d417483f8f9a696578e9e204 commit deb995b311c149e7d417483f8f9a696578e9e204 Author: Po-Chuan Hsieh AuthorDate: 2021-11-21 18:19:07 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-11-21 18:19:07 +0000 devel/tinycbor: Update to 0.6.0 Changes: https://github.com/intel/tinycbor/releases --- devel/tinycbor/Makefile | 2 +- devel/tinycbor/distinfo | 6 +++--- devel/tinycbor/files/patch-Makefile | 14 +++++++++++--- devel/tinycbor/files/patch-Makefile.configure | 6 +++--- 4 files changed, 18 insertions(+), 10 deletions(-) diff --git a/devel/tinycbor/Makefile b/devel/tinycbor/Makefile index cddacf5c4cf8..e8de82505083 100644 --- a/devel/tinycbor/Makefile +++ b/devel/tinycbor/Makefile @@ -1,7 +1,7 @@ # Created by: Po-Chuan Hsieh PORTNAME= tinycbor -PORTVERSION= 0.5.4 +PORTVERSION= 0.6.0 DISTVERSIONPREFIX= v CATEGORIES= devel diff --git a/devel/tinycbor/distinfo b/devel/tinycbor/distinfo index b264879b6324..e07790403e6b 100644 --- a/devel/tinycbor/distinfo +++ b/devel/tinycbor/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1632036864 -SHA256 (intel-tinycbor-v0.5.4_GH0.tar.gz) = e63668a71fd6d7abf1727dc31682ec7f107599a3c024a445c3e5da6af9328983 -SIZE (intel-tinycbor-v0.5.4_GH0.tar.gz) = 89970 +TIMESTAMP = 1637072896 +SHA256 (intel-tinycbor-v0.6.0_GH0.tar.gz) = 512e2c9fce74f60ef9ed3af59161e905f9e19f30a52e433fc55f39f4c70d27e4 +SIZE (intel-tinycbor-v0.6.0_GH0.tar.gz) = 97160 diff --git a/devel/tinycbor/files/patch-Makefile b/devel/tinycbor/files/patch-Makefile index 61d5e03a53b6..1fe01b68706b 100644 --- a/devel/tinycbor/files/patch-Makefile +++ b/devel/tinycbor/files/patch-Makefile @@ -1,11 +1,19 @@ ---- Makefile.orig 2018-01-30 22:21:35 UTC +--- Makefile.orig 2021-09-03 20:08:25 UTC +++ Makefile -@@ -103,7 +103,7 @@ ifneq ($(cjson-pass)$(system-cjson-pass) +@@ -114,7 +114,7 @@ ifneq ($(cjson-pass)$(system-cjson-pass),) JSON2CBOR_SOURCES = tools/json2cbor/json2cbor.c INSTALL_TARGETS += $(bindir)/json2cbor ifeq ($(system-cjson-pass),1) - LDFLAGS_CJSON = -lcjson -+ LDFLAGS_CJSON = -L$(LOCALBASE)/lib -lcjson ++ LDFLAGS_CJSON = -I$(LOCALBASE)/include -L$(LOCALBASE)/lib -lcjson else JSON2CBOR_SOURCES += src/cjson/cJSON.c json2cbor_CCFLAGS = -I$(SRCDIR)src/cjson +@@ -238,7 +238,6 @@ tag: distcheck + cflags := $(CPPFLAGS) -I$(SRCDIR)src + cflags += -std=gnu99 $(CFLAGS) \ + -Werror=incompatible-pointer-types \ +- -Werror=implicit-function-declaration \ + -Werror=int-conversion + %.o: %.c + @test -d $(@D) || $(MKDIR) $(@D) diff --git a/devel/tinycbor/files/patch-Makefile.configure b/devel/tinycbor/files/patch-Makefile.configure index a7727e18a013..fd655c44f18c 100644 --- a/devel/tinycbor/files/patch-Makefile.configure +++ b/devel/tinycbor/files/patch-Makefile.configure @@ -1,8 +1,8 @@ ---- Makefile.configure.orig 2018-01-30 22:21:35 UTC +--- Makefile.configure.orig 2021-09-03 20:08:25 UTC +++ Makefile.configure -@@ -14,7 +14,7 @@ PROGRAM-cjson += \#include \n PROGRAM-cjson += int main() { return cJSON_False; } - CCFLAGS-cjson = -I$(dir $(MAKEFILE))src/cjson + CCFLAGS-cjson = -I$(dir $(MAKEFILE))src PROGRAM-system-cjson = $(PROGRAM-cjson) -CCFLAGS-system-cjson = -lcjson +CCFLAGS-system-cjson = -I$(LOCALBASE)/include -L$(LOCALBASE)/lib -lcjson