From nobody Fri May 06 12:36:51 2022 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 BA29C1AC0CE6; Fri, 6 May 2022 12:36:51 +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 4Kvqnb4s68z53Gd; Fri, 6 May 2022 12:36:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651840611; 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=7ihi+zv9RuDlDRwJOixIizjR5zhwpNh5UqiQE6ro9YQ=; b=a+YD8xgkNOAvvPyw4V7BL+YvHYoAOjyCw7kRqknqkuCAbFjYhk8D8bksjF5XW0NxfgWtWv OjlnCt3twOutrQX44r+ggPpd6fn4lhMHiRlvOCr1VcCqN8k+XjtLU+c7DPos2h7x10itGC zWORT8oYH4FtNu/Ug37bJxmEo5r1INcmWrmkQS0deDRueGUgDqBoPEoOZ0VAzpETvJqxk2 IyvKxUbwYeUDdbHSZxccVOrJ18mwEiVORZCmAzs1j1gP9kRUGydeYGbpGFHgBqC56qqv2/ pJ1YrYBir38XborPDDcfP5v5TBZHeVS0WD8zVUDfau5nPP/0Iy+L35z8lCzogw== 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 871AF1BF31; Fri, 6 May 2022 12:36:51 +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 246Capbq093397; Fri, 6 May 2022 12:36:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246Capd2093396; Fri, 6 May 2022 12:36:51 GMT (envelope-from git) Date: Fri, 6 May 2022 12:36:51 GMT Message-Id: <202205061236.246Capd2093396@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 350359a03444 - main - devel/z88dk: unbreak the build when MALLOC_PRODUCTION is unset 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: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 350359a03444205f8ee4972894ccc7d9346fca51 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651840611; 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=7ihi+zv9RuDlDRwJOixIizjR5zhwpNh5UqiQE6ro9YQ=; b=g26Hko+IqR7JKbQ+ocS+U/c9nstX6o8mMeWjWH794K5L9XW8FbfH3jZnXMlpHKh5NdtclO Jz3MfA/McBk+1dcYgvZ0SNfpDt8kUMNyjrhAtBOIdAlzTb2FYbWb2mYC2jn7AX1z6XSvlf juuPFy6p7itfddHcGk9IaQypzLNk5UDExPRfwc1x8m7xAdNB+W3kGV1mtOoacRJ+JsK9if W1x0rqN+TYk2DdCHnMwkMsFZPGfOFGAYO8GFR6n5NDCvXjIC4bgVeAKwJe9qeLqF9d5mUu VQA4ctJXn/m4OI5aEeQ9BTgMDJQiJn8oXBWUS8Mvqsqlpva/fSqJJwLTHfcOEQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651840611; a=rsa-sha256; cv=none; b=pHu1BgFK1HrLINBPU1a2Xq48tw8bxiM9+/GizZX4JwOeYu0qsSBTWwYHS3FuuyoNBdu5lX kg42pdJFQEtxG2Nf09rxDS55VBERy4trKG18Y4uemofaGA2D7XfodYeo6lVgxD0CY5potV qu5PzDUdLHlyE81X/AW5LiiE9e+6VsVB4G1TTSWGX03Q3d/9dIR735jhi6t9XR8ilm68xH DgiO0vx9pbpYzuoIFipXy5nZSvLdZRN6s9x9bYGXnLxvlcxA2kCkkLm7+p+7GrDXCZ0pXd +8gkpahB4nEGS3lw/ZIJ6ve/t5y34rdY3KzopVSRJV7ybUqWlaEYbV6C59Xmiw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=350359a03444205f8ee4972894ccc7d9346fca51 commit 350359a03444205f8ee4972894ccc7d9346fca51 Author: Alexey Dokuchaev AuthorDate: 2022-05-06 12:35:00 +0000 Commit: Alexey Dokuchaev CommitDate: 2022-05-06 12:35:00 +0000 devel/z88dk: unbreak the build when MALLOC_PRODUCTION is unset In debug mode, malloc() writes some junk to newly allocated memory to help developers discover memory allocation bugs, which results in the subtle compilation errors for this port: gmake --no-print-directory -C stdio zcc +test -O2 -vn -c -c -o obj/_freopen1.o _freopen1.c _freopen1.c:19:36: error: Attempt to modify const lvalue 'mode' _freopen1.c:21:21: error: Attempt to modify const lvalue 'access' _freopen1.c:22:33: error: Attempt to modify const lvalue 'flags' _freopen1.c:25:38: error: Attempt to modify const lvalue 'access' _freopen1.c:26:33: error: Attempt to modify const lvalue 'flags' _freopen1.c:29:38: error: Attempt to modify const lvalue 'access' _freopen1.c:30:33: error: Attempt to modify const lvalue 'flags' _freopen1.c:37:15: error: Attempt to modify const lvalue 'mode' _freopen1.c:39:25: error: Attempt to modify const lvalue 'access' _freopen1.c:40:34: error: Attempt to modify const lvalue 'flags' Idea from: cy (commit 50324bba317c in x11/cde) Reported by: pkg-fallout --- devel/z88dk/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devel/z88dk/Makefile b/devel/z88dk/Makefile index 1b4b16da0266..2a5706571b60 100644 --- a/devel/z88dk/Makefile +++ b/devel/z88dk/Makefile @@ -35,7 +35,7 @@ TEST_DEPENDS= dos2unix:converters/unix2dos \ USES= gmake gnome perl5 shebangfix tar:tgz USE_GNOME= libxml2 USE_PERL5= run -MAKE_ENV= ZCCCFG=${WRKSRC}/lib/config Q= # force verbose build +MAKE_ENV= ZCCCFG=${WRKSRC}/lib/config Q= MALLOC_CONF=junk:false SHEBANG_FILES= src/z80asm/asmpp.pl TEST_TARGET= testsuite test WRKSRC= ${WRKDIR}/${PORTNAME}