diff options
| author | Jason E. Hale <jhale@FreeBSD.org> | 2016-12-17 14:41:07 +0000 |
|---|---|---|
| committer | Jason E. Hale <jhale@FreeBSD.org> | 2016-12-17 14:41:07 +0000 |
| commit | fac26a0c6f9a0e4f3439d4c42eb84fc4bee1b0ec (patch) | |
| tree | a14f9b0a1e9fc9368d68c9215c9dc45d9eaf9d8e /sysutils/showbeastie/files/patch-testmain.c | |
| parent | Fix the package list: Over the last couple of snapshots, a number of (diff) | |
Update to 0.3
- Fix build on FreeBSD 12.0-CURRENT. sys/boot/ficl/Makefile now includes
sys/boot/Makefile.ficl, so the directory the port copies is moved up
one level
- Showbeastie will now sleep until the user terminates it with Ctrl-c,
which makes sure that logos and brands can be displayed correctly on
80x25 consoles
PR: 214674
Submitted by: Tobias Kortkamp <t@tobik.me> (maintainer)
Diffstat (limited to 'sysutils/showbeastie/files/patch-testmain.c')
| -rw-r--r-- | sysutils/showbeastie/files/patch-testmain.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sysutils/showbeastie/files/patch-testmain.c b/sysutils/showbeastie/files/patch-testmain.c index ab3b061fdf7b..197dc5b5a73c 100644 --- a/sysutils/showbeastie/files/patch-testmain.c +++ b/sysutils/showbeastie/files/patch-testmain.c @@ -1,4 +1,4 @@ ---- testmain.c.orig 2015-10-11 17:48:47 UTC +--- testmain.c.orig 2016-11-17 00:02:13 UTC +++ testmain.c @@ -296,6 +296,7 @@ void buildTestInterface(FICL_SYSTEM *pSy ficlBuild(pSys, "cd", ficlChDir, FW_DEFAULT); @@ -8,7 +8,7 @@ ficlBuild(pSys, "pwd", ficlGetCWD, FW_DEFAULT); ficlBuild(pSys, "system", ficlSystem, FW_DEFAULT); ficlBuild(pSys, "spewhash", spewHash, FW_DEFAULT); -@@ -316,17 +317,58 @@ int main(int argc, char **argv) +@@ -316,17 +317,59 @@ int main(int argc, char **argv) buildTestInterface(pSys); pVM = ficlNewVM(pSys); @@ -63,7 +63,8 @@ + ficlEvaluate(pVM, "draw-beastie"); + ficlEvaluate(pVM, "draw-brand"); + ficlEvaluate(pVM, "menu-init"); -+ printf("\n\n"); ++ fflush(stdout); ++ sleep(3600); // sleep "forever" + return 0; + for (;;) |
