From owner-freebsd-ports@FreeBSD.ORG Fri May 9 13:02:54 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDB6137B401 for ; Fri, 9 May 2003 13:02:54 -0700 (PDT) Received: from mail.dt.e-technik.uni-dortmund.de (krusty.dt.E-Technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1111A43FAF for ; Fri, 9 May 2003 13:02:54 -0700 (PDT) (envelope-from ma@dt.e-technik.uni-dortmund.de) Received: from m2a2.dyndns.org (krusty.dt.e-technik.uni-dortmund.de [129.217.163.1])3A3CBA381D for ; Fri, 9 May 2003 22:02:53 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 500) id 0DEFF88F72; Fri, 9 May 2003 22:02:51 +0200 (CEST) To: Sean_Welch@alum.wofford.org In-Reply-To: <8330285.1052353006997.JavaMail.nobody@ernie.psp.pas.earthlink.net> (Sean Welch's message of "Wed, 7 May 2003 17:16:04 -0500 (GMT)") References: <8330285.1052353006997.JavaMail.nobody@ernie.psp.pas.earthlink.net> From: Matthias Andree Date: Fri, 09 May 2003 22:02:50 +0200 Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: ports@freebsd.org cc: kris@obsecurity.org Subject: Re: Fixes to broken ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2003 20:02:55 -0000 Sean Welch writes: > I submitted a PR (44393) last October for emulators/snes9x with > a fix ( http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/44393 ). > It looks as though the maintainer (Green?) never applied it. I > just verified that it works under 4.8-RELEASE. > > I'm not sure how to produce the contextual diff format used in a > patch, but line 305 in emulators/snes9x/files/patch-af reads: > > + reportlen = hid_report_size(rd, hid_input, &report_id); > > when it should read: > > + reportlen = hid_report_size(rd, hid_input, report_id); > > Hope this helps! > > (Maybe someone could tell me how to produce the contextual diff?) Not sure what you mean, the command usually starts with "diff -c" and two file names, original and patched file (in that order): diff -c old new -- Matthias Andree