FreeBSD Bugzilla – Attachment 135670 Details for
Bug 180623
[patch] fix display issues in editors/chexedit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.68 KB, created by
r4721@tormail.org
on 2013-07-18 05:00:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
r4721@tormail.org
Created:
2013-07-18 05:00:00 UTC
Size:
1.68 KB
patch
obsolete
>Index: editors/chexedit/Makefile >=================================================================== >--- editors/chexedit/Makefile (revision 323155) >+++ editors/chexedit/Makefile (working copy) >@@ -12,6 +12,9 @@ > MAINTAINER= amdmi3@FreeBSD.org > COMMENT= Full screen text mode Hex editor using the [n]curses library > >+LICENSE= GPLv2 >+LICENSE_FILE= ${WRKSRC}/COPYING >+ > GNU_CONFIGURE= yes > PLIST_FILES= bin/chexedit > >Index: editors/chexedit/files/patch-src-file.c >=================================================================== >--- editors/chexedit/files/patch-src-file.c (revision 323155) >+++ editors/chexedit/files/patch-src-file.c (working copy) >@@ -8,14 +8,3 @@ > #include <grp.h> > #include <pwd.h> > >-@@ -618,8 +619,8 @@ >- >- wprintw (Globals.wmain, >- /* why does it seem like on OpenBSD this is broken? */ >--#if defined(__OpenBSD__) || defined(BROKEN) >-- "%s %-8s %-8s %10ld %1d\b2d-%02d-%02d %02d:%02d ", >-+#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(BROKEN) >-+ "%s %-8s %-8s %10ld %1d\b%04d-%02d-%02d %02d:%02d ", >- #else >- "%s %-8s %-8s %10ld %d-%02d-%02d %02d:%02d ", >- #endif >Index: editors/chexedit/files/patch-src-init.c >=================================================================== >--- editors/chexedit/files/patch-src-init.c (revision 323155) >+++ editors/chexedit/files/patch-src-init.c (working copy) >@@ -12,7 +12,15 @@ > extern char **environ; > > >-@@ -463,7 +468,7 @@ >+@@ -250,6 +255,7 @@ >+ if (color_term != -1) >+ { >+ start_color (); >++ use_default_colors(); >+ if ((color_term = has_colors ())) >+ { >+ color_term = 1; >+@@ -463,7 +469,7 @@ > filestat.st_size = DEFAULT_BUFFER_SIZE; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 180623
: 135670