1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Fix build after recent LAME update:

- fix incorrect use of a deprecated function by replacing it with
   a non-deprecated function

Requested by:	portmgr (pav; maintainer CCed)
This commit is contained in:
Alexander Leidinger 2009-01-13 07:24:05 +00:00
parent 37f22f98a3
commit 8f02dc9f58
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225947
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= holyshout
PORTVERSION= 0.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= audio net
MASTER_SITES= ftp://ftp.holywar.net/pub/FreeBSD/

View File

@ -208,7 +208,7 @@
- //ret = shout_send_data(&conn, mp3buffer, imp3);
- lame_close_infile(&gf) ;
- lame_mp3_tags(&gf) ;
+ imp3=lame_encode_finish(gf,mp3buffer,(int)sizeof(mp3buffer));
+ imp3=lame_encode_flush(gf,mp3buffer,(int)sizeof(mp3buffer));
+ lame_close(gf) ;
puts("") ;