[ooo-build-commit] patches/dev300

Petr Mladek pmladek at kemper.freedesktop.org
Fri Jun 12 09:22:01 PDT 2009


 patches/dev300/fpicker-kde-modal.diff |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 5b3745d688c6c8d4b426fc789dd8d13dd44c2684
Author: Petr Mladek <pmladek at suse.cz>
Date:   Fri Jun 12 18:15:44 2009 +0200

    Fix fpicker to compile with gcc4.4
    
    * patches/dev300/fpicker-kde-modal.diff: add missing #include <stdio.h>
      to define snprintf()

diff --git a/patches/dev300/fpicker-kde-modal.diff b/patches/dev300/fpicker-kde-modal.diff
index 7f28ca6..d8a6272 100644
--- a/patches/dev300/fpicker-kde-modal.diff
+++ b/patches/dev300/fpicker-kde-modal.diff
@@ -53,7 +53,7 @@ diff --git a/fpicker/source/unx/kde_unx/UnxFilePicker.cxx b/fpicker/source/unx/k
 index 9d3da56..4590b74 100644
 --- fpicker/source/unx/kde_unx/UnxFilePicker.cxx
 +++ fpicker/source/unx/kde_unx/UnxFilePicker.cxx
-@@ -127,6 +127,11 @@
+@@ -127,9 +127,15 @@
  #include <UnxNotifyThread.hxx>
  #endif
  
@@ -65,6 +65,10 @@ index 9d3da56..4590b74 100644
  #include <sys/wait.h>
  #include <unistd.h>
  #include <fcntl.h>
++#include <stdio.h>
+ 
+ #include <iostream>
+ 
 @@ -528,7 +533,7 @@ void SAL_CALL UnxFilePicker::setLabel( sal_Int16 nControlId, const ::rtl::OUStri
      sendCommand( aBuffer.makeStringAndClear() );
  }


More information about the ooo-build-commit mailing list