File kdegraphics3-c++11.patch of Package kdegraphics3

diff -Naru kdegraphics-3.5.10_orig/ksvg/impl/SVGAElementImpl.cc kdegraphics-3.5.10/ksvg/impl/SVGAElementImpl.cc
--- kdegraphics-3.5.10_orig/ksvg/impl/SVGAElementImpl.cc	2005-11-09 07:25:43.000000000 +0900
+++ kdegraphics-3.5.10/ksvg/impl/SVGAElementImpl.cc	2019-11-30 10:21:49.703692135 +0900
@@ -111,7 +111,7 @@
 		}
 	}
 
-	return false;
+	return NULL;
 }
 
 // vim:ts=4:noet
diff -Naru kdegraphics-3.5.10_orig/kviewshell/plugins/djvu/libdjvu/DjVuPalette.cpp kdegraphics-3.5.10/kviewshell/plugins/djvu/libdjvu/DjVuPalette.cpp
--- kdegraphics-3.5.10_orig/kviewshell/plugins/djvu/libdjvu/DjVuPalette.cpp	2005-09-10 17:19:20.000000000 +0900
+++ kdegraphics-3.5.10/kviewshell/plugins/djvu/libdjvu/DjVuPalette.cpp	2019-11-30 10:23:57.126294091 +0900
@@ -97,9 +97,11 @@
 umin(unsigned char a, unsigned char b) 
 { return (a>b) ? b : a; }
 
+/*
 inline float 
 fmin(float a, float b) 
 { return (a>b) ? b : a; }
+*/
 
 
 
openSUSE Build Service is sponsored by