59230131f3
Release note (will be available): http://development.openoffice.org/releases/3.0.0.html
35 lines
821 B
Text
35 lines
821 B
Text
$NetBSD: patch-dc,v 1.1.1.1 2008/10/14 11:02:25 hira Exp $
|
|
|
|
--- icc/SampleICC-1.3.2.patch.orig 2008-01-31 17:07:33.000000000 +0900
|
|
+++ icc/SampleICC-1.3.2.patch 2008-09-30 01:29:06.000000000 +0900
|
|
@@ -489,7 +489,7 @@
|
|
! }
|
|
! }
|
|
! }
|
|
---- 1,329 ----
|
|
+--- 1,332 ----
|
|
! /*
|
|
! File: Vetters.cpp
|
|
!
|
|
@@ -575,7 +575,7 @@
|
|
! using namespace std;
|
|
!
|
|
! #ifndef WIN32
|
|
-! #ifdef sun
|
|
+! #if 1
|
|
! #include <errno.h>
|
|
! #else
|
|
! #include <sys/errno.h>
|
|
@@ -584,8 +584,11 @@
|
|
! #include <string.h>
|
|
! #define stat _stat
|
|
! #endif
|
|
+! #ifdef NETBSD
|
|
+! #include <sys/param.h>
|
|
+! #endif
|
|
!
|
|
-! #if defined WIN32 || defined sun
|
|
+! #if defined WIN32 || defined sun || (defined(NETBSD) && (__NetBSD_Version__ < 400000000))
|
|
! int strerror_r(int errnum, char *str, int strsize)
|
|
! {
|
|
! const char *errstr = strerror(errnum);
|