diff options
-rw-r--r-- | net/jwhois/Makefile | 2 | ||||
-rw-r--r-- | net/jwhois/files/patch-ae | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/net/jwhois/Makefile b/net/jwhois/Makefile index d860a5060c8c..11901ae78d67 100644 --- a/net/jwhois/Makefile +++ b/net/jwhois/Makefile @@ -7,7 +7,7 @@ PORTNAME= jwhois PORTVERSION= 3.2.1 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= jwhois diff --git a/net/jwhois/files/patch-ae b/net/jwhois/files/patch-ae new file mode 100644 index 000000000000..8c6452e27103 --- /dev/null +++ b/net/jwhois/files/patch-ae @@ -0,0 +1,20 @@ +--- src/lookup.c 2002/08/02 22:17:41 1.33 ++++ src/lookup.c 2003/02/04 21:21:16 1.34 +@@ -391,7 +391,7 @@ + { + memcpy(bptr, text, strlen(text)+1); + +- strptr = (char *)strtok(bptr, "\n"); ++ strptr = (char *)strtok(bptr, "\r\n"); + while (strptr) + { + rpb.allocated = 0; +@@ -443,7 +443,7 @@ + } + else if (ind == -2) + return -1; +- strptr = (char *)strtok(NULL, "\n"); ++ strptr = (char *)strtok(NULL, "\r\n"); + } + } + } |