View | Details | Raw Unified | Return to bug 180623
Collapse All | Expand All

(-)editors/chexedit/Makefile (+3 lines)
Lines 12-17 Link Here
12
MAINTAINER=	amdmi3@FreeBSD.org
12
MAINTAINER=	amdmi3@FreeBSD.org
13
COMMENT=	Full screen text mode Hex editor using the [n]curses library
13
COMMENT=	Full screen text mode Hex editor using the [n]curses library
14
14
15
LICENSE=	GPLv2
16
LICENSE_FILE=	${WRKSRC}/COPYING
17
15
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
16
PLIST_FILES=	bin/chexedit
19
PLIST_FILES=	bin/chexedit
17
20
(-)editors/chexedit/files/patch-src-file.c (-11 lines)
Lines 8-21 Link Here
8
 #include <grp.h>
8
 #include <grp.h>
9
 #include <pwd.h>
9
 #include <pwd.h>
10
 
10
 
11
@@ -618,8 +619,8 @@
12
 
13
          wprintw (Globals.wmain,
14
    /* why does it seem like on OpenBSD this is broken? */
15
-#if defined(__OpenBSD__) || defined(BROKEN)
16
-            "%s %-8s %-8s %10ld %1d\b2d-%02d-%02d %02d:%02d ",
17
+#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(BROKEN)
18
+            "%s %-8s %-8s %10ld %1d\b%04d-%02d-%02d %02d:%02d ",
19
 #else
20
             "%s %-8s %-8s %10ld %d-%02d-%02d %02d:%02d ",
21
 #endif
(-)editors/chexedit/files/patch-src-init.c (-1 / +9 lines)
Lines 12-18 Link Here
12
 extern char **environ;
12
 extern char **environ;
13
 
13
 
14
 
14
 
15
@@ -463,7 +468,7 @@
15
@@ -250,6 +255,7 @@
16
    if (color_term != -1)
17
    {
18
       start_color ();
19
+      use_default_colors();
20
       if ((color_term = has_colors ()))
21
       {
22
          color_term = 1;
23
@@ -463,7 +469,7 @@
16
       filestat.st_size = DEFAULT_BUFFER_SIZE;
24
       filestat.st_size = DEFAULT_BUFFER_SIZE;
17
    }
25
    }

Return to bug 180623