diff options
author | petef <petef@FreeBSD.org> | 2002-12-10 12:47:56 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2002-12-10 12:47:56 +0800 |
commit | 3f7aa11b159d445b0c7792c337630c72d2d919b4 (patch) | |
tree | 724b3f852c5382957b84985b0a8d5616da21b115 /audio | |
parent | d473b48fda680efb1c31488314e00b07db4dfbd0 (diff) | |
download | freebsd-ports-gnome-3f7aa11b159d445b0c7792c337630c72d2d919b4.tar.gz freebsd-ports-gnome-3f7aa11b159d445b0c7792c337630c72d2d919b4.tar.zst freebsd-ports-gnome-3f7aa11b159d445b0c7792c337630c72d2d919b4.zip |
Upgrade to 1.5.1; this fixes a bug where the search function always
returned 0 results, more details at the port's homepage.
PR: 46154
Submitted by: Andrew Thompson <andy@fud.org.nz> (with some changes)
Approved by: portmgr (will)
Diffstat (limited to 'audio')
-rw-r--r-- | audio/napster/Makefile | 9 | ||||
-rw-r--r-- | audio/napster/distinfo | 2 | ||||
-rw-r--r-- | audio/napster/files/patch-cmds.c | 12 | ||||
-rw-r--r-- | audio/napster/files/patch-nap.c | 22 |
4 files changed, 9 insertions, 36 deletions
diff --git a/audio/napster/Makefile b/audio/napster/Makefile index 3d9f1b55087c..37ca5de3bc0d 100644 --- a/audio/napster/Makefile +++ b/audio/napster/Makefile @@ -6,7 +6,7 @@ # PORTNAME= nap -PORTVERSION= 1.5.0 +PORTVERSION= 1.5.1 CATEGORIES= audio net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= nap @@ -14,6 +14,13 @@ MASTER_SITE_SUBDIR= nap MAINTAINER= petef@FreeBSD.org GNU_CONFIGURE= yes +USE_REINPLACE= yes + +MAN1= nap.1 + +post-patch: + @${REINPLACE_CMD} -e 's,install-man install-htmlDATA,install-man,' \ + ${WRKSRC}/doc/Makefile.in post-install: .if !defined(NOPORTDOCS) diff --git a/audio/napster/distinfo b/audio/napster/distinfo index 9e3dce3ef7f8..f47c581a0834 100644 --- a/audio/napster/distinfo +++ b/audio/napster/distinfo @@ -1 +1 @@ -MD5 (nap-1.5.0.tar.gz) = 37f212b818e4d0a1674ddd63f638e1b3 +MD5 (nap-1.5.1.tar.gz) = 554753d5d6154bdf5057156cc60d0658 diff --git a/audio/napster/files/patch-cmds.c b/audio/napster/files/patch-cmds.c deleted file mode 100644 index 940c1c002e56..000000000000 --- 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 77af9210480c..000000000000 --- 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) { |