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 <felixph...@gmail.com> wrote: > Weird - that shouldn’t 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 <mbzade...@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 < > mbzade...@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 < > felixph...@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-firmware-kmod > #] does not appear! > > You missed the < operator. The command should be "patch -p0 > <bwn5fw.patch”. The patch program was just waiting forever for the patch to > arrive on stdin, which is where it expects it. Press Ctrl-C to stop it, and > then run the correct command above. Sorry if my email was less than clear. > > -- > > Felix Friedlander <felixph...@gmail.com> > > > > > > > > > > > > > > -- > > > > > > > > > > -- > > > > -- > Felix Friedlander <felixph...@gmail.com> > > > > -- <http://ir.linkedin.com/in/xadegan> _______________________________________________ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"