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

(-)b/sysutils/showbeastie/Makefile (-3 / +5 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	showbeastie
4
PORTNAME=	showbeastie
5
PORTVERSION=	0.2
5
PORTVERSION=	0.3
6
CATEGORIES=	sysutils
6
CATEGORIES=	sysutils
7
MASTER_SITES=	# none
7
MASTER_SITES=	# none
8
DISTFILES=	# none
8
DISTFILES=	# none
Lines 27-37 MAKE_ARGS+= -m ${SRC_BASE}/share/mk Link Here
27
27
28
BROKEN_FreeBSD_9=	builds but expects newer loader environment
28
BROKEN_FreeBSD_9=	builds but expects newer loader environment
29
29
30
WRKSRC_SUBDIR=	ficl
31
30
pre-patch:
32
pre-patch:
31
	@${MKDIR} ${WRKSRC}
33
	@${MKDIR} ${WRKSRC}
32
	@${TAR} -C ${SRC_BASE}/sys/boot/ficl \
34
	@${TAR} -C ${SRC_BASE}/sys/boot \
33
		--exclude '*.o' --exclude '*.a' --exclude 'testmain' \
35
		--exclude '*.o' --exclude '*.a' --exclude 'testmain' \
34
		-cf - . | ${TAR} -C ${WRKSRC} -xf -
36
		-cf - . | ${TAR} -C ${WRKSRC}/.. -xf -
35
37
36
post-patch:
38
post-patch:
37
	${REINPLACE_CMD} 's|-I.*/\.\./common|-I${SRC_BASE}/sys/boot/common|g' \
39
	${REINPLACE_CMD} 's|-I.*/\.\./common|-I${SRC_BASE}/sys/boot/common|g' \
(-)b/sysutils/showbeastie/files/patch-testmain.c (-3 / +4 lines)
Lines 1-4 Link Here
1
--- testmain.c.orig	2015-10-11 17:48:47 UTC
1
--- testmain.c.orig	2016-11-17 00:02:13 UTC
2
+++ testmain.c
2
+++ testmain.c
3
@@ -296,6 +296,7 @@ void buildTestInterface(FICL_SYSTEM *pSy
3
@@ -296,6 +296,7 @@ void buildTestInterface(FICL_SYSTEM *pSy
4
     ficlBuild(pSys, "cd",       ficlChDir,    FW_DEFAULT);
4
     ficlBuild(pSys, "cd",       ficlChDir,    FW_DEFAULT);
Lines 8-14 Link Here
8
     ficlBuild(pSys, "pwd",      ficlGetCWD,   FW_DEFAULT);
8
     ficlBuild(pSys, "pwd",      ficlGetCWD,   FW_DEFAULT);
9
     ficlBuild(pSys, "system",   ficlSystem,   FW_DEFAULT);
9
     ficlBuild(pSys, "system",   ficlSystem,   FW_DEFAULT);
10
     ficlBuild(pSys, "spewhash", spewHash,     FW_DEFAULT);
10
     ficlBuild(pSys, "spewhash", spewHash,     FW_DEFAULT);
11
@@ -316,17 +317,58 @@ int main(int argc, char **argv)
11
@@ -316,17 +317,59 @@ int main(int argc, char **argv)
12
     buildTestInterface(pSys);
12
     buildTestInterface(pSys);
13
     pVM = ficlNewVM(pSys);
13
     pVM = ficlNewVM(pSys);
14
 
14
 
Lines 63-69 Link Here
63
+    ficlEvaluate(pVM, "draw-beastie");
63
+    ficlEvaluate(pVM, "draw-beastie");
64
+    ficlEvaluate(pVM, "draw-brand");
64
+    ficlEvaluate(pVM, "draw-brand");
65
+    ficlEvaluate(pVM, "menu-init");
65
+    ficlEvaluate(pVM, "menu-init");
66
+    printf("\n\n");
66
+    fflush(stdout);
67
+    sleep(3600); // sleep "forever"
67
+    return 0;
68
+    return 0;
68
+
69
+
69
     for (;;)
70
     for (;;)

Return to bug 214674