diff options
author | Kristopher Kersey <augustus@gentoo.org> | 2004-02-04 05:46:01 +0000 |
---|---|---|
committer | Kristopher Kersey <augustus@gentoo.org> | 2004-02-04 05:46:01 +0000 |
commit | 477933225ae47952ea2d04e35f3519087663e884 (patch) | |
tree | 758fade58d27c00f4b19a9c23eda3e7ca6107ef4 /media-sound/esound/files | |
parent | Moved intltool out of RDEPEND (into DEPEND). Updated 1.2.9-r1 to run aclocal... (diff) | |
download | historical-477933225ae47952ea2d04e35f3519087663e884.tar.gz historical-477933225ae47952ea2d04e35f3519087663e884.tar.bz2 historical-477933225ae47952ea2d04e35f3519087663e884.zip |
Fixed amd64 compilation. -Werror is set and there was a warning. I'm surprised this doesn't affect other platforms. If so, just remove my use condition.
Diffstat (limited to 'media-sound/esound/files')
-rw-r--r-- | media-sound/esound/files/esound-0.2.32-amd64.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/media-sound/esound/files/esound-0.2.32-amd64.patch b/media-sound/esound/files/esound-0.2.32-amd64.patch new file mode 100644 index 000000000000..d553890f007e --- /dev/null +++ b/media-sound/esound/files/esound-0.2.32-amd64.patch @@ -0,0 +1,20 @@ +--- clients.c 2003-07-05 10:32:07.000000000 -0400 ++++ /root/clients.c 2004-02-03 23:34:29.000000000 -0500 +@@ -155,7 +155,7 @@ + if ( esd_use_ipv6 ) { + char addrbuf[INET6_ADDRSTRLEN]; + +- fd = accept( listen,(struct sockaddr *)&incoming6, &size_in6 ); ++ fd = accept( listen,(struct sockaddr *)&incoming6, (socklen_t *) &size_in6 ); + if ( fd < 0 ) + goto again; + port = ntohs( incoming6.sin6_port ); +@@ -168,7 +168,7 @@ + else + #endif + { +- fd = accept( listen, (struct sockaddr*) &incoming, &size_in ); ++ fd = accept( listen, (struct sockaddr*) &incoming, (socklen_t *) &size_in ); + if ( fd < 0 ) + goto again; + port = ntohs( incoming.sin_port ); |