On Thu, Jul 16, 2009 at 07:10:13AM +0300, 4625 wrote:
> On Wed, 15 Jul 2009, patrick keshishian wrote:
> 
> >>>>On OpenBSD timidity reproduce garbled sound, like when CPU
> >>>>overloaded. However, the same version of timidity on
> >>>>FreeBSD-4.11 play files very well.
> >>>>
> >>>>OpenBSD localhost 4.5 200907101811#0 i386
> >>>>timidity-2.13.2p1
> >>>
> >>>can you try this please? ?this adds sndio support. ?iirc, it
> >>>was sent to ports@ some onths ago by ray iwata. ?I don't
> >>>recall why it wasn't committed though. ?I personally don't use
> >>>timidity, but really basic usage works for me.
> >>
> >>Thanks for reply.
> >>
> >>This patch does not solve the problem.
> >>
> >>By the way, patched Makefile have small error - he try to take
> >>the 'sndio_a.c' from 'files/' dir. But 'sndio_a.c' are present
> >>in current dir actually.
> >
> >
> >Are you sure you applied the patch properly? I haven't tried building
> >the port but the patch applied correctly creates the sndio_a.c file in
> >files directory:
> 
> If this line correct, then I'm sure. 'patch < Yourpatch.diff'
> 
> >$ ls -l files/
> >total 12
> >drwxr-xr-x  2 sidster  wsrc   512 Jul  4 14:12 CVS/
> >-rw-r--r--  1 sidster  wsrc  2946 Jul 15 20:03 sndio_a.c
> >-rw-r--r--  1 sidster  wsrc     0 Jul 15 20:03 sndio_a.c.orig
> 
> timidity:0$ ls -Fl
> total 68
> drwxr-xr-x  2 root  wheel    512 Mar  1 03:25 CVS/
> -rw-r--r--  1 root  wheel   2655 Jul 16 07:03 Makefile
> -rw-r--r--  1 root  wheel   2276 Nov 22  2007 Makefile.orig
> -rw-r--r--  1 root  wheel  13525 Jul 16 02:25 Yourpatch.diff
> -rw-r--r--  1 root  wheel    549 Apr  5  2007 distinfo
> drwxr-xr-x  3 root  wheel   1024 Jul 16 07:03 patches/
> drwxr-xr-x  3 root  wheel    512 Jul 16 07:03 pkg/
> -rw-r--r--  1 root  wheel   2946 Jul 16 07:03 sndio_a.c
> -rw-r--r--  1 root  wheel      0 Jul 16 07:03 sndio_a.c.orig

$ mkdir files && patch < blah.diff

should do it.

patch has a habit of not making directories and just stuffing new files
in those into the directory below.

-0-
-- 
Get forgiveness now -- tomorrow you may no longer feel guilty.

Reply via email to