💾 Archived View for rawtext.club › ~sloum › geminilist › 002749.gmi captured on 2020-10-31 at 14:45:11. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2020-09-24)
-=-=-=-=-=-=-
Magnus Wild magnus at kalasarn.se
Mon Sep 21 12:01:37 BST 2020
- - - - - - - - - - - - - - - - - - -
On Sun, Sep 20, 2020 at 10:12:26PM -0400, Drew DeVault wrote:
Hiya! I felt that the Gemini space has a lot of cool browers, but was
missing the basic works-everywhere client with few-to-no dependencies.
This is cool. I managed to build it on openbsd-current with a smallmodification;
--- a/src/gmnlm.c+++ b/src/gmnlm.c@@ -10,6 +10,7 @@ #include <sys/ioctl.h> #include <termios.h> #include <unistd.h>+#include <limits.h> #include "gmni.h" #include "url.h" #include "util.h"
The error I got before this modification can be seen below.
openbsd-build$ makeCC src/client.oCC src/escape.oCC src/gmni.oCC src/url.oCCLD gmniCC src/gmnlm.osrc/gmnlm.c:127:19: error: use of undeclared identifier 'PATH_MAX' static char path[PATH_MAX+1]; ^src/gmnlm.c:155:19: error: use of undeclared identifier 'PATH_MAX' static char path[PATH_MAX+1]; ^src/gmnlm.c:157:18: error: use of undeclared identifier 'PATH_MAX' static char url[PATH_MAX+1+7]; ^3 errors generated.*** Error 1 in /home/magnus/gmni/build (Makefile:25 'src/gmnlm.o': @cc -c -g -std=c11 -D_XOPEN_SOURCE=700 -Wall -Wextra -Werror -pedan...)
The program is really small and seems very useful. Thanks a lot for spending time on this and sharing it!
/Magnus