public inbox for blinux-list@redhat.com
 help / color / mirror / Atom feed
* need help with yasr patch
@  jude dashiell
   ` Cheryl Homiak
  0 siblings, 1 reply; 8+ messages in thread
From: jude dashiell @  UTC (permalink / raw)
  To: blinux-list

I can't get the right -p value.  I have my yasr source in /tmp/yasr-0.6.3
and tried the patch with it in /home/dashielljt at first then moved the
patch into the /tmp/yasr-0.6.3 directory itself and it continues
complaining about line 3.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: need help with yasr patch
   need help with yasr patch jude dashiell
@  ` Cheryl Homiak
     ` jude dashiell
     ` diff and patch Was: " Mario Lang
  0 siblings, 2 replies; 8+ messages in thread
From: Cheryl Homiak @  UTC (permalink / raw)
  To: blinux-list

Jude:
I happen to do my compiling in /usr/local/src, but you can do this in /tmp or
whereever. I put the patch in /usr/local/src/yasr-0.6.0/yasr-0.6.0 and typed:
patch <yasrpatch (the name i had given the patch file. It worked with no
problem.
Just be sure you cut it off at the right place when you edited it out of the
email.

Cheryl



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: need help with yasr patch
   ` Cheryl Homiak
@    ` jude dashiell
       ` Mike Gorse
     ` diff and patch Was: " Mario Lang
  1 sibling, 1 reply; 8+ messages in thread
From: jude dashiell @  UTC (permalink / raw)
  To: blinux-list

Ah, okay I was trying to patch yasr 0.6.3 and had about 18 lines in the
patch file.  If you were applying that patch to 0.6.0, this one was
probably already handled.On Thu, 22 May 2003, Cheryl Homiak wrote:

> Jude:
> I happen to do my compiling in /usr/local/src, but you can do this in /tmp or
> whereever. I put the patch in /usr/local/src/yasr-0.6.0/yasr-0.6.0 and typed:
> patch <yasrpatch (the name i had given the patch file. It worked with no
> problem.
> Just be sure you cut it off at the right place when you edited it out of the
> email.
>
> Cheryl
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: need help with yasr patch
     ` jude dashiell
@      ` Mike Gorse
         ` Cheryl Homiak
         ` Cheryl Homiak
  0 siblings, 2 replies; 8+ messages in thread
From: Mike Gorse @  UTC (permalink / raw)
  To: blinux-list

No, it isn't fixed in 0.6.3.  It wasn't fixed in my copy until last night
after Cheryl pointed it out.

-- Michael Gorse / AIM:linvortex / http://mgorse.home.dhs.org --



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: need help with yasr patch
       ` Mike Gorse
@        ` Cheryl Homiak
         ` Cheryl Homiak
  1 sibling, 0 replies; 8+ messages in thread
From: Cheryl Homiak @  UTC (permalink / raw)
  To: blinux-list

well, that was strange. I thought I was getting the latest version of yasr
yesterday but I guess not. then just now, I couldn't get anything to download by
choosing a mirror link or the download link below them. I finally got the newest
version when I saw the instructions that if the download didn't start try (and
it gave a path to the file. strange!
anyway, guess I'll install this--with the patch again.

Cheryl



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: need help with yasr patch
       ` Mike Gorse
         ` Cheryl Homiak
@        ` Cheryl Homiak
           ` jude dashiell
  1 sibling, 1 reply; 8+ messages in thread
From: Cheryl Homiak @  UTC (permalink / raw)
  To: blinux-list

Jude:
I just patched to yasr-0.6.3 with no problem. Make sure that (1) you are doing
it from a fresh source tree; and (2) that you cut it off at the right place when
editing the email containing it.
Hope this helps.

Cheryl



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: need help with yasr patch
         ` Cheryl Homiak
@          ` jude dashiell
  0 siblings, 0 replies; 8+ messages in thread
From: jude dashiell @  UTC (permalink / raw)
  To: blinux-list

I ended up throwing in the towel on this one.  I had speakup turned off
and had done chmod 666 /dev/ttyS0 as root so the tts device would be
accessible, then ran yasr and got complete silence.  Strangely enough with
the DTK_PROGRAM=doubletalk and DTK_PORT=/dev/ttyS0 set I can't even run
emacspeak without getting process speaker not running error.  This is on
slackware 9_0 with gcc 3.22 too.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* diff and patch Was: Re: need help with yasr patch
   ` Cheryl Homiak
     ` jude dashiell
@    ` Mario Lang
  1 sibling, 0 replies; 8+ messages in thread
From: Mario Lang @  UTC (permalink / raw)
  To: blinux-list

Cheryl Homiak <chomiak@chartermi.net> writes:

> Just be sure you cut it off at the right place when you edited it out of the
> email.

Tip of the day: patch is smart enough to detect if
you got extra, irrelevant, lines of text in your patch file.
So usually, you should be able to just save the mail, and apply
it, as long as the patch wasn't base64 encoded or something like that.

Looking at "cvs diff" output is an example for that.  cvs outputs
additional lines of information about the patch, which are not
part of a normal diff file.  patch happily ignores those without the need
to manually edit the diff, or  filter it in some way.

Another related trick is executable patch files.  Since
patch ignores irrelevant, non-diff text lines, you can begin
your patch file like
#!/bin/sh

and write a little interactive script which applies "patch" on itself,
something like

patch -p1 <$0

This way you can put safety checks in your patch to avoid
common user errors.  You just need to set the executable bit
on your patch file, and off you go.

-- 
CYa,
  Mario | Debian Developer <URL:http://debian.org/>
        | Get my public key via finger mlang@db.debian.org
        | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 need help with yasr patch jude dashiell
 ` Cheryl Homiak
   ` jude dashiell
     ` Mike Gorse
       ` Cheryl Homiak
       ` Cheryl Homiak
         ` jude dashiell
   ` diff and patch Was: " Mario Lang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).