[Bug 248236] graphics/gegl: g_random_* function always returns same random number sequence
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jul 24 05:30:13 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248236
Bug ID: 248236
Summary: graphics/gegl: g_random_* function always returns same
random number sequence
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: gnome at FreeBSD.org
Reporter: tatsuki_makino at hotmail.com
Assignee: gnome at FreeBSD.org
Flags: maintainer-feedback?(gnome at FreeBSD.org)
Created attachment 216736
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216736&action=edit
patch to fix graphics/gegl
Random number sequence is always the same because the seed of g_random_*
function is set to a fixed value.
It affects everything linked to libgegl.
For example:
mkdir ~/.config/GIMP/2.10/splashes
ln -s /usr/local/share/gimp/images/gimp-splash.png
~/.config/GIMP/2.10/splashes/
find ~/collection_of_cute_cats -type f -iname \*.jpg -print0 | xargs -0 -J % cp
% ~/.config/GIMP/2.10/splashes/
gimp --new-instance &
gimp --new-instance &
gimp --new-instance &
gimp --new-instance &
gimp --new-instance &
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-gnome
mailing list