summaryrefslogtreecommitdiffstats
path: root/redhat/applications/digikam/digikam-3.5.13-fix_gcc47_compilation.patch
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/digikam/digikam-3.5.13-fix_gcc47_compilation.patch')
-rw-r--r--redhat/applications/digikam/digikam-3.5.13-fix_gcc47_compilation.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/redhat/applications/digikam/digikam-3.5.13-fix_gcc47_compilation.patch b/redhat/applications/digikam/digikam-3.5.13-fix_gcc47_compilation.patch
deleted file mode 100644
index c1f0e1d6c..000000000
--- a/redhat/applications/digikam/digikam-3.5.13-fix_gcc47_compilation.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- digikam/digikam/libs/dimg/loaders/pngloader.cpp.libpng 2012-05-01 15:02:57.235666444 +0200
-+++ digikam/digikam/libs/dimg/loaders/pngloader.cpp 2012-05-01 15:04:30.737122439 +0200
-@@ -408,10 +408,11 @@
- TQMap<int, TQByteArray>& metaData = imageMetaData();
-
- png_charp profile_name, profile_data=NULL;
-+ unsigned char* uprofile_data = reinterpret_cast<unsigned char*>(profile_data);
- png_uint_32 profile_size;
- int compression_type;
-
-- png_get_iCCP(png_ptr, info_ptr, &profile_name, &compression_type, &profile_data, &profile_size);
-+ png_get_iCCP(png_ptr, info_ptr, &profile_name, &compression_type, &uprofile_data, &profile_size);
-
- if (profile_data != NULL)
- {
-@@ -607,7 +608,7 @@
-
- if (!profile_rawdata.isEmpty())
- {
-- png_set_iCCP(png_ptr, info_ptr, (png_charp)"icc", PNG_COMPRESSION_TYPE_BASE, profile_rawdata.data(), profile_rawdata.size());
-+ png_set_iCCP(png_ptr, info_ptr, (png_charp)"icc", PNG_COMPRESSION_TYPE_BASE, (unsigned char*)profile_rawdata.data(), profile_rawdata.size());
- }
-
- // -------------------------------------------------------------------