Re: UPDATE: audio/mpg123

2007-12-09 Thread Jacob Meuser
On Sun, Dec 02, 2007 at 05:10:29AM -0800, Bryan Linton wrote:
 On 2007-11-30 22:34:25, Jacob Meuser [EMAIL PROTECTED] wrote:
  On Thu, Nov 29, 2007 at 03:00:10PM +, Christian Weisgerber wrote:
   Giovanni Bechis [EMAIL PROTECTED] wrote:
   
Mpg123 updated to latest version,
files/* and patches/* are no more needed to build,
   
   I looked into updating mpg123 a while back but got bogged down
   because the port has substantial audio-related patches my Marc
   Espie, and the function of these patches was far from clear.  Silently
   dropping them may not be the best course.
  
  looks like a good test if the patches are needed would be to try playing
  an 8-bit mono 22050Hz mp3 on azalia(4) or snapper(4).
  
 
 The new version of mpg123 works for me on a Thinkpad T60's azalia(4).
 

 shoshoni-m% mpg123 test-low.mp3
 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
   version 0.68; written and copyright by Michael Hipp and others
   free software (LGPL/GPL) without any warranty but with best wishes
 
 Playing MPEG stream 1 of 1: test-low.mp3 ...
 MPEG 2.0 layer III, 96 kbits/s, 22050 Hz mono
 
 [3:25] Decoding of test-low.mp3 finished.
 
 shoshoni-m% audioctl | grep play
 play.rate=22050

well, thanks for testing, but it seems I forgot a) mono playback has
been added to azalia and b) some azalia codecs support 22050 Hz sampling
rates.

I just tested this on an azalia that does not support 22050 Hz.  playing
a 22050 Hz stream with this update, it plays double speed.  previously
mpg123 would error out.  both new and old work correctly when -r 44100 is
used, and the update does work better with .pls files.

updated diff below checks that the device is correctly configured
instead of just assuming all is well if AUDIO_SETINFO didn't return
an error code.  also accounts for the fact that it is possible to
set the encoding to AUDIO_ENCODING_SLINEAR, but you will get back
AUIO_ENCODING_SLINEAR_LE or AUDIO_ENCODING_BE depending on machine
endianness.

with the added checks, if it tries to play something that isn't
supported by the hardware, it displays a matrix of supported formats/
sample rate/channels and then exits.

could someone try playing a 22050 Hz stream with snapper or tumbler
with this?

also could someone try this on arm?

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org

Index: Makefile
===
RCS file: /home/cvs/OpenBSD/ports/audio/mpg123/Makefile,v
retrieving revision 1.38
diff -u -r1.38 Makefile
--- Makefile15 Sep 2007 21:26:02 -  1.38
+++ Makefile9 Dec 2007 22:12:09 -
@@ -1,51 +1,31 @@
 # $OpenBSD: Makefile,v 1.38 2007/09/15 21:26:02 simon Exp $
 
-# mpg123 is unusable without FPU
-NOT_FOR_ARCHS= arm
-
 COMMENT=   mpeg audio 1/2 layer 1, 2 and 3 player
 
-DISTNAME=  mpg123-0.59r
-PKGNAME=   ${DISTNAME}p4
+DISTNAME=  mpg123-0.68
 CATEGORIES=audio
-HOMEPAGE=  http://www.mpg123.de/
+HOMEPAGE=  http://www.mpg123.org/
 
-# Long, unclear license in ${WRKSRC}/COPYING.
-PERMIT_PACKAGE_CDROM=  No
+# LGPL
+PERMIT_PACKAGE_CDROM=  Yes
 PERMIT_PACKAGE_FTP=Yes
-PERMIT_DISTFILES_CDROM=No
+PERMIT_DISTFILES_CDROM=Yes
 PERMIT_DISTFILES_FTP=  Yes
 WANTLIB=   c m
 
-MASTER_SITES=  http://www.mpg123.de/mpg123/ \
-   http://www-ti.informatik.uni-tuebingen.de/~hippm/mpg123/ \
-   ftp://ftp.tu-clausthal.de/pub/unix/audio/mpg123/ \
-   http://ftp.tu-clausthal.de/pub/unix/audio/mpg123
-MASTER_SITES0= ftp://ftp.kame.net/pub/kame/misc/
-
-PATCHFILES=mpg123-059r-v6-2713b.diff.gz:0
-PATCH_DIST_STRIP= -p1
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=mpg123/}
 
 FLAVORS=   esd
 FLAVOR?=
 
 .if ${FLAVOR:L:Mesd}
 LIB_DEPENDS=   esd.=2::audio/esound
-ALL_TARGET=openbsd-esd
 WANTLIB+=  audiofile
+CONFIGURE_ARGS=--with-audio=esd
 .else
-ALL_TARGET=openbsd
+CONFIGURE_ARGS=--with-audio=sun
 .endif
 
-MAKE_FLAGS=CC='${CC}'
-
-post-patch:
-   @cp ${FILESDIR}/audio_openbsd.c ${FILESDIR}/term.c ${WRKSRC}
-
-post-install:
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/mpg123
-   ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/mpg123
-
-NO_REGRESS=Yes
+CONFIGURE_STYLE=gnu
 
 .include bsd.port.mk
Index: distinfo
===
RCS file: /home/cvs/OpenBSD/ports/audio/mpg123/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo5 Apr 2007 15:37:43 -   1.4
+++ distinfo9 Dec 2007 22:12:09 -
@@ -1,10 +1,5 @@
-MD5 (mpg123-0.59r.tar.gz) = ld9ZrRZR3SNG1J+vyDdH5w==
-MD5 (mpg123-059r-v6-2713b.diff.gz) = uDDO/IgFyK2Cf3OYXAPSfw==
-RMD160 (mpg123-0.59r.tar.gz) = F9R8oE/crF4tcflcy9I7YbXtizw=
-RMD160 (mpg123-059r-v6-2713b.diff.gz) = wZQlZty6+b1gWhVEtcOQ4n3BUMo=
-SHA1 (mpg123-0.59r.tar.gz) = wy/iQvRQbSGL0ZpRpANNqf3HlJM=
-SHA1 (mpg123-059r-v6-2713b.diff.gz) = 

Re: UPDATE: audio/mpg123

2007-12-03 Thread Giovanni Bechis

Jacob Meuser wrote:

if the current port handles that gracefully, but the update doesn't, then
at least some of the patches are still needed.  if neither handle that,
well, I guess it doesn't tell us much.

This update seems not to work with http streams, I will look at it as 
soon as possible.

 Giovanni



Re: UPDATE: audio/mpg123

2007-12-02 Thread Bryan Linton
On 2007-11-30 22:34:25, Jacob Meuser [EMAIL PROTECTED] wrote:
 On Thu, Nov 29, 2007 at 03:00:10PM +, Christian Weisgerber wrote:
  Giovanni Bechis [EMAIL PROTECTED] wrote:
  
   Mpg123 updated to latest version,
   files/* and patches/* are no more needed to build,
  
  I looked into updating mpg123 a while back but got bogged down
  because the port has substantial audio-related patches my Marc
  Espie, and the function of these patches was far from clear.  Silently
  dropping them may not be the best course.
 
 looks like a good test if the patches are needed would be to try playing
 an 8-bit mono 22050Hz mp3 on azalia(4) or snapper(4).
 

The new version of mpg123 works for me on a Thinkpad T60's azalia(4).


shoshoni-m% audioctl
name=HD-Audio
version=1.0
config=azalia0
encodings=slinear_le:16,slinear_le:16
properties=full_duplex,independent
full_duplex=0
fullduplex=0
blocksize=8704
hiwat=7
lowat=1
output_muted=0
monitor_gain=0
mode=
play.rate=44100
play.channels=2
play.precision=16
play.encoding=slinear_le
play.gain=127
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=8704
play.samples=24110080
play.eof=0
play.pause=0
play.error=1
play.waiting=0
play.open=0
play.active=0
play.buffer_size=65536
record.rate=44100
record.channels=1
record.precision=16
record.encoding=slinear_le
record.gain=127
record.balance=32
record.port=0x0
record.avail_ports=0x0
record.seek=0
record.samples=0
record.eof=0
record.pause=0
record.error=0
record.waiting=0
record.open=0
record.active=0
record.buffer_size=32768
record.errors=0

shoshoni-m% mpg123 test-low.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 0.68; written and copyright by Michael Hipp and others
free software (LGPL/GPL) without any warranty but with best wishes

Playing MPEG stream 1 of 1: test-low.mp3 ...
MPEG 2.0 layer III, 96 kbits/s, 22050 Hz mono

[3:25] Decoding of test-low.mp3 finished.

shoshoni-m% audioctl | grep play
play.rate=22050
play.channels=1
play.precision=16
play.encoding=slinear_le
play.gain=127
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=2176
play.samples=18148864
play.eof=0
play.pause=0
play.error=1
play.waiting=0
play.open=0
play.active=0
play.buffer_size=32768

shoshoni-m% mpg123 test-high.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 0.68; written and copyright by Michael Hipp and others
free software (LGPL/GPL) without any warranty but with best wishes

Playing MPEG stream 1 of 1: test-high.mp3 ...
MPEG 1.0 layer III, 192 kbits/s, 44100 Hz joint-stereo

[3:09] Decoding of test-high.mp3 finished.

shoshoni-m% audioctl | grep play
play.rate=44100
play.channels=2
play.precision=16
play.encoding=slinear_le
play.gain=127
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=8704
play.samples=9392
play.eof=0
play.pause=0
play.error=1
play.waiting=0
play.open=0
play.active=0
play.buffer_size=65536

Script done on Sun Dec  2 03:52:52 2007


Re: UPDATE: audio/mpg123

2007-11-30 Thread Jacob Meuser
On Thu, Nov 29, 2007 at 03:00:10PM +, Christian Weisgerber wrote:
 Giovanni Bechis [EMAIL PROTECTED] wrote:
 
  Mpg123 updated to latest version,
  files/* and patches/* are no more needed to build,
 
 I looked into updating mpg123 a while back but got bogged down
 because the port has substantial audio-related patches my Marc
 Espie, and the function of these patches was far from clear.  Silently
 dropping them may not be the best course.

looks like a good test if the patches are needed would be to try playing
an 8-bit mono 22050Hz mp3 on azalia(4) or snapper(4).

if the current port handles that gracefully, but the update doesn't, then
at least some of the patches are still needed.  if neither handle that,
well, I guess it doesn't tell us much.

sorry, won't have the ability to test this myself until next week.

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: UPDATE: audio/mpg123

2007-11-29 Thread Christian Weisgerber
Giovanni Bechis [EMAIL PROTECTED] wrote:

 Mpg123 updated to latest version,
 files/* and patches/* are no more needed to build,

I looked into updating mpg123 a while back but got bogged down
because the port has substantial audio-related patches my Marc
Espie, and the function of these patches was far from clear.  Silently
dropping them may not be the best course.

-- 
Christian naddy Weisgerber  [EMAIL PROTECTED]



UPDATE: audio/mpg123

2007-11-28 Thread Giovanni Bechis
Mpg123 updated to latest version,
files/* and patches/* are no more needed to build,
support to arch without fpu (arm) has been added but should
be tested.
Tested @i386
 Giovanni
Index: Makefile
===
RCS file: /cvs/ports/audio/mpg123/Makefile,v
retrieving revision 1.38
diff -u -p -r1.38 Makefile
--- Makefile15 Sep 2007 21:26:02 -  1.38
+++ Makefile28 Nov 2007 18:28:29 -
@@ -1,51 +1,31 @@
 # $OpenBSD: Makefile,v 1.38 2007/09/15 21:26:02 simon Exp $
 
-# mpg123 is unusable without FPU
-NOT_FOR_ARCHS= arm
-
 COMMENT=   mpeg audio 1/2 layer 1, 2 and 3 player
 
-DISTNAME=  mpg123-0.59r
-PKGNAME=   ${DISTNAME}p4
+DISTNAME=  mpg123-0.68
 CATEGORIES=audio
-HOMEPAGE=  http://www.mpg123.de/
+HOMEPAGE=  http://www.mpg123.org/
 
-# Long, unclear license in ${WRKSRC}/COPYING.
-PERMIT_PACKAGE_CDROM=  No
+# LGPL
+PERMIT_PACKAGE_CDROM=  Yes
 PERMIT_PACKAGE_FTP=Yes
-PERMIT_DISTFILES_CDROM=No
+PERMIT_DISTFILES_CDROM=Yes
 PERMIT_DISTFILES_FTP=  Yes
 WANTLIB=   c m
 
-MASTER_SITES=  http://www.mpg123.de/mpg123/ \
-   http://www-ti.informatik.uni-tuebingen.de/~hippm/mpg123/ \
-   ftp://ftp.tu-clausthal.de/pub/unix/audio/mpg123/ \
-   http://ftp.tu-clausthal.de/pub/unix/audio/mpg123
-MASTER_SITES0= ftp://ftp.kame.net/pub/kame/misc/
-
-PATCHFILES=mpg123-059r-v6-2713b.diff.gz:0
-PATCH_DIST_STRIP= -p1
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=mpg123/}
 
 FLAVORS=   esd
 FLAVOR?=
 
 .if ${FLAVOR:L:Mesd}
 LIB_DEPENDS=   esd.=2::audio/esound
-ALL_TARGET=openbsd-esd
 WANTLIB+=  audiofile
+CONFIGURE_ARGS=--with-audio=esd
 .else
-ALL_TARGET=openbsd
+CONFIGURE_ARGS=--with-audio=sun
 .endif
 
-MAKE_FLAGS=CC='${CC}'
-
-post-patch:
-   @cp ${FILESDIR}/audio_openbsd.c ${FILESDIR}/term.c ${WRKSRC}
-
-post-install:
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/mpg123
-   ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/mpg123
-
-NO_REGRESS=Yes
+CONFIGURE_STYLE=gnu
 
 .include bsd.port.mk
Index: distinfo
===
RCS file: /cvs/ports/audio/mpg123/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo5 Apr 2007 15:37:43 -   1.4
+++ distinfo28 Nov 2007 18:28:29 -
@@ -1,10 +1,5 @@
-MD5 (mpg123-0.59r.tar.gz) = ld9ZrRZR3SNG1J+vyDdH5w==
-MD5 (mpg123-059r-v6-2713b.diff.gz) = uDDO/IgFyK2Cf3OYXAPSfw==
-RMD160 (mpg123-0.59r.tar.gz) = F9R8oE/crF4tcflcy9I7YbXtizw=
-RMD160 (mpg123-059r-v6-2713b.diff.gz) = wZQlZty6+b1gWhVEtcOQ4n3BUMo=
-SHA1 (mpg123-0.59r.tar.gz) = wy/iQvRQbSGL0ZpRpANNqf3HlJM=
-SHA1 (mpg123-059r-v6-2713b.diff.gz) = +rEUibahq3nWwpeHFh8cBeSS3As=
-SHA256 (mpg123-0.59r.tar.gz) = eseraW1eaSdlcGYeK0ROKVzdjCGvllYYMjhXolWwvpQ=
-SHA256 (mpg123-059r-v6-2713b.diff.gz) = 
8TqCLMzNCMGpOg+cJp77h1PpnWNP2NxDH37LYJmAVZE=
-SIZE (mpg123-0.59r.tar.gz) = 159028
-SIZE (mpg123-059r-v6-2713b.diff.gz) = 5600
+MD5 (mpg123-0.68.tar.gz) = Ab6pCi8Q4hHiikMx3x5uRQ==
+RMD160 (mpg123-0.68.tar.gz) = 1gUu057y10J8081uEcM0p5TXzvg=
+SHA1 (mpg123-0.68.tar.gz) = 39wogtf/uWAR82a8AU1WR9EfAbk=
+SHA256 (mpg123-0.68.tar.gz) = CKzb2YQvT/IdiP4SrB7ytrws+lv5mZ0CipW/U6F/HRE=
+SIZE (mpg123-0.68.tar.gz) = 652279
Index: pkg/PLIST
===
RCS file: /cvs/ports/audio/mpg123/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- pkg/PLIST   6 Aug 2004 14:37:27 -   1.4
+++ pkg/PLIST   28 Nov 2007 18:28:29 -
@@ -1,5 +1,3 @@
 @comment $OpenBSD: PLIST,v 1.4 2004/08/06 14:37:27 espie Exp $
 bin/mpg123
 @man man/man1/mpg123.1
-share/mpg123/
-share/mpg123/COPYING


Re: UPDATE: audio/mpg123

2007-11-28 Thread PowerBSD
can't builded in openbsd snapshots i386

IBM-ThinkPad-570Time:9:31am[/usr/ports/audio/mpg123]-root-make install clean
===  Checking files for mpg123-0.68
`/usr/ports/distfiles/mpg123-0.68.tar.gz' is up to date.
 (SHA256) mpg123-0.68.tar.gz: OK
===  Verifying specs:  c m c m
===  found c.42.0 m.2.3
===  Extracting for mpg123-0.68
===  Patching for mpg123-0.68
File to patch: 

On Wed, Nov 28, 2007 at 07:38:57PM +0100, Giovanni Bechis wrote:
 Date: Wed, 28 Nov 2007 19:38:57 +0100
 From: Giovanni Bechis [EMAIL PROTECTED]
 Subject: UPDATE: audio/mpg123
 To: ports@openbsd.org
 
 Mpg123 updated to latest version,
 files/* and patches/* are no more needed to build,
 support to arch without fpu (arm) has been added but should
 be tested.
 Tested @i386
  Giovanni

 Index: Makefile
 ===
 RCS file: /cvs/ports/audio/mpg123/Makefile,v
 retrieving revision 1.38
 diff -u -p -r1.38 Makefile
 --- Makefile  15 Sep 2007 21:26:02 -  1.38
 +++ Makefile  28 Nov 2007 18:28:29 -
 @@ -1,51 +1,31 @@
  # $OpenBSD: Makefile,v 1.38 2007/09/15 21:26:02 simon Exp $
  
 -# mpg123 is unusable without FPU
 -NOT_FOR_ARCHS=   arm
 -
  COMMENT= mpeg audio 1/2 layer 1, 2 and 3 player
  
 -DISTNAME=mpg123-0.59r
 -PKGNAME= ${DISTNAME}p4
 +DISTNAME=mpg123-0.68
  CATEGORIES=  audio
 -HOMEPAGE=http://www.mpg123.de/
 +HOMEPAGE=http://www.mpg123.org/
  
 -# Long, unclear license in ${WRKSRC}/COPYING.
 -PERMIT_PACKAGE_CDROM=No
 +# LGPL
 +PERMIT_PACKAGE_CDROM=Yes
  PERMIT_PACKAGE_FTP=  Yes
 -PERMIT_DISTFILES_CDROM=  No
 +PERMIT_DISTFILES_CDROM=  Yes
  PERMIT_DISTFILES_FTP=Yes
  WANTLIB= c m
  
 -MASTER_SITES=http://www.mpg123.de/mpg123/ \
 - http://www-ti.informatik.uni-tuebingen.de/~hippm/mpg123/ \
 - ftp://ftp.tu-clausthal.de/pub/unix/audio/mpg123/ \
 - http://ftp.tu-clausthal.de/pub/unix/audio/mpg123
 -MASTER_SITES0=   ftp://ftp.kame.net/pub/kame/misc/
 -
 -PATCHFILES=  mpg123-059r-v6-2713b.diff.gz:0
 -PATCH_DIST_STRIP= -p1
 +MASTER_SITES=${MASTER_SITE_SOURCEFORGE:=mpg123/}
  
  FLAVORS= esd
  FLAVOR?=
  
  .if ${FLAVOR:L:Mesd}
  LIB_DEPENDS= esd.=2::audio/esound
 -ALL_TARGET=  openbsd-esd
  WANTLIB+=audiofile
 +CONFIGURE_ARGS=--with-audio=esd
  .else
 -ALL_TARGET=  openbsd
 +CONFIGURE_ARGS=--with-audio=sun
  .endif
  
 -MAKE_FLAGS=  CC='${CC}'
 -
 -post-patch:
 - @cp ${FILESDIR}/audio_openbsd.c ${FILESDIR}/term.c ${WRKSRC}
 -
 -post-install:
 - ${INSTALL_DATA_DIR} ${PREFIX}/share/mpg123
 - ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/mpg123
 -
 -NO_REGRESS=  Yes
 +CONFIGURE_STYLE=gnu
  
  .include bsd.port.mk
 Index: distinfo
 ===
 RCS file: /cvs/ports/audio/mpg123/distinfo,v
 retrieving revision 1.4
 diff -u -p -r1.4 distinfo
 --- distinfo  5 Apr 2007 15:37:43 -   1.4
 +++ distinfo  28 Nov 2007 18:28:29 -
 @@ -1,10 +1,5 @@
 -MD5 (mpg123-0.59r.tar.gz) = ld9ZrRZR3SNG1J+vyDdH5w==
 -MD5 (mpg123-059r-v6-2713b.diff.gz) = uDDO/IgFyK2Cf3OYXAPSfw==
 -RMD160 (mpg123-0.59r.tar.gz) = F9R8oE/crF4tcflcy9I7YbXtizw=
 -RMD160 (mpg123-059r-v6-2713b.diff.gz) = wZQlZty6+b1gWhVEtcOQ4n3BUMo=
 -SHA1 (mpg123-0.59r.tar.gz) = wy/iQvRQbSGL0ZpRpANNqf3HlJM=
 -SHA1 (mpg123-059r-v6-2713b.diff.gz) = +rEUibahq3nWwpeHFh8cBeSS3As=
 -SHA256 (mpg123-0.59r.tar.gz) = eseraW1eaSdlcGYeK0ROKVzdjCGvllYYMjhXolWwvpQ=
 -SHA256 (mpg123-059r-v6-2713b.diff.gz) = 
 8TqCLMzNCMGpOg+cJp77h1PpnWNP2NxDH37LYJmAVZE=
 -SIZE (mpg123-0.59r.tar.gz) = 159028
 -SIZE (mpg123-059r-v6-2713b.diff.gz) = 5600
 +MD5 (mpg123-0.68.tar.gz) = Ab6pCi8Q4hHiikMx3x5uRQ==
 +RMD160 (mpg123-0.68.tar.gz) = 1gUu057y10J8081uEcM0p5TXzvg=
 +SHA1 (mpg123-0.68.tar.gz) = 39wogtf/uWAR82a8AU1WR9EfAbk=
 +SHA256 (mpg123-0.68.tar.gz) = CKzb2YQvT/IdiP4SrB7ytrws+lv5mZ0CipW/U6F/HRE=
 +SIZE (mpg123-0.68.tar.gz) = 652279
 Index: pkg/PLIST
 ===
 RCS file: /cvs/ports/audio/mpg123/pkg/PLIST,v
 retrieving revision 1.4
 diff -u -p -r1.4 PLIST
 --- pkg/PLIST 6 Aug 2004 14:37:27 -   1.4
 +++ pkg/PLIST 28 Nov 2007 18:28:29 -
 @@ -1,5 +1,3 @@
  @comment $OpenBSD: PLIST,v 1.4 2004/08/06 14:37:27 espie Exp $
  bin/mpg123
  @man man/man1/mpg123.1
 -share/mpg123/
 -share/mpg123/COPYING


-- 
All flesh is grass
-- Isaiah
Smoke a friend today.



Re: UPDATE: audio/mpg123

2007-11-28 Thread PowerBSD
IBM-ThinkPad-570Time:9:36am[/usr/ports/audio]-root-patch -d mpg123  
/data/patch/mpg123.diff 
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|Index: Makefile
|===
|RCS file: /cvs/ports/audio/mpg123/Makefile,v
|retrieving revision 1.38
|diff -u -p -r1.38 Makefile
|--- Makefile   15 Sep 2007 21:26:02 -  1.38
|+++ Makefile   28 Nov 2007 18:28:29 -
--
Patching file Makefile using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|Index: distinfo
|===
|RCS file: /cvs/ports/audio/mpg123/distinfo,v
|retrieving revision 1.4
|diff -u -p -r1.4 distinfo
|--- distinfo   5 Apr 2007 15:37:43 -   1.4
|+++ distinfo   28 Nov 2007 18:28:29 -
--
Patching file distinfo using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|Index: pkg/PLIST
|===
|RCS file: /cvs/ports/audio/mpg123/pkg/PLIST,v
|retrieving revision 1.4
|diff -u -p -r1.4 PLIST
|--- pkg/PLIST  6 Aug 2004 14:37:27 -   1.4
|+++ pkg/PLIST  28 Nov 2007 18:28:29 -
--
Patching file pkg/PLIST using Plan A...
Hunk #1 succeeded at 1.
done
IBM-ThinkPad-570Time:9:36am[/usr/ports/audio]-root-cd mpg
mpg123/ mpg321/ 
IBM-ThinkPad-570Time:9:36am[/usr/ports/audio]-root-cd mpg123/
IBM-ThinkPad-570Time:9:36am[/usr/ports/audio/mpg123]-root-make install clean
===  Checking files for mpg123-0.68
`/usr/ports/distfiles/mpg123-0.68.tar.gz' is up to date.
 (SHA256) mpg123-0.68.tar.gz: OK
===  Verifying specs:  c m c m
===  found c.42.0 m.2.3
===  Extracting for mpg123-0.68
===  Patching for mpg123-0.68
File to patch: 
No file found--skip this patch? [n] 
File to patch: 
No file found--skip this patch? [n] 
File to patch: 

-- 
A triangle which has an angle of 135 degrees is called an obscene
triangle.



Re: UPDATE: audio/mpg123

2007-11-28 Thread PowerBSD
need remove /usr/ports/audio/mpg123/patches directory.

builded on i386 ok

-- 
No self-respecting fish would want to be wrapped in that kind of
paper.
-- Mike Royko on the Chicago Sun-Times after it was
   taken over by Rupert Murdoch