SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
graphics/ImageMagick/patches/patch-magick_random_c
Normal file
12
graphics/ImageMagick/patches/patch-magick_random_c
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: magick/random.c
|
||||
--- magick/random.c.orig
|
||||
+++ magick/random.c
|
||||
@@ -61,7 +61,7 @@
|
||||
#include "magick/thread_.h"
|
||||
#include "magick/thread-private.h"
|
||||
#include "magick/utility-private.h"
|
||||
-#if defined(MAGICKCORE_HAVE_GETENTROPY)
|
||||
+#if defined(MAGICKCORE_HAVE_GETENTROPY) && !defined(__OpenBSD__)
|
||||
#include <sys/random.h>
|
||||
#endif
|
||||
/*
|
Loading…
Add table
Add a link
Reference in a new issue