diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-07-19 15:25:25 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-07-19 15:25:25 +0000 |
commit | e8bb5194d73857776c36feae69c13e0f4cb5da84 (patch) | |
tree | 5c8eaa61e8fc735a67739ff6791d08ea4ed4ffa3 /app-editors/nano/files | |
parent | Stable on hppa. (diff) | |
download | gentoo-2-e8bb5194d73857776c36feae69c13e0f4cb5da84.tar.gz gentoo-2-e8bb5194d73857776c36feae69c13e0f4cb5da84.tar.bz2 gentoo-2-e8bb5194d73857776c36feae69c13e0f4cb5da84.zip |
Minor build fix from upstream.
(Portage version: 2.1.1_pre2-r8)
Diffstat (limited to 'app-editors/nano/files')
-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); |