* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/opendx/files/
@ 2018-04-09 0:15 Aaron Bauman
0 siblings, 0 replies; only message in thread
From: Aaron Bauman @ 2018-04-09 0:15 UTC (permalink / raw
To: gentoo-commits
commit: 5fa711a649e31bf27778c24ac6653f075c818aab
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sun Apr 8 17:04:23 2018 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Mon Apr 9 00:08:10 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fa711a6
sci-visualization/opendx: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/7879
.../opendx/files/opendx-4.4.4-magick.patch | 90 ----------------------
1 file changed, 90 deletions(-)
diff --git a/sci-visualization/opendx/files/opendx-4.4.4-magick.patch b/sci-visualization/opendx/files/opendx-4.4.4-magick.patch
deleted file mode 100644
index 5b50470970c..00000000000
--- a/sci-visualization/opendx/files/opendx-4.4.4-magick.patch
+++ /dev/null
@@ -1,90 +0,0 @@
-newer magick libraries, use pkg-config, add possibility to link with
-graphicsmagick, fix for as-needed
-
---- dx-4.4.4.orig/src/exec/dxmods/_im_image.c
-+++ dx-4.4.4/src/exec/dxmods/_im_image.c
-@@ -329,7 +329,7 @@
- DestroyImageInfo(new_frame_info);
- DestroyImageInfo(image_info);
- #if MagickLibVersion > 0x0537
-- DestroyConstitute();
-+ ConstituteComponentTerminus();
- #endif
- DXSetError(ERROR_INTERNAL, "reason = %s, description = %s",
- image->exception.reason,
-@@ -346,7 +346,7 @@
- DestroyImageInfo(new_frame_info);
- DestroyImageInfo(image_info);
- #if MagickLibVersion > 0x0537
-- DestroyConstitute();
-+ ConstituteComponentTerminus();
- #endif
- DXErrorReturn( ERROR_INTERNAL , "out of memory allocating buffer _im_image.c");
- }
-@@ -375,7 +375,7 @@
- DestroyImageInfo(image_info);
- DestroyImageInfo(new_frame_info);
- #if MagickLibVersion > 0x0537
-- DestroyConstitute();
-+ ConstituteComponentTerminus();
- #endif
-
- DEBUGMESSAGE("back from DestroyImage");
-@@ -491,7 +491,7 @@
- DestroyImage(image);
- DestroyImageInfo(image_info);
- #if MagickLibVersion > 0x0537
-- DestroyConstitute();
-+ ConstituteComponentTerminus();
- #endif
- }
- return (OK);
---- dx-4.4.4.orig/configure.ac
-+++ dx-4.4.4/configure.ac
-@@ -799,7 +799,29 @@
- LIB_MAGICK=''
- if test "$with_magick" != 'no'
- then
-- AS_MESSAGE([checking for ImageMagick support ......])
-+ found=0
-+ static_lib="libGraphicsMagick.a"
-+ PKG_CHECK_MODULES(GraphicsMagick, GraphicsMagick, [found=1], [found=0])
-+ MAGICK_CFLAGS="$GraphicsMagick_CFLAGS"
-+ MAGICK_LIBS="$GraphicsMagick_LIBS"
-+ if test $found -eq 0
-+ then
-+ static_lib="libMagick.a"
-+ PKG_CHECK_MODULES(ImageMagick, ImageMagick, [found=1], [found=0])
-+ MAGICK_CFLAGS="$ImageMagick_CFLAGS"
-+ MAGICK_LIBS="$ImageMagick_LIBS"
-+ fi
-+ if test $found -eq 1
-+ then
-+ CFLAGS="$CFLAGS $MAGICK_CFLAGS"
-+dnl UNIQUIFY will remove duplicate library tokens leaving the last instance.
-+ AC_UTILS_UNIQUIFY([$LIBS $MAGICK_LIBS], LIBS)
-+ FMT_LIBS="$FMT_LIBS $static_lib"
-+ AC_DEFINE(HAVE_LIBMAGICK, 1, [Define to 1 if you have the ImageMagick libraries])
-+ have_magick='yes'
-+dnl legacy checks installations without pkg-config
-+ else
-+ AS_MESSAGE([checking for ImageMagick support (no pkg-config) ......])
- AC_CHECK_PROG(HAVE_MC, Magick-config, yes, no)
-
- failed=0;
-@@ -866,6 +888,7 @@
- fi
- fi
- fi
-+fi
-
- AC_LANG([C++])
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[int a = true;]])],
---- dx-4.4.4.orig/src/exec/dxmods/Makefile.am
-+++ dx-4.4.4/src/exec/dxmods/Makefile.am
-@@ -113,4 +113,5 @@
- $(SOURCES6) \
- $(SOURCES7)
-
-+libDXMODS_la_LIBADD = @MAGICK_LIBS@
- @LOCALMAKE@
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-04-09 0:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-09 0:15 [gentoo-commits] repo/gentoo:master commit in: sci-visualization/opendx/files/ Aaron Bauman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox