aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2012-11-22 05:09:54 +0800
committerolgeni <olgeni@FreeBSD.org>2012-11-22 05:09:54 +0800
commit498cb4ea76e1f7f684d7d33b831259265e3041c1 (patch)
treec030f12dc121e7a7131e5b62c4cc57cad0a71a4d /lang
parentd939b51bccec14e3263b33d8adbb2605268356da (diff)
downloadfreebsd-ports-gnome-498cb4ea76e1f7f684d7d33b831259265e3041c1.tar.gz
freebsd-ports-gnome-498cb4ea76e1f7f684d7d33b831259265e3041c1.tar.zst
freebsd-ports-gnome-498cb4ea76e1f7f684d7d33b831259265e3041c1.zip
Upgrade to version 10.4.5.
Feature safe: yes
Diffstat (limited to 'lang')
-rw-r--r--lang/newlisp/Makefile2
-rw-r--r--lang/newlisp/distinfo4
-rw-r--r--lang/newlisp/files/patch-newlisp.c14
-rw-r--r--lang/newlisp/pkg-plist2
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