From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 65BA215838C for ; Wed, 31 Jan 2024 12:55:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 904D02BC03D; Wed, 31 Jan 2024 12:55:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 752E82BC03D for ; Wed, 31 Jan 2024 12:55:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 879AB343162 for ; Wed, 31 Jan 2024 12:55:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EFD53AE3 for ; Wed, 31 Jan 2024 12:55:30 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1706705722.68c9b8f93ff895caa7bf5aaee085e66ffb7862a4.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/chntpw/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/chntpw/chntpw-140201-r1.ebuild X-VCS-Directories: app-crypt/chntpw/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 68c9b8f93ff895caa7bf5aaee085e66ffb7862a4 X-VCS-Branch: master Date: Wed, 31 Jan 2024 12:55:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7179fac8-9667-4e87-b623-973a5dfa36c5 X-Archives-Hash: d836495b697d0ba4bfe8c51792f633d4 commit: 68c9b8f93ff895caa7bf5aaee085e66ffb7862a4 Author: Marek Szuba gentoo org> AuthorDate: Wed Jan 31 12:48:34 2024 +0000 Commit: Marek Szuba gentoo org> CommitDate: Wed Jan 31 12:55:22 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68c9b8f9 app-crypt/chntpw: force -std=gnu90 Just a workaround for build errors for now. In the long run, I think I'd better look at whether how useful exactly (if at all) chntpw is against modern Windows versions, warrants all the changes required to make the code C99-compliant. Nb. It's gnu90 rather than c90 because of the use of // for comments. Closes: https://bugs.gentoo.org/919172 Signed-off-by: Marek Szuba gentoo.org> app-crypt/chntpw/chntpw-140201-r1.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app-crypt/chntpw/chntpw-140201-r1.ebuild b/app-crypt/chntpw/chntpw-140201-r1.ebuild index 2aeae846a75b..8594fba742f8 100644 --- a/app-crypt/chntpw/chntpw-140201-r1.ebuild +++ b/app-crypt/chntpw/chntpw-140201-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs DESCRIPTION="Offline Windows NT Password & Registry Editor" HOMEPAGE="https://pogostick.net/~pnh/ntpasswd/" @@ -34,6 +34,9 @@ src_prepare() { default sed -i -e '/-o/s:$(CC):$(CC) $(LDFLAGS):' Makefile || die + # MANY changes would be required for this code to be c99-compliant + append-flags -std=gnu90 + if ! use static ; then sed -i -e "/^all:/s/ \(chntpw\|reged\).static//g" Makefile || die fi