aboutsummaryrefslogtreecommitdiff
path: root/graphics/ImageMagick6/files/patch-magick_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ImageMagick6/files/patch-magick_log.c')
-rw-r--r--graphics/ImageMagick6/files/patch-magick_log.c38
1 files changed, 38 insertions, 0 deletions
diff --git a/graphics/ImageMagick6/files/patch-magick_log.c b/graphics/ImageMagick6/files/patch-magick_log.c
new file mode 100644
index 000000000000..932050f2905b
--- /dev/null
+++ b/graphics/ImageMagick6/files/patch-magick_log.c
@@ -0,0 +1,38 @@
+--- magick/log.c.orig 2022-05-05 04:09:18 UTC
++++ magick/log.c
+@@ -394,7 +394,7 @@ MagickExport void CloseMagickLog(void)
+ % const char *GetLogEventMask(void)
+ %
+ */
+-MagickExport const LogEventType GetLogEventMask(void)
++MagickExport LogEventType GetLogEventMask(void)
+ {
+ ExceptionInfo
+ *exception;
+@@ -515,7 +515,7 @@ static int LogInfoCompare(const void *x,const void *y)
+ }
+ #endif
+
+-MagickExport const LogInfo **GetLogInfoList(const char *pattern,
++MagickExport LogInfo **GetLogInfoList(const char *pattern,
+ size_t *number_preferences,ExceptionInfo *exception)
+ {
+ const LogInfo
+@@ -674,7 +674,7 @@ MagickExport char **GetLogList(const char *pattern,
+ % const char *GetLogName(void)
+ %
+ */
+-MagickExport const char *GetLogName(void)
++MagickExport char *GetLogName(void)
+ {
+ return(log_name);
+ }
+@@ -1930,7 +1930,7 @@ MagickExport void SetLogMethod(MagickLogMethod method)
+ % o name: Specifies the new client name.
+ %
+ */
+-MagickExport const char *SetLogName(const char *name)
++MagickExport char *SetLogName(const char *name)
+ {
+ if ((name != (char *) NULL) && (*name != '\0'))
+ (void) CopyMagickString(log_name,name,MaxTextExtent);