Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 95281f96 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Display Git branch/hash used to build sexyz.

parent 0df568c5
Pipeline #1320 passed with stage
in 11 minutes and 1 second
...@@ -73,6 +73,8 @@ ...@@ -73,6 +73,8 @@
#include "ringbuf.h" #include "ringbuf.h"
#include "telnet.h" #include "telnet.h"
#include "nopen.h" #include "nopen.h"
#include "git_branch.h"
#include "git_hash.h"
/* sexyz */ /* sexyz */
#include "sexyz.h" #include "sexyz.h"
...@@ -1525,10 +1527,10 @@ int main(int argc, char **argv) ...@@ -1525,10 +1527,10 @@ int main(int argc, char **argv)
statfp=stdout; statfp=stdout;
#endif #endif
fprintf(statfp,"\nSynchronet External X/Y/ZMODEM v%s-%s" fprintf(statfp,"\nSynchronet External X/Y/ZMODEM v%s %s/%s"
" Copyright Rob Swindell\n\n" " Copyright Rob Swindell\n\n"
,revision ,revision
,PLATFORM_DESC ,GIT_BRANCH, GIT_HASH
); );
xmodem_init(&xm,NULL,&mode,lputs,xmodem_progress,send_byte,recv_byte,is_connected,NULL,flush); xmodem_init(&xm,NULL,&mode,lputs,xmodem_progress,send_byte,recv_byte,is_connected,NULL,flush);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment