diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2012-11-21 21:09:54 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2012-11-21 21:09:54 +0000 |
commit | 55cd705d8a66ba4982547be9edde31b49d5989dd (patch) | |
tree | c030f12dc121e7a7131e5b62c4cc57cad0a71a4d /lang/newlisp | |
parent | 0a7059d58566111ba0bb6767f6ddb5645369aaf5 (diff) | |
download | ports-55cd705d8a66ba4982547be9edde31b49d5989dd.tar.gz ports-55cd705d8a66ba4982547be9edde31b49d5989dd.zip |
Notes
Diffstat (limited to 'lang/newlisp')
-rw-r--r-- | lang/newlisp/Makefile | 2 | ||||
-rw-r--r-- | lang/newlisp/distinfo | 4 | ||||
-rw-r--r-- | lang/newlisp/files/patch-newlisp.c | 14 | ||||
-rw-r--r-- | lang/newlisp/pkg-plist | 2 |
4 files changed, 11 insertions, 11 deletions
diff --git a/lang/newlisp/Makefile b/lang/newlisp/Makefile index ee142d0a5351..98defaf72bee 100644 --- a/lang/newlisp/Makefile +++ b/lang/newlisp/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= newlisp -PORTVERSION= 10.4.4 +PORTVERSION= 10.4.5 CATEGORIES= lang MASTER_SITES= http://www.newlisp.org/downloads/ EXTRACT_SUFX= .tgz diff --git a/lang/newlisp/distinfo b/lang/newlisp/distinfo index bed428b78c47..d457895e1356 100644 --- a/lang/newlisp/distinfo +++ b/lang/newlisp/distinfo @@ -1,2 +1,2 @@ -SHA256 (newlisp-10.4.4.tgz) = 90022b048f55d084aa472d544913d2ab7e528dbe5ee050839c01f7267db81a96 -SIZE (newlisp-10.4.4.tgz) = 1551410 +SHA256 (newlisp-10.4.5.tgz) = 4bf972a8e5f8c4490f02e6a987ee76c4690498841ffd5235b38a03694ad2da52 +SIZE (newlisp-10.4.5.tgz) = 1553279 diff --git a/lang/newlisp/files/patch-newlisp.c b/lang/newlisp/files/patch-newlisp.c index 3cee50e3bb20..5d32fb2b4b0a 100644 --- a/lang/newlisp/files/patch-newlisp.c +++ b/lang/newlisp/files/patch-newlisp.c @@ -3,12 +3,12 @@ $FreeBSD$ --- newlisp.c.orig +++ newlisp.c -@@ -470,16 +470,16 @@ +@@ -463,16 +463,16 @@ + else if(getenv("DOCUMENT_ROOT")) strncpy(initFile, getenv("DOCUMENT_ROOT"), MAX_LINE - 16); - /* for non BSDs strlcat and strlcpy are redefined as strncat and strncpy */ -- strlcat(initFile, "/.", 3); -- strlcat(initFile, INIT_FILE, 9); +- strncat(initFile, "/.", 2); +- strncat(initFile, INIT_FILE, 9); + strlcat(initFile, "/.", sizeof(initFile)); + strlcat(initFile, INIT_FILE, sizeof(initFile)); if(loadFile(initFile, 0, 0, mainContext) == NULL) @@ -16,9 +16,9 @@ $FreeBSD$ envPtr = getenv("NEWLISPDIR"); if(envPtr) { -- strlcpy(initFile, envPtr, MAX_LINE - 16); -- strlcat(initFile, "/", 2); -- strlcat(initFile, INIT_FILE, 9); +- strncpy(initFile, envPtr, MAX_LINE - 16); +- strncat(initFile, "/", 1); +- strncat(initFile, INIT_FILE, 9); + strlcpy(initFile, envPtr, sizeof(initFile)); + strlcat(initFile, "/", sizeof(initFile)); + strlcat(initFile, INIT_FILE, sizeof(initFile)); diff --git a/lang/newlisp/pkg-plist b/lang/newlisp/pkg-plist index d34d6a990496..bebb83649cf0 100644 --- a/lang/newlisp/pkg-plist +++ b/lang/newlisp/pkg-plist @@ -8,7 +8,7 @@ bin/newlispdoc %%PORTDOCS%%%%DOCSDIR%%/ExpressionEvaluation.html %%PORTDOCS%%%%DOCSDIR%%/MemoryManagement.html %%PORTDOCS%%%%DOCSDIR%%/manual_frame.html -%%PORTDOCS%%%%DOCSDIR%%/newLISP-10.4.4-Release.html +%%PORTDOCS%%%%DOCSDIR%%/newLISP-10.4.5-Release.html %%PORTDOCS%%%%DOCSDIR%%/newLISPdoc.html %%PORTDOCS%%%%DOCSDIR%%/newlisp_index.html %%PORTDOCS%%%%DOCSDIR%%/newlisp_manual.html |