From nobody Sat Nov 23 18:17:53 2024 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 4XwgDx4gFHz5dfLG; Sat, 23 Nov 2024 18:17:53 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XwgDx2lcyz4Z7Y; Sat, 23 Nov 2024 18:17:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732385873; 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=7XzI5hdhSnICBZkNDG2+Ht5hBnCXyLPtldvxQRu1EJ0=; b=ASnBOdszaW9fdvTl1Qdr0IaID7iAO4KdGdwENKUACrq7I9wPx/bj+kN6S/WATS/iggUh93 gM3eFuuVybKyC6h52qzF+mfn10IMcSuyx1epS6zJqUVeLJdOJ2ghlvEIRtDjGRYOp80EIk XXI69Z7UOjdRXZ6Qd8qdRoSg0xOCNHUUjAYOrBpaIExxqjNcs1jzMUVfBH8eZBRmx8LXtI eJAoIDkAnnRvOBF19wznE3ayephxizjJKzsryiMmh/l6yT+7nPsszVXCeJr6XYaGyYv2Ht KsxuJTFWDX0JAll6XeZFbo/H9mu2iSbed3Ba7WTq0b748JMmks7eFikVSXBYGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732385873; 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=7XzI5hdhSnICBZkNDG2+Ht5hBnCXyLPtldvxQRu1EJ0=; b=bRU/9gNt5ORq0H7DZtD0+a3aO7E2ctyZTN6Vxh1FWF2WdgnL0XqSDX07e/bvBzVza44fjB mNvm8tOv4iW6UKvPuYJ4cRvx9qQ3FtMGzj0AerhW0hX8EYvydQlWoj92NDwBHvpK64IYqb P1vYdsngtLqv6jaX21vlGT3XNnNsfYIC6U5KDKYtwB+PJsUYF25THJ3/gElTZviNVIl8Uc Yv6St5ReBfVWRigSw5uVOCY0N7YSVnY1vnTvcPipH8TxNMkCuX0Bm0vZykbsxvof4ciOgI hSJi/lwhdqb01RlBn6Ch2Y3Y0QVZwQwa2D1Kn8SrgwQDex8VuSEUmcAR5idVcQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732385873; a=rsa-sha256; cv=none; b=B/t6CTgUYh6qipb9kdfR1yZPfuw+sIInZrD4PVkYu4LHFkcAevA1OQNfygwurWOHjErgMB M2x43DwYyJHsR2xveEVK84URHbpUdOlRhLvFgxy6jU5LFNGHf6IOXS2xGe+USNVJGpwo0K aQ5Trh9oPtcvy2zCYnviKrz0OuOx2+ID85JNVkdUZuUZYXnZIOLduB28oTiwDf/t+ecEr3 v8+Wmoda5rUBXTIoCZZy9F9TDlP+9h818qZhGQB+pl9F79TZelhCeyonlTd+OkwT2PviCJ buHv332KBNBy4QK1+vYrdIndPQYN+qzauz1N7mHCH4RXMf4Jq2LJpQ+tPIqQAQ== 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 4XwgDx27frzKsQ; Sat, 23 Nov 2024 18:17:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4ANIHr8x022223; Sat, 23 Nov 2024 18:17:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4ANIHr9B022220; Sat, 23 Nov 2024 18:17:53 GMT (envelope-from git) Date: Sat, 23 Nov 2024 18:17:53 GMT Message-Id: <202411231817.4ANIHr9B022220@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Fernando =?utf-8?Q?Apestegu=C3=ADa?= Subject: git: a4ad79ed1736 - main - cad/stepcode: Fix build in current 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a4ad79ed17360718f04c4e958f2a57aa9dd08d73 Auto-Submitted: auto-generated The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=a4ad79ed17360718f04c4e958f2a57aa9dd08d73 commit a4ad79ed17360718f04c4e958f2a57aa9dd08d73 Author: Fernando ApesteguĂ­a AuthorDate: 2024-11-21 19:18:30 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2024-11-23 18:17:34 +0000 cad/stepcode: Fix build in current --- cad/stepcode/Makefile | 1 + cad/stepcode/files/patch-include_cllazyfile_judyS2Array.h | 11 +++++++++++ cad/stepcode/files/patch-include_cllazyfile_judySArray.h | 11 +++++++++++ 3 files changed, 23 insertions(+) diff --git a/cad/stepcode/Makefile b/cad/stepcode/Makefile index 32cb745a8431..d733583f4e61 100644 --- a/cad/stepcode/Makefile +++ b/cad/stepcode/Makefile @@ -1,6 +1,7 @@ PORTNAME= stepcode PORTVERSION= 0.8.2 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= cad MAINTAINER= fernape@FreeBSD.org diff --git a/cad/stepcode/files/patch-include_cllazyfile_judyS2Array.h b/cad/stepcode/files/patch-include_cllazyfile_judyS2Array.h new file mode 100644 index 000000000000..cb3437316917 --- /dev/null +++ b/cad/stepcode/files/patch-include_cllazyfile_judyS2Array.h @@ -0,0 +1,11 @@ +--- include/cllazyfile/judyS2Array.h.orig 2024-11-21 19:04:57 UTC ++++ include/cllazyfile/judyS2Array.h +@@ -51,7 +51,7 @@ class judyS2Array { + explicit judyS2Array( const judyS2Array< JudyValue > & other ): _maxKeyLen( other._maxKeyLen ), _success( other._success ) { + _judyarray = judy_clone( other._judyarray ); + _buff = new unsigned char[_maxKeyLen]; +- strncpy( _buff, other._buff, _maxKeyLen ); ++ strncpy( (char*)_buff, (char*)other._buff, _maxKeyLen ); + _buff[ _maxKeyLen ] = '\0'; //ensure that _buff is null-terminated, since strncpy won't necessarily do so + find( _buff ); //set _lastSlot + } diff --git a/cad/stepcode/files/patch-include_cllazyfile_judySArray.h b/cad/stepcode/files/patch-include_cllazyfile_judySArray.h new file mode 100644 index 000000000000..b943afbde19e --- /dev/null +++ b/cad/stepcode/files/patch-include_cllazyfile_judySArray.h @@ -0,0 +1,11 @@ +--- include/cllazyfile/judySArray.h.orig 2024-11-21 18:30:49 UTC ++++ include/cllazyfile/judySArray.h +@@ -39,7 +39,7 @@ class judySArray { + explicit judySArray( const judySArray< JudyValue > & other ): _maxKeyLen( other._maxKeyLen ), _success( other._success ) { + _judyarray = judy_clone( other._judyarray ); + _buff = new unsigned char[_maxKeyLen]; +- strncpy( _buff, other._buff, _maxKeyLen ); ++ strncpy( (char*)_buff, (char*)other._buff, _maxKeyLen ); + _buff[ _maxKeyLen ] = '\0'; //ensure that _buff is null-terminated, since strncpy won't necessarily do so + find( _buff ); //set _lastSlot + }