Authentication-Results: name.execsw.org; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=12I2S795; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=FX8map3+ Received: by mail.netbsd.org (Postfix, from userid 605) id 54F3C84E9F; Wed, 13 Mar 2024 11:14:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1710328482; bh=urUZWrRhoWgOAQARq09kepn9DS8pCOViZllvgiUrgpU=; h=Date:From:Subject:To:Reply-To:List-Id:List-Unsubscribe; b=12I2S795nQkXWuLn16lleHnPjJQ0+9Ttz/y2VCFGiSCLPGYeqUFoset8mFRMivJEq aT0PDvPA+g1p3P74ad+UiruZX8kXWcz/TQDGafzFYUq0LnxoAa6wMsu7DWtu37diAd fWs1E7Ino8kAOehW7kzR3PwAfOSHMYJR9ch0v+Gc= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 42DA284D0C for ; Wed, 13 Mar 2024 11:14:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id Xyr0jt7MQiGx for ; Wed, 13 Mar 2024 11:14:40 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 48F4884D35 for ; Wed, 13 Mar 2024 11:14:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1710328480; bh=urUZWrRhoWgOAQARq09kepn9DS8pCOViZllvgiUrgpU=; h=Date:From:Subject:To:Reply-To; b=FX8map3+yzJKT7wDB9AyQdebTr5Nsna1SbLbx2ia8iW+i6SVMfa7T+yO/A6ikwdrg GYp5NkfzRs9C/BZQjqXq3u7I2WKtwRD/edD0mk+tpZ2lQEt/835vF6Ts3NrZu5FBD4 1Izync1rSZL05Iqb0B9Ul74cj7N3aSIICQcYdag4= Received: by cvs.NetBSD.org (Postfix, from userid 500) id 6F160FA2C; Wed, 13 Mar 2024 11:13:58 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_171032843854210" MIME-Version: 1.0 Date: Wed, 13 Mar 2024 11:13:58 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/textproc/nbsed/files To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20240313111358.6F160FA2C@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_171032843854210 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jperkin Date: Wed Mar 13 11:13:58 UTC 2024 Modified Files: pkgsrc/textproc/nbsed/files: main.c Log Message: nbsed: Add __dead compat. Fixes build on SmartOS. Test suite looks clean compared to previous nbsed and native sed. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/nbsed/files/main.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_171032843854210 Content-Disposition: inline Content-Length: 1046 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/textproc/nbsed/files/main.c diff -u pkgsrc/textproc/nbsed/files/main.c:1.8 pkgsrc/textproc/nbsed/files/main.c:1.9 --- pkgsrc/textproc/nbsed/files/main.c:1.8 Wed Mar 13 11:09:28 2024 +++ pkgsrc/textproc/nbsed/files/main.c Wed Mar 13 11:13:58 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.8 2024/03/13 11:09:28 jperkin Exp $ */ +/* $NetBSD: main.c,v 1.9 2024/03/13 11:13:58 jperkin Exp $ */ /*- * Copyright (c) 2013 Johann 'Myrkraverk' Oskarsson. @@ -45,7 +45,7 @@ #if HAVE_SYS_CDEFS_H #include #endif -__RCSID("$NetBSD: main.c,v 1.8 2024/03/13 11:09:28 jperkin Exp $"); +__RCSID("$NetBSD: main.c,v 1.9 2024/03/13 11:13:58 jperkin Exp $"); #ifdef __FBSDID __FBSDID("$FreeBSD: head/usr.bin/sed/main.c 252231 2013-06-26 04:14:19Z pfg $"); #endif @@ -117,6 +117,10 @@ static const char sccsid[] = "@(#)main.c #define __UNCONST(a) ((void *)(unsigned long)(const void *)(a)) #endif +#ifndef __dead +#define __dead +#endif + /* * Linked list of units (strings and files) to be compiled */ --_----------=_171032843854210--