Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/opendx/files/
Date: Mon, 09 Apr 2018 00:15:59
Message-Id: 1523232490.5fa711a649e31bf27778c24ac6653f075c818aab.bman@gentoo
1 commit: 5fa711a649e31bf27778c24ac6653f075c818aab
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Sun Apr 8 17:04:23 2018 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 9 00:08:10 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fa711a6
7
8 sci-visualization/opendx: remove unused patch
9
10 Closes: https://github.com/gentoo/gentoo/pull/7879
11
12 .../opendx/files/opendx-4.4.4-magick.patch | 90 ----------------------
13 1 file changed, 90 deletions(-)
14
15 diff --git a/sci-visualization/opendx/files/opendx-4.4.4-magick.patch b/sci-visualization/opendx/files/opendx-4.4.4-magick.patch
16 deleted file mode 100644
17 index 5b50470970c..00000000000
18 --- a/sci-visualization/opendx/files/opendx-4.4.4-magick.patch
19 +++ /dev/null
20 @@ -1,90 +0,0 @@
21 -newer magick libraries, use pkg-config, add possibility to link with
22 -graphicsmagick, fix for as-needed
23 -
24 ---- dx-4.4.4.orig/src/exec/dxmods/_im_image.c
25 -+++ dx-4.4.4/src/exec/dxmods/_im_image.c
26 -@@ -329,7 +329,7 @@
27 - DestroyImageInfo(new_frame_info);
28 - DestroyImageInfo(image_info);
29 - #if MagickLibVersion > 0x0537
30 -- DestroyConstitute();
31 -+ ConstituteComponentTerminus();
32 - #endif
33 - DXSetError(ERROR_INTERNAL, "reason = %s, description = %s",
34 - image->exception.reason,
35 -@@ -346,7 +346,7 @@
36 - DestroyImageInfo(new_frame_info);
37 - DestroyImageInfo(image_info);
38 - #if MagickLibVersion > 0x0537
39 -- DestroyConstitute();
40 -+ ConstituteComponentTerminus();
41 - #endif
42 - DXErrorReturn( ERROR_INTERNAL , "out of memory allocating buffer _im_image.c");
43 - }
44 -@@ -375,7 +375,7 @@
45 - DestroyImageInfo(image_info);
46 - DestroyImageInfo(new_frame_info);
47 - #if MagickLibVersion > 0x0537
48 -- DestroyConstitute();
49 -+ ConstituteComponentTerminus();
50 - #endif
51 -
52 - DEBUGMESSAGE("back from DestroyImage");
53 -@@ -491,7 +491,7 @@
54 - DestroyImage(image);
55 - DestroyImageInfo(image_info);
56 - #if MagickLibVersion > 0x0537
57 -- DestroyConstitute();
58 -+ ConstituteComponentTerminus();
59 - #endif
60 - }
61 - return (OK);
62 ---- dx-4.4.4.orig/configure.ac
63 -+++ dx-4.4.4/configure.ac
64 -@@ -799,7 +799,29 @@
65 - LIB_MAGICK=''
66 - if test "$with_magick" != 'no'
67 - then
68 -- AS_MESSAGE([checking for ImageMagick support ......])
69 -+ found=0
70 -+ static_lib="libGraphicsMagick.a"
71 -+ PKG_CHECK_MODULES(GraphicsMagick, GraphicsMagick, [found=1], [found=0])
72 -+ MAGICK_CFLAGS="$GraphicsMagick_CFLAGS"
73 -+ MAGICK_LIBS="$GraphicsMagick_LIBS"
74 -+ if test $found -eq 0
75 -+ then
76 -+ static_lib="libMagick.a"
77 -+ PKG_CHECK_MODULES(ImageMagick, ImageMagick, [found=1], [found=0])
78 -+ MAGICK_CFLAGS="$ImageMagick_CFLAGS"
79 -+ MAGICK_LIBS="$ImageMagick_LIBS"
80 -+ fi
81 -+ if test $found -eq 1
82 -+ then
83 -+ CFLAGS="$CFLAGS $MAGICK_CFLAGS"
84 -+dnl UNIQUIFY will remove duplicate library tokens leaving the last instance.
85 -+ AC_UTILS_UNIQUIFY([$LIBS $MAGICK_LIBS], LIBS)
86 -+ FMT_LIBS="$FMT_LIBS $static_lib"
87 -+ AC_DEFINE(HAVE_LIBMAGICK, 1, [Define to 1 if you have the ImageMagick libraries])
88 -+ have_magick='yes'
89 -+dnl legacy checks installations without pkg-config
90 -+ else
91 -+ AS_MESSAGE([checking for ImageMagick support (no pkg-config) ......])
92 - AC_CHECK_PROG(HAVE_MC, Magick-config, yes, no)
93 -
94 - failed=0;
95 -@@ -866,6 +888,7 @@
96 - fi
97 - fi
98 - fi
99 -+fi
100 -
101 - AC_LANG([C++])
102 - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[int a = true;]])],
103 ---- dx-4.4.4.orig/src/exec/dxmods/Makefile.am
104 -+++ dx-4.4.4/src/exec/dxmods/Makefile.am
105 -@@ -113,4 +113,5 @@
106 - $(SOURCES6) \
107 - $(SOURCES7)
108 -
109 -+libDXMODS_la_LIBADD = @MAGICK_LIBS@
110 - @LOCALMAKE@