[Bug 237075] devel/qt5-core: QSysInfo::productVersion() returns "unknown"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 8 10:10:43 BST 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237075

--- Comment #6 from Alexey Dokuchaev <danfe at FreeBSD.org> ---
Sorry, but I don't like this approach.  Relying on some file to carry
information about the operating system instead of asking it directly would be
only appropriate in some crippled, very ascetic environments.  Usually,
operating system should be asked, and most of them provide standard ways of
doing so.  Both Linux and FreeBSD provide uname(3) function as defined by
POSIX[*], I'd assume that Windows also has something like that.

> manually patching it means carrying a (likely) un-upstreamable patch.
Why do you think upstream would not be interested in nice and clean patch
instead of this "read from /etc/os-release" crap?

[*] http://pubs.opengroup.org/onlinepubs/9699919799/functions/uname.html

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list