diff options
Diffstat (limited to 'app-editors/nano/files/nano-1.3.12-fix2.patch')
-rw-r--r-- | app-editors/nano/files/nano-1.3.12-fix2.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app-editors/nano/files/nano-1.3.12-fix2.patch b/app-editors/nano/files/nano-1.3.12-fix2.patch new file mode 100644 index 000000000000..1c6ba22f3ab3 --- /dev/null +++ b/app-editors/nano/files/nano-1.3.12-fix2.patch @@ -0,0 +1,15 @@ +diff -ru nano-1.3.12/src/rcfile.c nano-1.3.12-fix2/src/rcfile.c +--- nano-1.3.12/src/rcfile.c 2006-06-07 22:50:56.000000000 -0400 ++++ nano-1.3.12-fix2/src/rcfile.c 2006-07-18 19:22:30.000000000 -0400 +@@ -834,9 +834,11 @@ + rcfile_error(N_("Unknown flag \"%s\""), option); + } + ++#ifdef ENABLE_COLOR + if (endsyntax != NULL && endcolor == NULL) + rcfile_error(N_("Syntax \"%s\" has no color commands"), + endsyntax->desc); ++#endif + + free(buf); + fclose(rcstream); |