File kde4filepicker.patch of Package libreoffice

Index: libreoffice-5.0.2.1/configure.ac
===================================================================
--- libreoffice-5.0.2.1.orig/configure.ac
+++ libreoffice-5.0.2.1/configure.ac
@@ -11318,6 +11318,7 @@ int main(int argc, char **argv) {
 
             AC_RUN_IFELSE([AC_LANG_SOURCE([[
 #define SAL_OVERRIDE
+#include <cstdlib>
 #include "tst_exclude_socket_notifiers.moc"
 
 int main(int argc, char *argv[])
@@ -11351,6 +11352,7 @@ int main(int argc, char *argv[])
 
             AC_RUN_IFELSE([AC_LANG_SOURCE([[
 #define SAL_OVERRIDE
+#include <cstdlib>
 #include "tst_exclude_posted_events.moc"
 
 int main(int argc, char *argv[])
openSUSE Build Service is sponsored by