Re: NEW: x11/xtrlock

2021-11-09 Thread Lewis ingraham
Ok, sounds good. As an example of line 142 of xtrlock.c would be: errno=0; pw= getpwuid_shadow(getuid()); if (!pw) { perror("password entry for uid not found"); exit(1); } Right? It does mention later in the comments that: /* logically, if we need to do the following then the same applies

Re: NEW: x11/xtrlock

2021-11-09 Thread Stuart Henderson
On 2021/11/08 23:37, Lewis ingraham wrote: > Hello thanks for the quick response! In what way do you think the code would > have to be > changed? Can this be solved via a homemade patch or does it have to be an > upstream patch? It could be patched locally. There are two possible ways to patch

Re: NEW: x11/xtrlock

2021-11-08 Thread Stuart Henderson
ALL_TARGET=xtrlock (see the target in Makefile.no-imake). The password-checking code will need modifying to work with OpenBSD. -- Sent from a phone, apologies for poor formatting. On 9 November 2021 05:10:38 Lewis ingraham wrote: Hello I am trying to port this application, however I keep ge

NEW: x11/xtrlock

2021-11-08 Thread Lewis ingraham
Hello I am trying to port this application, however I keep getting an error when trying to do a "make build" and "make port-lib-depends-check". Application: https://salsa.debian.org/debian/xtrlock/-/tree/master/ Dependencies seem to be: libX11(Though, I suspect that OBSD installs that by default