summaryrefslogtreecommitdiffstats
path: root/libver.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-03-09 08:53:08 +0100
committerRemi Collet <remi@php.net>2023-03-09 08:53:08 +0100
commit57c27b6ec91ae3ba49724e5cc16c89c101b57b80 (patch)
tree571d71e472e8bd838a2eadc56679dd807d3c8f29 /libver.patch
parente13e7b024ed94b84dfd48f1948698030eb0fef10 (diff)
update to version 7.1.1
open https://github.com/ImageMagick/ImageMagick/issues/6144 major ABI break add patch to restore ABI from https://github.com/ImageMagick/ImageMagick/pull/6145
Diffstat (limited to 'libver.patch')
-rw-r--r--libver.patch57
1 files changed, 57 insertions, 0 deletions
diff --git a/libver.patch b/libver.patch
new file mode 100644
index 0000000..240b243
--- /dev/null
+++ b/libver.patch
@@ -0,0 +1,57 @@
+From 9c4efd24fe851f4ae1f894cb91c7110ae11f53ba Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Thu, 9 Mar 2023 08:50:42 +0100
+Subject: [PATCH] restore library symbol versioning to fix ABI break
+
+---
+ MagickCore/libMagickCore.map | 2 +-
+ MagickCore/pixel.h | 8 ++++----
+ MagickWand/libMagickWand.map | 2 +-
+ 3 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/MagickCore/libMagickCore.map b/MagickCore/libMagickCore.map
+index 852f433043..7437b0499a 100644
+--- a/MagickCore/libMagickCore.map
++++ b/MagickCore/libMagickCore.map
+@@ -1,4 +1,4 @@
+- VERS_10.1 {
++ VERS_10.0 {
+ global:
+ *;
+ };
+diff --git a/MagickCore/pixel.h b/MagickCore/pixel.h
+index 6574072a1a..fd5239b5cd 100644
+--- a/MagickCore/pixel.h
++++ b/MagickCore/pixel.h
+@@ -49,8 +49,8 @@ typedef enum
+ IndexChannel = 0x0020, /* Color Index Table? */
+ ReadMaskChannel = 0x0040, /* Pixel is Not Readable? */
+ WriteMaskChannel = 0x0080, /* Pixel is Write Protected? */
+- CompositeMaskChannel = 0x0100, /* SVG mask */
+- MetaChannel = 0x0200, /* not used */
++ MetaChannel = 0x0100, /* not used */
++ CompositeMaskChannel = 0x0200, /* SVG mask */
+ CompositeChannels = 0x001F,
+ AllChannels = 0x7ffffff,
+ /*
+@@ -89,8 +89,8 @@ typedef enum
+ IndexPixelChannel = 5,
+ ReadMaskPixelChannel = 6,
+ WriteMaskPixelChannel = 7,
+- CompositeMaskPixelChannel = 8,
+- MetaPixelChannel = 9,
++ MetaPixelChannel = 8,
++ CompositeMaskPixelChannel = 9,
+ MetaPixelChannels = 10,
+ IntensityPixelChannel = MaxPixelChannels, /* ???? */
+ CompositePixelChannel = MaxPixelChannels, /* ???? */
+diff --git a/MagickWand/libMagickWand.map b/MagickWand/libMagickWand.map
+index 852f433043..7437b0499a 100644
+--- a/MagickWand/libMagickWand.map
++++ b/MagickWand/libMagickWand.map
+@@ -1,4 +1,4 @@
+- VERS_10.1 {
++ VERS_10.0 {
+ global:
+ *;
+ };