pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/ImageMagick



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Oct  1 10:52:58 UTC 2025

Modified Files:
        pkgsrc/graphics/ImageMagick: distinfo
Added Files:
        pkgsrc/graphics/ImageMagick/patches: patch-MagickCore_random.c

Log Message:
ImageMagick: Include correct header for getentropy.

Found by drecklypkg ci.


To generate a diff of this commit:
cvs rdiff -u -r1.307 -r1.308 pkgsrc/graphics/ImageMagick/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/graphics/ImageMagick/patches/patch-MagickCore_random.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/ImageMagick/distinfo
diff -u pkgsrc/graphics/ImageMagick/distinfo:1.307 pkgsrc/graphics/ImageMagick/distinfo:1.308
--- pkgsrc/graphics/ImageMagick/distinfo:1.307  Mon Sep  1 09:37:47 2025
+++ pkgsrc/graphics/ImageMagick/distinfo        Wed Oct  1 10:52:58 2025
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.307 2025/09/01 09:37:47 triaxx Exp $
+$NetBSD: distinfo,v 1.308 2025/10/01 10:52:58 nia Exp $
 
 BLAKE2s (ImageMagick-7.1.2-3.tar.xz) = 3756b684eb64790b5bbea2fb5dcb65c13af84a9095a4fc8a4da70e4a4bcfb6fe
 SHA512 (ImageMagick-7.1.2-3.tar.xz) = 9789e18be3ef0ff309de5497b31761f765b51e6164d568106f1cb0178427dae53871c246b491de27a63d1fcabf75fc5b8a2ae5915f61a0d801427080c18561e4
 Size (ImageMagick-7.1.2-3.tar.xz) = 10786124 bytes
+SHA1 (patch-MagickCore_random.c) = 55bd3b6a3a1352371a9ed4c33d46a63e58480471
 SHA1 (patch-ghostscript-private.h) = ab25d5b565c11b98bf623f9f8afd0fedae9bf1fa

Added files:

Index: pkgsrc/graphics/ImageMagick/patches/patch-MagickCore_random.c
diff -u /dev/null pkgsrc/graphics/ImageMagick/patches/patch-MagickCore_random.c:1.1
--- /dev/null   Wed Oct  1 10:52:58 2025
+++ pkgsrc/graphics/ImageMagick/patches/patch-MagickCore_random.c       Wed Oct  1 10:52:58 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-MagickCore_random.c,v 1.1 2025/10/01 10:52:58 nia Exp $
+
+Include correct header for getentropy.
+
+--- MagickCore/random.c.orig   2025-10-01 10:27:19.831792297 +0000
++++ MagickCore/random.c
+@@ -65,7 +65,7 @@
+ #include "MagickCore/utility.h"
+ #include "MagickCore/utility-private.h"
+ #if defined(MAGICKCORE_HAVE_GETENTROPY)
+-#include <sys/random.h>
++#include <unistd.h>
+ #endif
+ /*
+   Define declarations.



Home | Main Index | Thread Index | Old Index