summaryrefslogtreecommitdiff
path: root/graphics/pfstools/files/patch-src-fileformat-pfsinimgmagick.cpp
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-03-20 06:33:01 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-03-20 06:33:01 +0000
commit54975cd08c68b62b6b079b6c30c7868ffd7db5a8 (patch)
tree26ee11762268f4c16b74fc0b9210b6c16cbc941b /graphics/pfstools/files/patch-src-fileformat-pfsinimgmagick.cpp
parentFix build with clang 6 (diff)
graphics/pfstools: Update to 2.1.0
Port changes: * Change to DISTVERSION * Add LICENSE_FILE * Change to cmake (from gmake) * Update of all options accordingly PR: 225537 Submitted by: Iouri V. Ivliev <fbsd@any.com.ru> (maintainer)
Diffstat (limited to 'graphics/pfstools/files/patch-src-fileformat-pfsinimgmagick.cpp')
-rw-r--r--graphics/pfstools/files/patch-src-fileformat-pfsinimgmagick.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/graphics/pfstools/files/patch-src-fileformat-pfsinimgmagick.cpp b/graphics/pfstools/files/patch-src-fileformat-pfsinimgmagick.cpp
deleted file mode 100644
index d9bed8d63518..000000000000
--- a/graphics/pfstools/files/patch-src-fileformat-pfsinimgmagick.cpp
+++ /dev/null
@@ -1,19 +0,0 @@
---- src/fileformat/pfsinimgmagick.cpp.orig 2008-10-03 19:07:34 UTC
-+++ src/fileformat/pfsinimgmagick.cpp
-@@ -108,6 +108,7 @@ void readFrames( int argc, char* argv[]
- if( ff.fh == NULL ) break; // No more frames
- it.closeFrameFile( ff );
-
-+ Magick::InitializeMagick(*argv);
- VERBOSE_STR << "reading file '" << ff.fileName << "'" << std::endl;
- Magick::Image imImage( ff.fileName );
-
-@@ -172,7 +173,7 @@ void readFrames( int argc, char* argv[]
- frame->getTags()->setString( "FILE_NAME", fileNameTag );
-
- char strbuf[3];
-- snprintf( strbuf, 3, "%d", imImage.depth() );
-+ snprintf( strbuf, 3, "%lu", imImage.depth() );
- frame->getTags()->setString("BITDEPTH", strbuf );
-
- pfsio.writeFrame( frame, stdout );