# HG changeset patch # User Vladimir Marek # Date 1481300756 -3600 # Node ID 0a979060f73bd44de098b14d93796eb602576045 # Parent f204f26ea1686a8819cd042925e16f1f261e2d5e 25231110 Imagemgick needs minor modifications diff -r f204f26ea168 -r 0a979060f73b components/imagemagick/Makefile --- a/components/imagemagick/Makefile Fri Dec 16 15:42:05 2016 -0800 +++ b/components/imagemagick/Makefile Fri Dec 09 17:25:56 2016 +0100 @@ -137,6 +137,7 @@ REQUIRED_PACKAGES += library/libxml2 REQUIRED_PACKAGES += library/openexr REQUIRED_PACKAGES += library/zlib +REQUIRED_PACKAGES += print/filter/ghostscript/fonts/gnu-gs-fonts-std REQUIRED_PACKAGES += shell/ksh93 REQUIRED_PACKAGES += system/library/c++-runtime REQUIRED_PACKAGES += system/library/fontconfig diff -r f204f26ea168 -r 0a979060f73b components/imagemagick/imagemagick.copyrights --- a/components/imagemagick/imagemagick.copyrights Fri Dec 16 15:42:05 2016 -0800 +++ b/components/imagemagick/imagemagick.copyrights Fri Dec 09 17:25:56 2016 +0100 @@ -1,3 +1,5 @@ +* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + 1. ImageMagick copyright: Copyright 1999-2016 ImageMagick Studio LLC, a non-profit organization dedicated @@ -206,7 +208,7 @@ 10. Libsquish copyright (this copyright is limited to the compression used in coder/dds.c, incorporated from the libsquish library): -Copyright (c) 2006 Simon Brown si@sjbrown.co.uk +Copyright (c) 2006 Simon Brown si@sjbrown.co.uk Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in @@ -234,3 +236,111 @@ Bootstrap v3.3.5 (http://getbootstrap.com) Copyright 2011-2015 Twitter, Inc. Licensed under the MIT license + +* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * +* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + + +Before we get to the text of the license, lets just review what the license says in simple terms: + +It allows you to: + + * freely download and use ImageMagick software, in whole or in part, for personal, company internal, or commercial purposes; + * use ImageMagick software in packages or distributions that you create; + * link against a library under a different license; + * link code under a different license against a library under this license; + * merge code into a work under a different license; + * extend patent grants to any code using code under this license; + * and extend patent protection. + +It forbids you to: + + * redistribute any piece of ImageMagick-originated software without proper attribution; + * use any marks owned by ImageMagick Studio LLC in any way that might state or imply that ImageMagick Studio LLC endorses your distribution; + * use any marks owned by ImageMagick Studio LLC in any way that might state or imply that you created the ImageMagick software in question. + +It requires you to: + + * include a copy of the license in any redistribution you may make that includes ImageMagick software; + * provide clear attribution to ImageMagick Studio LLC for any distributions that include ImageMagick software. + +It does not require you to: + + * include the source of the ImageMagick software itself, or of any modifications you may have made to it, in any redistribution you may assemble that includes it; + * submit changes that you make to the software back to the ImageMagick Studio LLC (though such feedback is encouraged). + +A few other clarifications include: + + * ImageMagick is freely available without charge; + * you may include ImageMagick on a DVD as long as you comply with the terms of the license; + * you can give modified code away for free or sell it under the terms of the ImageMagick license or distribute the result under a different license, but you need to acknowledge the use of the ImageMagick software; + * the license is compatible with the GPL V3. + * when exporting the ImageMagick software, review its export classification. + +Terms and Conditions for Use, Reproduction, and Distribution + +The legally binding and authoritative terms and conditions for use, reproduction, and distribution of ImageMagick follow: + +Copyright 1999-2016 ImageMagick Studio LLC, a non-profit organization dedicated to making software imaging solutions freely available. + +1. Definitions. + +License shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + +Licensor shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + +Legal Entity shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, control means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + +You (or Your) shall mean an individual or Legal Entity exercising permissions granted by this License. + +Source form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + +Object form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + +Work shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + +Derivative Works shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + +Contribution shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as Not a Contribution. + +Contributor shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + * You must give any other recipients of the Work or Derivative Works a copy of this License; and + * You must cause any modified files to carry prominent notices stating that You changed the files; and + * You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + * If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. +You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. + +How to Apply the License to your Work + +To apply the ImageMagick License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information (don't include the brackets). The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the ImageMagick License (the "License"); you may not use + this file except in compliance with the License. You may obtain a copy + of the License at + + http://www.imagemagick.org/script/license.php + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + License for the specific language governing permissions and limitations + under the License. diff -r f204f26ea168 -r 0a979060f73b components/imagemagick/patches/perl_LD_RUN_PATH.patch --- a/components/imagemagick/patches/perl_LD_RUN_PATH.patch Fri Dec 16 15:42:05 2016 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,43 +0,0 @@ -This patch is Solaris-specific and thus will not be contributed upstream. - ---- ImageMagick-6.8.3/PerlMagick/Makefile.am.~1~ 2013-02-13 15:22:54.000000000 -0800 -+++ ImageMagick-6.8.3/PerlMagick/Makefile.am 2015-02-10 20:35:39.222565738 -0800 -@@ -59,7 +59,7 @@ - - install-exec-perl: $(PERLMAKEFILE) - ( cd $(PERLMAGICK) && $(MAKE) CC='@CC@' && \ -- $(MAKE) CC='@CC@' install ) -+ $(MAKE) CC='@CC@' LD_RUN_PATH="" install ) - - all-perl: perl-sources - -@@ -67,7 +67,8 @@ - echo "Uninstall not supported for PerlMagick" - - check-perl: $(PERLMAKEFILE) -- cd $(PERLMAGICK) && $(abs_top_builddir)/magick.sh $(MAKE) CC='@CC@' test -+ cd $(PERLMAGICK) && $(abs_top_builddir)/magick.sh \ -+ $(MAKE) CC='@CC@' LD_RUN_PATH="" test - - perl-build: $(PERLMAKEFILE) - ( cd $(PERLMAGICK) && $(MAKE) CC='@CC@' ) ---- ImageMagick-6.9.4/Makefile.in.~1~ 2016-05-09 10:29:28.000000000 -0700 -+++ ImageMagick-6.9.4/Makefile.in 2016-05-10 09:07:02.124054239 -0700 -@@ -11497,7 +11497,7 @@ - - @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@install-exec-perl: $(PERLMAKEFILE) - @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ ( cd $(PERLMAGICK) && $(MAKE) CC='@CC@' && \ --@WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ $(MAKE) CC='@CC@' install ) -+@WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ $(MAKE) CC='@CC@' LD_RUN_PATH="" install ) - - @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@all-perl: perl-sources - -@@ -11505,7 +11505,7 @@ - @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ echo "Uninstall not supported for PerlMagick" - - @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@check-perl: $(PERLMAKEFILE) --@WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ cd $(PERLMAGICK) && $(abs_top_builddir)/magick.sh $(MAKE) CC='@CC@' test -+@WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ cd $(PERLMAGICK) && $(abs_top_builddir)/magick.sh $(MAKE) CC='@CC@' LD_RUN_PATH="" test - - @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@perl-build: $(PERLMAKEFILE) - @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ ( cd $(PERLMAGICK) && $(MAKE) CC='@CC@' ) diff -r f204f26ea168 -r 0a979060f73b components/imagemagick/patches/test-exceptions.patch --- a/components/imagemagick/patches/test-exceptions.patch Fri Dec 16 15:42:05 2016 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,276 +0,0 @@ -This patch was developed in-house to get 'gmake test' to compile. We have -not yet determined whether or not to pass it upstream. - ---- ImageMagick-6.8.3/Magick++/demo/button.cpp.orig 2010-01-05 06:04:01.000000000 -0800 -+++ ImageMagick-6.8.3/Magick++/demo/button.cpp 2015-02-11 07:03:58.267285998 -0800 -@@ -90,7 +90,7 @@ - // button.display(); - - } -- catch( exception &error_ ) -+ catch( Exception &error_ ) - { - cout << "Caught exception: " << error_.what() << endl; - return 1; ---- ImageMagick-6.8.3/Magick++/demo/demo.cpp.orig 2010-05-29 18:16:06.000000000 -0700 -+++ ImageMagick-6.8.3/Magick++/demo/demo.cpp 2015-02-11 07:05:43.515927192 -0800 -@@ -510,7 +510,7 @@ - // montage_image.display(); - - } -- catch( exception &error_ ) -+ catch( Exception &error_ ) - { - cout << "Caught exception: " << error_.what() << endl; - return 1; ---- ImageMagick-6.8.3/Magick++/demo/flip.cpp.orig 2009-09-05 14:47:34.000000000 -0700 -+++ ImageMagick-6.8.3/Magick++/demo/flip.cpp 2015-02-11 07:06:56.484455695 -0800 -@@ -50,7 +50,7 @@ - writeImages( morphed.begin(), morphed.end(), "flip_out.miff" ); - - } -- catch( exception &error_ ) -+ catch( Exception &error_ ) - { - cout << "Caught exception: " << error_.what() << endl; - return 1; ---- ImageMagick-6.8.3/Magick++/demo/gravity.cpp.orig 2010-05-27 13:51:26.000000000 -0700 -+++ ImageMagick-6.8.3/Magick++/demo/gravity.cpp 2015-02-11 07:08:01.108746080 -0800 -@@ -73,7 +73,7 @@ - // system( "animate gravity_out.miff" ); - - } -- catch( exception &error_ ) -+ catch( Exception &error_ ) - { - cout << "Caught exception: " << error_.what() << endl; - return 1; ---- ImageMagick-6.9.4/Magick++/demo/piddle.cpp.~1~ 2016-05-09 10:28:57.000000000 -0700 -+++ ImageMagick-6.9.4/Magick++/demo/piddle.cpp 2016-05-10 09:08:10.587311299 -0700 -@@ -170,7 +170,7 @@ - // image.display( ); - - } -- catch( exception &error_ ) -+ catch( Exception &error_ ) - { - cout << "Caught exception: " << error_.what() << endl; - return 1; ---- ImageMagick-6.8.3/Magick++/demo/shapes.cpp.orig 2011-02-02 18:08:56.000000000 -0800 -+++ ImageMagick-6.8.3/Magick++/demo/shapes.cpp 2015-02-11 07:10:26.414505806 -0800 -@@ -109,7 +109,7 @@ - // image.display( ); - - } -- catch( exception &error_ ) -+ catch( Exception &error_ ) - { - cout << "Caught exception: " << error_.what() << endl; - return 1; ---- ImageMagick-6.8.3/Magick++/demo/zoom.cpp.orig 2010-05-29 18:16:06.000000000 -0700 -+++ ImageMagick-6.8.3/Magick++/demo/zoom.cpp 2015-02-11 07:12:38.302672267 -0800 -@@ -63,7 +63,7 @@ - try { - density=Geometry(argv[argv_index]); - } -- catch( exception &/* error_ */) -+ catch( Exception &/* error_ */) - { - ParseError(argv_index,argv); - } -@@ -119,7 +119,7 @@ - try { - geometry=Geometry(argv[argv_index]); - } -- catch( exception &/* error_ */) -+ catch( Exception &/* error_ */) - { - ParseError(argv_index,argv); - } -@@ -132,7 +132,7 @@ - try { - resample=Geometry(argv[argv_index]); - } -- catch( exception &/* error_ */) -+ catch( Exception &/* error_ */) - { - ParseError(argv_index,argv); - } -@@ -180,7 +180,7 @@ - } - image.write(output_file); - } -- catch( exception &error_ ) -+ catch( Exception &error_ ) - { - cout << "Caught exception: " << error_.what() << endl; - return 1; ---- ImageMagick-6.8.3/Magick++/tests/appendImages.cpp.orig 2009-09-05 14:47:34.000000000 -0700 -+++ ImageMagick-6.8.3/Magick++/tests/appendImages.cpp 2015-02-11 07:16:52.216679885 -0800 -@@ -76,11 +76,6 @@ - cout << "Caught exception: " << error_.what() << endl; - return 1; - } -- catch( exception &error_ ) -- { -- cout << "Caught exception: " << error_.what() << endl; -- return 1; -- } - - if ( failures ) - { ---- ImageMagick-6.8.3/Magick++/tests/attributes.cpp.orig 2012-06-18 10:27:31.000000000 -0700 -+++ ImageMagick-6.8.3/Magick++/tests/attributes.cpp 2015-02-11 07:19:39.714613173 -0800 -@@ -1501,11 +1501,6 @@ - cout << "Caught exception: " << error_.what() << endl; - return 1; - } -- catch( exception &error_ ) -- { -- cout << "Caught exception: " << error_.what() << endl; -- return 1; -- } - - if ( failures ) - { ---- ImageMagick-6.8.3/Magick++/tests/averageImages.cpp.orig 2009-09-05 14:47:34.000000000 -0700 -+++ ImageMagick-6.8.3/Magick++/tests/averageImages.cpp 2015-02-11 07:20:22.914703162 -0800 -@@ -58,11 +58,6 @@ - cout << "Caught exception: " << error_.what() << endl; - return 1; - } -- catch( exception &error_ ) -- { -- cout << "Caught exception: " << error_.what() << endl; -- return 1; -- } - - if ( failures ) - { ---- ImageMagick-6.8.3/Magick++/tests/coalesceImages.cpp.orig 2009-09-05 14:47:34.000000000 -0700 -+++ ImageMagick-6.8.3/Magick++/tests/coalesceImages.cpp 2015-02-11 07:21:36.319285353 -0800 -@@ -45,11 +45,6 @@ - cout << "Caught exception: " << error_.what() << endl; - return 1; - } -- catch( exception &error_ ) -- { -- cout << "Caught exception: " << error_.what() << endl; -- return 1; -- } - - if ( failures ) - { ---- ImageMagick-6.8.3/Magick++/tests/coderInfo.cpp.orig 2009-09-05 14:47:34.000000000 -0700 -+++ ImageMagick-6.8.3/Magick++/tests/coderInfo.cpp 2015-02-11 07:22:07.803975862 -0800 -@@ -118,11 +118,6 @@ - cout << "Caught exception: " << error_.what() << endl; - return 1; - } -- catch( exception &error_ ) -- { -- cout << "Caught exception: " << error_.what() << endl; -- return 1; -- } - - if ( failures ) - { ---- ImageMagick-6.8.3/Magick++/tests/color.cpp.orig 2010-09-19 08:13:42.000000000 -0700 -+++ ImageMagick-6.8.3/Magick++/tests/color.cpp 2015-02-11 07:25:37.141826377 -0800 -@@ -138,11 +138,6 @@ - cout << "Caught exception: " << error_.what() << endl; - return 1; - } -- catch( exception &error_ ) -- { -- cout << "Caught exception: " << error_.what() << endl; -- return 1; -- } - - if ( failures ) - { ---- ImageMagick-6.8.3/Magick++/tests/colorHistogram.cpp.orig 2010-05-27 13:51:26.000000000 -0700 -+++ ImageMagick-6.8.3/Magick++/tests/colorHistogram.cpp 2015-02-11 07:26:23.437002967 -0800 -@@ -84,11 +84,6 @@ - cout << "Caught exception: " << error_.what() << endl; - return 1; - } -- catch( exception &error_ ) -- { -- cout << "Caught exception: " << error_.what() << endl; -- return 1; -- } - - if ( failures ) - { ---- ImageMagick-6.8.3/Magick++/tests/exceptions.cpp.orig 2011-12-31 09:22:05.000000000 -0800 -+++ ImageMagick-6.8.3/Magick++/tests/exceptions.cpp 2015-02-11 07:26:55.141360186 -0800 -@@ -82,12 +82,6 @@ - cout.flush(); - return 1; - } -- catch( exception &error_ ) -- { -- cout << "Bogus catch: Caught exception: " << error_.what() << endl; -- cout.flush(); -- return 1; -- } - - if ( failures ) - { ---- ImageMagick-6.8.3/Magick++/tests/montageImages.cpp.orig 2011-02-02 17:31:01.000000000 -0800 -+++ ImageMagick-6.8.3/Magick++/tests/montageImages.cpp 2015-02-11 07:29:32.433719660 -0800 -@@ -123,11 +123,6 @@ - cout << "Caught exception: " << error_.what() << endl; - return 1; - } -- catch( exception &error_ ) -- { -- cout << "Caught exception: " << error_.what() << endl; -- return 1; -- } - - if ( failures ) - { ---- ImageMagick-6.8.3/Magick++/tests/morphImages.cpp.orig 2009-09-05 14:47:34.000000000 -0700 -+++ ImageMagick-6.8.3/Magick++/tests/morphImages.cpp 2015-02-11 07:30:08.668795257 -0800 -@@ -54,11 +54,6 @@ - cout << "Caught exception: " << error_.what() << endl; - return 1; - } -- catch( exception &error_ ) -- { -- cout << "Caught exception: " << error_.what() << endl; -- return 1; -- } - - if ( failures ) - { ---- ImageMagick-6.8.3/Magick++/tests/readWriteBlob.cpp.orig 2009-09-05 14:47:34.000000000 -0700 -+++ ImageMagick-6.8.3/Magick++/tests/readWriteBlob.cpp 2015-02-11 07:33:35.032546179 -0800 -@@ -237,11 +237,6 @@ - cout << "Caught exception: " << error_.what() << endl; - return 1; - } -- catch( exception &error_ ) -- { -- cout << "Caught exception: " << error_.what() << endl; -- return 1; -- } - - if ( failures ) - { ---- ImageMagick-6.9.4/Magick++/tests/readWriteImages.cpp.~1~ 2016-05-10 09:05:23.297878177 -0700 -+++ ImageMagick-6.9.4/Magick++/tests/readWriteImages.cpp 2016-05-10 09:06:14.986053932 -0700 -@@ -162,11 +162,6 @@ - cout << "Caught exception: " << error_.what() << endl; - return 1; - } -- catch(exception &error_) -- { -- cout << "Caught exception: " << error_.what() << endl; -- return 1; -- } - - if (failures) - { diff -r f204f26ea168 -r 0a979060f73b components/imagemagick/patches/tiff.patch --- a/components/imagemagick/patches/tiff.patch Fri Dec 16 15:42:05 2016 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -This is workaround until fix for 24750280 is delivered to build machine. - -Not suitable for upstream. - ---- ImageMagick-6.9.5/coders/tiff.c.old 2016-09-28 07:57:25.320767505 -0700 -+++ ImageMagick-6.9.5/coders/tiff.c 2016-09-28 07:57:27.957254880 -0700 -@@ -84,6 +84,19 @@ - #include "magick/thread_.h" - #include "magick/token.h" - #include "magick/utility.h" -+ -+#if !defined(__sparcv9) -+# if !defined(__amd64) -+# include "tiffconf.h" -+# undef TIFF_INT64_T -+# define TIFF_INT64_T signed long long -+# undef TIFF_UINT64_T -+# define TIFF_UINT64_T unsigned long long -+# undef TIFF_SSIZE_T -+# define TIFF_SSIZE_T signed int -+# endif -+#endif -+ - #if defined(MAGICKCORE_TIFF_DELEGATE) - # if defined(MAGICKCORE_HAVE_TIFFCONF_H) - # include "tiffconf.h"