Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Apr 2015 07:57:09 +0330
From:      Mohammad BadieZadegan <mbzadegan@gmail.com>
To:        freebsd-wireless@freebsd.org
Subject:   Re: Broadcom BCM4318
Message-ID:  <CADMcpTarjzZQ2DPUQfHS1PCmitrJxPbV_95gX9yCFj65ctAieA@mail.gmail.com>
In-Reply-To: <3DEECB27-0686-4BED-89CA-667D03F82293@gmail.com>
References:  <CADMcpTZPmXAz3qMx%2BLk-w9aV9ix6eLQLwyzOGPRt1dEVc_qh2Q@mail.gmail.com> <CAFLP89M4BOHtvOS2ymR%2BtmCkuZUM=x3CLq7aNkBiR0ssJ5xLhg@mail.gmail.com> <CADMcpTYx%2B0B-yrsROm3vCa0YR_qZ_PEj0aW6=vvebe0uTL9KAQ@mail.gmail.com> <B5BB4F67-4F64-4D69-9A49-4A6BA107C68F@gmail.com> <CADMcpTarhJn0NV3fNfDPEzn%2BbjEM5GcaHz_oGsq5BtvvYwzxyw@mail.gmail.com> <23F804A9-F1FA-4F37-B653-1B6AB81DAE35@gmail.com> <CADMcpTZD%2BggHhLWyDLsB_10b%2BqSBJ27Wba8dVxVHbnyhTL_Seg@mail.gmail.com> <9F6CD788-37ED-4729-B5A8-09097817632F@gmail.com> <CADMcpTaOnHqON%2BQsiL-mtdwH6Rp55V1hQ3YcU4pExpY%2Bi0qjpA@mail.gmail.com> <CADMcpTZJR1gJy4Las3FKNveU-DmQN=usphwEKZ0Nw-e0TKTomg@mail.gmail.com> <3DEECB27-0686-4BED-89CA-667D03F82293@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <felixphew0@gmail.com>
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 <mbzadegan@gmail.com>
> 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 <bwn5fw.patch"but inform me to "File
> 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
> <bwn5fw.patch=E2=80=9D. The patch program was just waiting forever for th=
e patch to
> 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 <felixphew0@gmail.com>
> >
> >
> >
> >
> >
> >
> > --
> >
> >
> >
> >
> > --
> >
>
> --
> Felix Friedlander <felixphew0@gmail.com>
>
>
>
>


--=20
<http://ir.linkedin.com/in/xadegan>;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADMcpTarjzZQ2DPUQfHS1PCmitrJxPbV_95gX9yCFj65ctAieA>