diff options
Diffstat (limited to 'audio/napster/files')
-rw-r--r-- | audio/napster/files/patch-cmds.c | 12 | ||||
-rw-r--r-- | audio/napster/files/patch-nap.c | 22 |
2 files changed, 0 insertions, 34 deletions
diff --git a/audio/napster/files/patch-cmds.c b/audio/napster/files/patch-cmds.c deleted file mode 100644 index 940c1c002e5..00000000000 --- a/audio/napster/files/patch-cmds.c +++ /dev/null @@ -1,12 +0,0 @@ ---- cmds.c.orig Sat Mar 9 17:29:08 2002 -+++ cmds.c Sat Mar 9 17:29:41 2002 -@@ -19,8 +19,8 @@ - #include <dlfcn.h> - #include <sys/types.h> - #include <sys/socket.h> --#include <arpa/inet.h> - #include <netinet/in.h> -+#include <arpa/inet.h> - #include <sys/time.h> - #include <unistd.h> - #include <signal.h> diff --git a/audio/napster/files/patch-nap.c b/audio/napster/files/patch-nap.c deleted file mode 100644 index 77af9210480..00000000000 --- a/audio/napster/files/patch-nap.c +++ /dev/null @@ -1,22 +0,0 @@ ---- nap.c.orig Fri Mar 1 11:17:37 2002 -+++ nap.c Sat Mar 9 17:24:26 2002 -@@ -1987,7 +1987,7 @@ - char *buf; - char *p; - int i, r; -- int timeout; -+ int timeout, on = 1; - - timeout = nvar_default("connecttimeout", CONNECTTIMEOUT); - -@@ -2010,6 +2010,10 @@ - wp(wchan, "Error creating socket: %s\n", strerror(errno)); - drw(wchan); - return(-1); -+ } -+ -+ if (setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) == -1) { -+ perror("setsockopt(SO_REUSEADDR)"); - } - - if (connect_t(s, (struct sockaddr *)&dst, sizeof(dst), timeout) == -1) { |