From owner-freebsd-wireless@FreeBSD.ORG Wed Apr 15 04:27:10 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4F355DD1 for ; Wed, 15 Apr 2015 04:27:10 +0000 (UTC) Received: from mail-ie0-x236.google.com (mail-ie0-x236.google.com [IPv6:2607:f8b0:4001:c03::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0DE24750 for ; Wed, 15 Apr 2015 04:27:10 +0000 (UTC) Received: by iejt8 with SMTP id t8so32011924iej.2 for ; Tue, 14 Apr 2015 21:27:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=A5L9Gc0JW/LyWsxT5FwLmZmo1t0QVza0RAQ+CKr5v3w=; b=cYzC5aUWDodbmbyNSh/zH1dW0K+ucRUC7K9CC1gPkZDMn5Oc2OrHTY5djVdA+8NDN5 yEV/U+0WQT9C+ERZzHQLRNeTuVGSqHVeNTdbiNIZqIad0GlBoMx75dfIcEcMReaS8Vx7 vNOQVpSQ7idqqAfQpRvdtFrRvLWrnYGT64se3BhxPUfr/49dMCI3HZuygJWd2g69nKhB qiLdwKyVpPWqfmG1Z4GJEDgIDDCvRbhTmIqsDhUZgdLrH9/DVltADyRPm+DRtqCbfEjh tY8J2LKynBt+8gJ0pDdOOmEufWqyO8XbEm5QHlGgCtML9RvOinO/1BANYz27UrkOgdso GfWg== MIME-Version: 1.0 X-Received: by 10.42.27.14 with SMTP id h14mr28786284icc.19.1429072029469; Tue, 14 Apr 2015 21:27:09 -0700 (PDT) Received: by 10.36.51.16 with HTTP; Tue, 14 Apr 2015 21:27:09 -0700 (PDT) In-Reply-To: <3DEECB27-0686-4BED-89CA-667D03F82293@gmail.com> References: <23F804A9-F1FA-4F37-B653-1B6AB81DAE35@gmail.com> <9F6CD788-37ED-4729-B5A8-09097817632F@gmail.com> <3DEECB27-0686-4BED-89CA-667D03F82293@gmail.com> Date: Wed, 15 Apr 2015 07:57:09 +0330 Message-ID: Subject: Re: Broadcom BCM4318 From: Mohammad BadieZadegan To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Apr 2015 04:27:10 -0000 At the first step, I get 4 Hunks: root@unix:/usr/ports/net/bwn-firmware-kmod # patch -p0 < bwn5fw.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -u 1/Makefile 2/Makefile |--- 1/Makefile 2015-04-14 07:14:31.000000000 +1000 |+++ 2/Makefile 2015-04-14 07:19:58.000000000 +1000 -------------------------- File to patch: Makefile Patching file Makefile using Plan A... Hunk #1 failed at 2. Hunk #2 failed at 24. Hunk #3 failed at 40. Hunk #4 failed at 49. 4 out of 4 hunks failed--saving rejects to Makefile.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -u 1/distinfo 2/distinfo |--- 1/distinfo 2015-04-14 07:14:17.000000000 +1000 |+++ 2/distinfo 2015-04-14 07:16:40.000000000 +1000 -------------------------- File to patch: On Wed, Apr 15, 2015 at 12:11 AM, Felix Friedlander wrote: > Weird - that shouldn=E2=80=99t happen, I even tested it.. It will prompt = you 3 > times. Enter Makefile at the first prompt, distinfo at the second, and > pkg-plist at the third. > > > On 14 Apr 2015, at 7:56 pm, Mohammad BadieZadegan > wrote: > > > > My FreeBSD Prompt Messages is: > > > > > > Hmm... Looks like a unified diff to me... > > The text leading up to this was: > > -------------------------- > > |diff -u 1/Makefile 2/Makefile > > |--- 1/Makefile 2015-04-14 07:14:31.000000000 +1000 > > |+++ 2/Makefile 2015-04-14 07:19:58.000000000 +1000 > > -------------------------- > > File to patch: > > > > On Tue, Apr 14, 2015 at 1:10 PM, Mohammad BadieZadegan < > mbzadegan@gmail.com> wrote: > > OK, I correct your hint "patch -p0 to patch" and wait for me! > > > > On Tue, Apr 14, 2015 at 12:15 PM, Felix Friedlander < > felixphew0@gmail.com> wrote: > > > I copied your patch into bwn-firmware-kmod folder and then: > > > root@unix:/usr/ports/net/bwn-firmware-kmod # patch -p0 bwn5fw.patch > > > > > > but nothing occured! and my prompt [root@unix:/usr/ports/net/bwn-firm= ware-kmod > #] does not appear! > > You missed the < operator. The command should be "patch -p0 > arrive on stdin, which is where it expects it. Press Ctrl-C to stop it, a= nd > then run the correct command above. Sorry if my email was less than clear= . > > -- > > Felix Friedlander > > > > > > > > > > > > > > -- > > > > > > > > > > -- > > > > -- > Felix Friedlander > > > > --=20