Just needs unistd.h in two places for _exit().  With this patch in, I
*think* there's nothing in the way of switching to 4.8 per default.


Index: patches/patch-configure_ac
===================================================================
RCS file: 
/home/pascal/cvs/ports/editors/libreoffice/patches/patch-configure_ac,v
retrieving revision 1.2
diff -u -p -r1.2 patch-configure_ac
--- patches/patch-configure_ac  19 Jun 2013 09:11:24 -0000      1.2
+++ patches/patch-configure_ac  18 Jul 2013 09:18:06 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-configure_ac,v 1.2 2013/06/19 09:11:24 sthen Exp $
---- configure.ac.orig.port     Thu May  2 09:55:29 2013
-+++ configure.ac       Tue Jun 18 18:35:01 2013
-@@ -7684,7 +7684,7 @@ if test "x$enable_postgresql_sdbc" != "xno"; then
+--- configure.ac.orig.port     Tue Jun 11 11:33:38 2013
++++ configure.ac       Wed Jul 17 09:56:05 2013
+@@ -7685,7 +7685,7 @@ if test "x$enable_postgresql_sdbc" != "xno"; then
          if test "$with_gssapi" != "no"; then
              WITH_GSSAPI=YES
              save_LIBS=$LIBS
@@ -10,7 +10,7 @@ $OpenBSD: patch-configure_ac,v 1.2 2013/
                  [AC_MSG_ERROR([could not find function 'gss_init_sec_context' 
required for GSSAPI])])
              LIBS=$save_LIBS
          fi
-@@ -10187,11 +10187,11 @@ if test "$test_kde" = "yes" -a "$ENABLE_KDE" = 
"TRUE";
+@@ -10195,11 +10195,11 @@ if test "$test_kde" = "yes" -a "$ENABLE_KDE" = 
"TRUE";
          kde_libdirs="/usr/lib64/kde/lib64 /usr/local/kde/lib64 /usr/kde/lib64 
/usr/lib64/kde /usr/lib64/kde3 /usr/X11R6/lib64 /usr/local/lib64 
/opt/kde3/lib64 /opt/kde/lib64 /usr/X11R6/kde/lib64 /usr/lib/kde/lib 
/usr/local/kde/lib /usr/kde/lib /usr/lib/kde /usr/lib/kde3 /usr/lib 
/usr/X11R6/lib /usr/local/lib /opt/kde3/lib /opt/kde/lib /usr/X11R6/kde/lib 
/usr/lib64 $x_libraries"
      fi
      if test -n "$KDEDIR"; then
Index: patches/patch-desktop_source_app_app_cxx
===================================================================
RCS file: 
/home/pascal/cvs/ports/editors/libreoffice/patches/patch-desktop_source_app_app_cxx,v
retrieving revision 1.3
diff -u -p -r1.3 patch-desktop_source_app_app_cxx
--- patches/patch-desktop_source_app_app_cxx    21 Jun 2013 06:07:58 -0000      
1.3
+++ patches/patch-desktop_source_app_app_cxx    18 Jul 2013 09:18:03 -0000
@@ -1,7 +1,16 @@
 $OpenBSD: patch-desktop_source_app_app_cxx,v 1.3 2013/06/21 06:07:58 robert 
Exp $
---- desktop/source/app/app.cxx.orig.port       Fri Jun 21 00:00:29 2013
-+++ desktop/source/app/app.cxx Thu Jun 20 23:58:35 2013
-@@ -631,7 +631,7 @@ void Desktop::DeInit()
+--- desktop/source/app/app.cxx.orig.port       Tue Jun 11 11:33:38 2013
++++ desktop/source/app/app.cxx Thu Jul 18 10:49:52 2013
+@@ -104,6 +104,8 @@
+ #include <sys/wait.h>
+ #endif
+ 
++#include <unistd.h>
++
+ #ifdef WNT
+ #ifdef _MSC_VER
+ #pragma warning(push, 1) /* disable warnings within system headers */
+@@ -631,7 +633,7 @@ void Desktop::DeInit()
          // clear lockfile
          m_xLockfile.reset();
  
Index: patches/patch-vcl_unx_generic_app_wmadaptor_cxx
===================================================================
RCS file: patches/patch-vcl_unx_generic_app_wmadaptor_cxx
diff -N patches/patch-vcl_unx_generic_app_wmadaptor_cxx
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-vcl_unx_generic_app_wmadaptor_cxx     20 Jul 2013 16:28:29 
-0000
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- vcl/unx/generic/app/wmadaptor.cxx.orig.port        Sat Jul 20 16:44:59 2013
++++ vcl/unx/generic/app/wmadaptor.cxx  Sat Jul 20 16:45:21 2013
+@@ -21,6 +21,7 @@
+ #include <string.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <unistd.h>
+ 
+ #include "sal/alloca.h"
+ #include "rtl/locale.h"

Reply via email to