Re: gnokii-next

[email protected] Tue, 30 Dec 2025 19:24:59 +0100
Newsgroups gmane.linux.drivers.gnokii
Message-ID <[email protected]>
--===============5544391087198156551==
Content-Type: multipart/alternative;
 boundary="=_340ad4cb7eaaed9ad4e9232399c5c9ba"

--=_340ad4cb7eaaed9ad4e9232399c5c9ba
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=UTF-8

  

Il 29.12.2025 22:37 Ladislav Michl ha scritto: 

> We should
probably stop providing our own getopt implementation once there
>
already is working one on the target system.

I am trying to make a fix
that goes into that direction, with the help of this macro:
https://www.gnu.org/software/autoconf-archive/ax_func_getopt_long.html .
It works if there's a working getopt on the target system, which is the
case with all modern systems including MinGW. It needs more testing with
*BSD (that apparently needs a library called gnugetopt) and forcing the
getopt check to be false 
By the way, the codeberg site does not have an
"Issues" or a "Patches" tab, is there a recommended way to propose
patches? 
Regards,
Fabrizio  

--=_340ad4cb7eaaed9ad4e9232399c5c9ba
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>&nbsp;</p>
<p>Il 29.12.2025 22:37 Ladislav Michl ha scritto:</p>
<blockquote type=3D"cite" style=3D"padding-left:5px; border-left:#1010ff 2p=
x solid; margin-left:5px; width:100%"><br />
<pre>We should probably stop providing our own getopt implementation once t=
here
already is working one on the target system.</pre>
</blockquote>
<div>I am trying to make a fix that goes into that direction, with the help=
 of this macro: https://www.gnu.org/software/autoconf-archive/ax_func_getop=
t_long.html . It works if there's a working getopt on the target system, wh=
ich is the case with all modern systems including MinGW. It needs more test=
ing with *BSD (that apparently needs a library called gnugetopt) and forcin=
g the getopt check to be false</div>
<div>By the way, the codeberg site does not have an "Issues" or a "Patches"=
 tab, is there a recommended way to propose patches?</div>
<div>Regards,<br />Fabrizio</div>
</body></html>
<br>
--=_340ad4cb7eaaed9ad4e9232399c5c9ba--



--===============5544391087198156551==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZ25va2lpLXVz
ZXJzIG1haWxpbmcgbGlzdApnbm9raWktdXNlcnNAbm9uZ251Lm9yZwpodHRwczovL2xpc3RzLm5v
bmdudS5vcmcvbWFpbG1hbi9saXN0aW5mby9nbm9raWktdXNlcnMK

--===============5544391087198156551==--