[trojita] [Bug 367601] fake-dev-random should not be used unconditionally

2016-09-01 Thread Jan Kundrát via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=367601

Jan Kundrát  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit||http://commits.kde.org/troj
   ||ita/1311c5afd1f4b5a17c946c2
   ||45d7ec30d39a22eb4

--- Comment #2 from Jan Kundrát  ---
Git commit 1311c5afd1f4b5a17c946c245d7ec30d39a22eb4 by Jan Kundrát.
Committed on 29/08/2016 at 11:06.
Pushed by gerrit into branch 'master'.

tests: Remove Linux-specific includes for dlsym

The dlsym(RTLD_NEXT) appears to be reasonably portable (it's POSIX,
except the minor RTLD_NEXT and _GNU_SOURCE on glibc), so let's use this
thing to fix a build failure on OpenBSD.

We are doing this because GnuPG 2.1+ is still not really that
mainstream and because faking the random generator just for the tests at
all platforms simplifies the test matrix. Alternatives such as GnuPG
version detection are IMHO too fancy.
Change-Id: Icf0001a20c6e2901a88b65a705059d687951b1fb

M  +1-4tests/Utils/fake-dev-random.c

http://commits.kde.org/trojita/1311c5afd1f4b5a17c946c245d7ec30d39a22eb4

-- 
You are receiving this mail because:
You are watching all bug changes.

[trojita] [Bug 367601] fake-dev-random should not be used unconditionally

2016-08-29 Thread Jan Kundrát via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=367601

Jan Kundrát  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
 Ever confirmed|0   |1

--- Comment #1 from Jan Kundrát  ---
See https://bugs.kde.org/show_bug.cgi?id=367601 for a workaround. I'll be happy
to accept patches which skip the LD_PRELOAD use on OpenBSD -- simply skipping
the export in keygen.sh (and maybe its building in the cmake if you want to be
fancy) should be enough.

-- 
You are receiving this mail because:
You are watching all bug changes.