aboutsummaryrefslogtreecommitdiff
path: root/audio/lame/files
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2002-09-30 15:24:53 +0000
committerMikhail Teterin <mi@FreeBSD.org>2002-09-30 15:24:53 +0000
commit9704994e131703a946d08ad604ed731a3aad68f1 (patch)
treed30d5ce98f06e789c2651a31154f9296811caa52 /audio/lame/files
parent7e51c10d2b43b1dc1eccea2b44a6b24c3e8473fd (diff)
downloadports-9704994e131703a946d08ad604ed731a3aad68f1.tar.gz
ports-9704994e131703a946d08ad604ed731a3aad68f1.zip
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
Notes
Notes: svn path=/head/; revision=67270
Diffstat (limited to 'audio/lame/files')
-rw-r--r--audio/lame/files/patch-maxpath8
-rw-r--r--audio/lame/files/patch-sloppy23
2 files changed, 31 insertions, 0 deletions
diff --git a/audio/lame/files/patch-maxpath b/audio/lame/files/patch-maxpath
new file mode 100644
index 000000000000..2a1be234cc32
--- /dev/null
+++ b/audio/lame/files/patch-maxpath
@@ -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
+-
diff --git a/audio/lame/files/patch-sloppy b/audio/lame/files/patch-sloppy
new file mode 100644
index 000000000000..522a4e5390ee
--- /dev/null
+++ b/audio/lame/files/patch-sloppy
@@ -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;