diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2009-08-30 15:26:48 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2009-08-30 15:26:48 +0000 |
commit | 73c5e38ae74e00af4f901940b56b605500c26936 (patch) | |
tree | e5b4205bb0ffb2a77f0ebf39771914292517aea9 /editors | |
parent | 6ed14832f0c4e36f1026da833dc09fd7b3de2cf7 (diff) | |
download | ports-73c5e38ae74e00af4f901940b56b605500c26936.tar.gz ports-73c5e38ae74e00af4f901940b56b605500c26936.zip |
Notes
Diffstat (limited to 'editors')
-rw-r--r-- | editors/nano/Makefile | 1 | ||||
-rw-r--r-- | editors/nano/files/patch-src_rcfile.c | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/editors/nano/Makefile b/editors/nano/Makefile index 3b7480f93db9..970870e56e2c 100644 --- a/editors/nano/Makefile +++ b/editors/nano/Makefile @@ -7,6 +7,7 @@ PORTNAME= nano PORTVERSION= 2.0.9 +PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= http://www.nano-editor.org/dist/v2.0/ \ http://www.ewtoo.org/~astyanax/nano/dist/v2.0/ diff --git a/editors/nano/files/patch-src_rcfile.c b/editors/nano/files/patch-src_rcfile.c new file mode 100644 index 000000000000..6dbf573c286c --- /dev/null +++ b/editors/nano/files/patch-src_rcfile.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- src/rcfile.c.orig ++++ src/rcfile.c +@@ -612,7 +612,7 @@ + { + char *buf = NULL; + ssize_t len; +- size_t n; ++ size_t n = 0; + + while ((len = getline(&buf, &n, rcstream)) > 0) { + char *ptr, *keyword, *option; |