Received: by mail.netbsd.org (Postfix, from userid 605) id 05F6684D9B; Sat, 24 Dec 2022 14:24:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 36DFB84D43 for ; Sat, 24 Dec 2022 14:24:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id UnkIc3EKpksE for ; Sat, 24 Dec 2022 14:24:34 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id AA41B84CE3 for ; Sat, 24 Dec 2022 14:24:34 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id A37DEFA90; Sat, 24 Dec 2022 14:24:34 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1671891874193920" MIME-Version: 1.0 Date: Sat, 24 Dec 2022 14:24:34 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/games/corewars To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20221224142434.A37DEFA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1671891874193920 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Sat Dec 24 14:24:34 UTC 2022 Modified Files: pkgsrc/games/corewars: distinfo Added Files: pkgsrc/games/corewars/patches: patch-src_execute-cw.c Log Message: corewars: remove inline keyword hopefully fixes NetBSD 9 build To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 pkgsrc/games/corewars/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/games/corewars/patches/patch-src_execute-cw.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1671891874193920 Content-Disposition: inline Content-Length: 1495 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/games/corewars/distinfo diff -u pkgsrc/games/corewars/distinfo:1.7 pkgsrc/games/corewars/distinfo:1.8 --- pkgsrc/games/corewars/distinfo:1.7 Tue Oct 26 10:43:51 2021 +++ pkgsrc/games/corewars/distinfo Sat Dec 24 14:24:34 2022 @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.7 2021/10/26 10:43:51 nia Exp $ +$NetBSD: distinfo,v 1.8 2022/12/24 14:24:34 wiz Exp $ BLAKE2s (corewars-0.9.13.tar.gz) = 424ed84d33a26c31f44831556c8fa6688581b550502abeb607e427fd0c0e15ef SHA512 (corewars-0.9.13.tar.gz) = fe4194ac5efa7612a06d80c1218740de17a6dae6228f5e603074ab296f4a195adc68c0d8db5bbc9588947a536a9cfc208b411b024163adfe1cda072d05dd6a71 Size (corewars-0.9.13.tar.gz) = 203874 bytes +SHA1 (patch-src_execute-cw.c) = 4c4a76cd4bed4b2bfb7e93a44c9df91f880c90e3 Added files: Index: pkgsrc/games/corewars/patches/patch-src_execute-cw.c diff -u /dev/null pkgsrc/games/corewars/patches/patch-src_execute-cw.c:1.1 --- /dev/null Sat Dec 24 14:24:34 2022 +++ pkgsrc/games/corewars/patches/patch-src_execute-cw.c Sat Dec 24 14:24:34 2022 @@ -0,0 +1,15 @@ +$NetBSD: patch-src_execute-cw.c,v 1.1 2022/12/24 14:24:34 wiz Exp $ + +Avoid inline to fix build on NetBSD 9. + +--- src/execute-cw.c.orig 2000-03-30 20:21:34.000000000 +0000 ++++ src/execute-cw.c +@@ -86,7 +86,7 @@ inline int get_value (struct cw_operand + } + } + +-inline int get_reference (struct cw_operand *o, int i, struct cell **ref) ++int get_reference (struct cw_operand *o, int i, struct cell **ref) + { + int j; + --_----------=_1671891874193920--