diff options
author | Daniel Laird <danieljlaird@hotmail.com> | 2008-08-29 13:27:37 +0000 |
---|---|---|
committer | Daniel Laird <danieljlaird@hotmail.com> | 2008-08-29 13:27:37 +0000 |
commit | 1b5c1e7bdbdf496078a8556c2906919432f60d52 (patch) | |
tree | 0eb0f404efb85594de1dfb4e3d31856d04808faf /package/games/vice/vice-1.22-remove-bzero.patch | |
parent | 022b95d6ef7b303f6fbd48c220001674eec4717a (diff) |
games: Move all games into games subdir
Moved all games into a subdir called games and
then updated makefiles as necessary.
If not one objects to this one then I will
probably do the same for audio next.
Daniel Laird
Diffstat (limited to 'package/games/vice/vice-1.22-remove-bzero.patch')
-rw-r--r-- | package/games/vice/vice-1.22-remove-bzero.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/games/vice/vice-1.22-remove-bzero.patch b/package/games/vice/vice-1.22-remove-bzero.patch new file mode 100644 index 000000000..5836a9fce --- /dev/null +++ b/package/games/vice/vice-1.22-remove-bzero.patch @@ -0,0 +1,20 @@ +--- a/src/network.c 2007-07-15 18:49:24.000000000 -0400 ++++ b/src/network.c 2008-03-01 21:29:40.000000000 -0500 +@@ -742,7 +742,7 @@ int network_start_server(void) + + #ifdef HAVE_IPV6 + if (netplay_ipv6) { +- bzero((char*)&server_addr6, sizeof(struct sockaddr_in6)); ++ memset((char*)&server_addr6, 0, sizeof(struct sockaddr_in6)); + server_addr6.sin6_port = htons(server_port); + server_addr6.sin6_family = PF_INET6; + server_addr6.sin6_addr=in6addr_any; +@@ -853,7 +853,7 @@ int network_connect_client(void) + } + #ifdef HAVE_IPV6 + if (netplay_ipv6) { +- bzero((char*)&server_addr6, sizeof(struct sockaddr_in6)); ++ memset((char*)&server_addr6, 0, sizeof(struct sockaddr_in6)); + server_addr6.sin6_port = htons(server_port); + server_addr6.sin6_family = PF_INET6; + memcpy(&server_addr6.sin6_addr, server_hostent->h_addr, server_hostent->h_length); |