Fix the bugs and buglets which were causing warnings on -stable and

error(s) on -current.

Approved by:	knu (portmgr) with a very minor deviation
This commit is contained in:
Mikhail Teterin 2002-09-30 15:24:53 +00:00
parent 7e51c10d2b
commit 9704994e13
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67270
3 changed files with 32 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= lame
PORTVERSION= 3.91
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://lame.sourceforge.net/pub/

View File

@ -0,0 +1,8 @@
--- frontend/main.h Mon Oct 29 17:00:15 2001
+++ frontend/main.h Fri Sep 27 18:15:33 2002
@@ -25,3 +25,3 @@
-#define MAX_NAME_SIZE 1000
+#include <sys/param.h>
+#define MAX_NAME_SIZE MAXPATHLEN
-

View File

@ -0,0 +1,23 @@
--- frontend/rtp.h Tue Dec 19 02:43:25 2000
+++ frontend/rtp.h Fri Sep 27 18:26:42 2002
@@ -28,3 +28,3 @@
-#ifdef 0
+#if 0
int rtp_send (
--- frontend/mp3rtp.c Fri Jun 8 17:29:34 2001
+++ frontend/mp3rtp.c Fri Sep 27 18:29:04 2002
@@ -48,6 +48,4 @@
#endif
-#define MAX_NAME_SIZE 2048 /* current value of Linux */
-
/*
* Encode (via LAME) to mp3 with RTP streaming of the output.
@@ -89,5 +87,5 @@
-unsigned maxvalue ( short int Buffer [2] [1152] )
+unsigned maxvalue ( int Buffer [2] [1152] )
{
int max = 0;