diff options
author | Francois Andriot <[email protected]> | 2012-08-03 21:34:00 +0200 |
---|---|---|
committer | Francois Andriot <[email protected]> | 2012-08-03 21:34:00 +0200 |
commit | c0c1a90179dd0f0e19549f279ee95cae7e577b82 (patch) | |
tree | 6ebeea5d799486d1c11361118b2878452f509cee /redhat/applications/digikam/digikam-3.5.13-fix_libpng_support.patch | |
parent | 75c1b2f8bf7066e1b55c3168a78317373a56e711 (diff) | |
download | tde-packaging-c0c1a90179dd0f0e19549f279ee95cae7e577b82.tar.gz tde-packaging-c0c1a90179dd0f0e19549f279ee95cae7e577b82.zip |
RHEL/Fedora: some more updates for MGA2/MDV2011 building
Diffstat (limited to 'redhat/applications/digikam/digikam-3.5.13-fix_libpng_support.patch')
-rw-r--r-- | redhat/applications/digikam/digikam-3.5.13-fix_libpng_support.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/redhat/applications/digikam/digikam-3.5.13-fix_libpng_support.patch b/redhat/applications/digikam/digikam-3.5.13-fix_libpng_support.patch deleted file mode 100644 index 5ca2353ef..000000000 --- a/redhat/applications/digikam/digikam-3.5.13-fix_libpng_support.patch +++ /dev/null @@ -1,40 +0,0 @@ ---- digikam/digikam/libs/dimg/loaders/pngloader.cpp.ORI 2012-05-01 14:49:41.357985513 +0200 -+++ digikam/digikam/libs/dimg/loaders/pngloader.cpp 2012-05-01 14:53:47.459349483 +0200 -@@ -120,7 +120,11 @@ - // PNG error handling. If an error occurs during reading, libpng - // will jump here - -+#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4 -+ if (setjmp(png_jmpbuf(png_ptr))) -+#else - if (setjmp(png_ptr->jmpbuf)) -+#endif - { - DDebug() << k_funcinfo << "Internal libPNG error during reading file. Process aborted!" << endl; - png_destroy_read_struct(&png_ptr, &info_ptr, NULL); -@@ -526,7 +531,11 @@ - // PNG error handling. If an error occurs during writing, libpng - // will jump here - -+#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4 -+ if (setjmp(png_jmpbuf(png_ptr))) -+#else - if (setjmp(png_ptr->jmpbuf)) -+#endif - { - DDebug() << k_funcinfo << "Internal libPNG error during writing file. Process aborted!" << endl; - fclose(f); ---- digikam/digikam/kioslave/digikamthumbnail.cpp.ORI 2012-05-01 15:44:40.237089691 +0200 -+++ digikam/digikam/kioslave/digikamthumbnail.cpp 2012-05-01 15:45:22.939534916 +0200 -@@ -392,7 +392,11 @@ - return qimage; - } - -+#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4 -+ if (setjmp(png_jmpbuf(png_ptr))) -+#else - if (setjmp(png_ptr->jmpbuf)) -+#endif - { - png_destroy_read_struct(&png_ptr, &info_ptr, NULL); - fclose(f); |