aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2005-03-17 06:34:40 +0800
committernaddy <naddy@FreeBSD.org>2005-03-17 06:34:40 +0800
commitb1018fb97c8e9ee51d366e07ecba4fba5e20af49 (patch)
tree66ed53e6533b47c3c9ba593d931a2c05e2daec4d /audio
parent66ccf28795b5db995b70fd3dfa9284bc523cc668 (diff)
downloadfreebsd-ports-gnome-b1018fb97c8e9ee51d366e07ecba4fba5e20af49.tar.gz
freebsd-ports-gnome-b1018fb97c8e9ee51d366e07ecba4fba5e20af49.tar.zst
freebsd-ports-gnome-b1018fb97c8e9ee51d366e07ecba4fba5e20af49.zip
Fix build on 4.x.
Reported by: vs
Diffstat (limited to 'audio')
-rw-r--r--audio/xmms-flac/files/patch-src_plugin__xmms_http.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/xmms-flac/files/patch-src_plugin__xmms_http.c b/audio/xmms-flac/files/patch-src_plugin__xmms_http.c
new file mode 100644
index 000000000000..e7e8c222c63c
--- /dev/null
+++ b/audio/xmms-flac/files/patch-src_plugin__xmms_http.c
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- src/plugin_xmms/http.c.orig
++++ src/plugin_xmms/http.c
+@@ -44,10 +44,6 @@
+ #include "FLAC/format.h"
+ #include "plugin.h"
+
+-#ifndef HAVE_SOCKLEN_T
+-typedef unsigned int socklen_t;
+-#endif
+-
+ #define min(x,y) ((x)<(y)?(x):(y))
+ #define min3(x,y,z) (min(x,y)<(z)?min(x,y):(z))
+ #define min4(x,y,z,w) (min3(x,y,z)<(w)?min3(x,y,z):(w))