summaryrefslogtreecommitdiff
path: root/staging/koffice/gcc46.patch
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-29 13:14:42 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-29 13:14:42 -0300
commit629b4bffc68b6a0cd11dadd5a5e7a5609c1d28ce (patch)
tree032d3815bd0e68807539b4f135f7b940376aca30 /staging/koffice/gcc46.patch
parent47b6ee356cd0338ecc009a1e3e8a186624ce8f6b (diff)
parenta0a7a3e16a1399233b436e64dba17a6cca315393 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Diffstat (limited to 'staging/koffice/gcc46.patch')
-rw-r--r--staging/koffice/gcc46.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/staging/koffice/gcc46.patch b/staging/koffice/gcc46.patch
new file mode 100644
index 000000000..dcf8a4f85
--- /dev/null
+++ b/staging/koffice/gcc46.patch
@@ -0,0 +1,23 @@
+diff -up koffice-2.3.2/krita/plugins/formats/exr/exr_converter.cc.gcc46 koffice-2.3.2/krita/plugins/formats/exr/exr_converter.cc
+--- koffice-2.3.2/krita/plugins/formats/exr/exr_converter.cc.gcc46 2011-02-17 06:13:40.000000000 -0600
++++ koffice-2.3.2/krita/plugins/formats/exr/exr_converter.cc 2011-02-19 21:15:56.597142885 -0600
+@@ -80,6 +80,9 @@ ImageType imfTypeToKisType(Imf::PixelTyp
+ return IT_FLOAT16;
+ case Imf::FLOAT:
+ return IT_FLOAT32;
++ default:
++ // shouldn't reach here
++ return IT_UNSUPPORTED;
+ }
+ }
+
+@@ -93,6 +96,9 @@ const KoColorSpace* kisTypeToColorSpace(
+ case IT_UNKNOWN:
+ case IT_UNSUPPORTED:
+ return 0;
++ default:
++ // shouldn't reach here
++ return 0;
+ }
+ }
+