aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-06-04 18:17:52 +0800
committermbr <mbr@FreeBSD.org>2002-06-04 18:17:52 +0800
commit7f8085fd6d7e19af3c321f10f3c11d76085edb5c (patch)
treed6d50f0ec51ddf11fd78f5fca56831ae887ebf0c /editors
parentddd3241b26be3f10c763eb3c789be8b470ac12d9 (diff)
downloadfreebsd-ports-graphics-7f8085fd6d7e19af3c321f10f3c11d76085edb5c.tar.gz
freebsd-ports-graphics-7f8085fd6d7e19af3c321f10f3c11d76085edb5c.tar.zst
freebsd-ports-graphics-7f8085fd6d7e19af3c321f10f3c11d76085edb5c.zip
Check the exception handling. Needed for the cpp uno code
bridge. I'll import a new bridge for sjlj exceptions on STABLE.
Diffstat (limited to 'editors')
-rw-r--r--editors/openoffice-1.0/files/patch-config_office+configure.in39
-rw-r--r--editors/openoffice-1.0/files/patch-config_office+set_soenv.128
-rw-r--r--editors/openoffice-1.0/files/patch-config_office::configure.in39
-rw-r--r--editors/openoffice-1.0/files/patch-set_soenv.128
-rw-r--r--editors/openoffice-1.1-devel/files/patch-config_office+configure.in39
-rw-r--r--editors/openoffice-1.1/files/patch-config_office+configure.in39
-rw-r--r--editors/openoffice-2.0-devel/files/patch-config_office+configure.in39
-rw-r--r--editors/openoffice-3-devel/files/patch-config_office+configure.in39
-rw-r--r--editors/openoffice-3/files/patch-config_office+configure.in39
-rw-r--r--editors/openoffice-devel/files/patch-config_office+configure.in39
-rw-r--r--editors/openoffice.org-1.0/files/patch-config_office+configure.in39
-rw-r--r--editors/openoffice.org-1.0/files/patch-config_office+set_soenv.128
-rw-r--r--editors/openoffice.org-1.0/files/patch-config_office::configure.in39
-rw-r--r--editors/openoffice.org-1.0/files/patch-set_soenv.128
-rw-r--r--editors/openoffice.org-1.1-devel/files/patch-config_office+configure.in39
-rw-r--r--editors/openoffice.org-1.1/files/patch-config_office+configure.in39
-rw-r--r--editors/openoffice.org-2-RC/files/patch-config_office+configure.in39
-rw-r--r--editors/openoffice.org-2-devel/files/patch-config_office+configure.in39
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-config_office+configure.in39
-rw-r--r--editors/openoffice.org-2.0/files/patch-config_office+configure.in39
-rw-r--r--editors/openoffice.org-2/files/patch-config_office+configure.in39
-rw-r--r--editors/openoffice.org-3-RC/files/patch-config_office+configure.in39
-rw-r--r--editors/openoffice.org-3-devel/files/patch-config_office+configure.in39
-rw-r--r--editors/openoffice.org-3/files/patch-config_office+configure.in39
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-config_office+configure.in39
-rw-r--r--editors/openoffice/files/patch-config_office+configure.in39
-rw-r--r--editors/openoffice/files/patch-config_office+set_soenv.128
-rw-r--r--editors/openoffice/files/patch-config_office::configure.in39
-rw-r--r--editors/openoffice/files/patch-set_soenv.128
29 files changed, 918 insertions, 147 deletions
diff --git a/editors/openoffice-1.0/files/patch-config_office+configure.in b/editors/openoffice-1.0/files/patch-config_office+configure.in
index fecb7f038d5..5c447457cd6 100644
--- a/editors/openoffice-1.0/files/patch-config_office+configure.in
+++ b/editors/openoffice-1.0/files/patch-config_office+configure.in
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 17 22:37:42 2002
-+++ configure.in Tue May 28 11:44:41 2002
++++ configure.in Tue Jun 4 12:09:37 2002
@@ -103,6 +103,12 @@
Usage: --with-asm-home=<path to ml.exe directory>
@@ -139,7 +139,34 @@
if test "$_os" = "Darwin"; then
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
-@@ -815,6 +887,10 @@
+@@ -589,6 +661,26 @@
+ fi
+ fi
+
++dnl *************************************************************
++dnl Testing for exception handling - dwarf2 or sjlj exceptions...
++dnl *************************************************************
++AC_MSG_CHECKING([try to compile exception code])
++AC_LANG_SAVE
++AC_LANG_CPLUSPLUS
++AC_CACHE_VAL(exceptions_type, [AC_TRY_COMPILE(
++ [#include <iostream>
++
++extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
++
++ ],
++ [__sjthrow() ],
++ [exceptions_type="sjlj"],
++ [exceptions_type="dwarf2"])
++])
++
++AC_MSG_RESULT(Exceptions type: $exceptions_type)
++AC_LANG_RESTORE
++
+ dnl **************************************************************
+ dnl Testing for required Solaris and workshop compiler patches...
+ dnl **************************************************************
+@@ -815,6 +907,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -150,7 +177,13 @@
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
-@@ -1201,7 +1277,7 @@
+@@ -1196,12 +1292,13 @@
+ echo "\$MINGWIN32="$WITH_MINGWIN
+ echo "\$with_use_shell="$with_use_shell
+ echo "\$USE_GCC3="$USE_GCC3
++echo "\$EXCEPTIONS="$exceptions_type
+ echo
+ fi
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then
diff --git a/editors/openoffice-1.0/files/patch-config_office+set_soenv.1 b/editors/openoffice-1.0/files/patch-config_office+set_soenv.1
index 4902fe51ed6..9a00fb8cc88 100644
--- a/editors/openoffice-1.0/files/patch-config_office+set_soenv.1
+++ b/editors/openoffice-1.0/files/patch-config_office+set_soenv.1
@@ -1,11 +1,11 @@
--- set_soenv.1.orig Wed Apr 17 22:41:31 2002
-+++ set_soenv.1 Wed May 29 14:17:31 2002
++++ set_soenv.1 Tue Jun 4 12:13:21 2002
@@ -40,7 +40,7 @@
#
# Set this value equal to the corresponding amount of
# command line arguments.
-my $numArgs = 20;
-+my $numArgs = 25;
++my $numArgs = 26;
# Determining the amount of arguments in the call.
my $numEnter = $#ARGV + 1;
if ( $numEnter != $numArgs )
@@ -24,11 +24,11 @@
- $DEMO_ENV, $DYNAMIC_CRT, $SET_EXCEPTIONS, $emergency, $use_shl_versions, $CDPATHx );
+ $GVER, $GVERDIR, $OSVERSION, $OS, $OUTPATH, $INPATH, $PATH_SEPERATOR, $PROSWITCH, $XPVERSION, $BOTH,
+ $DEMO_ENV, $DYNAMIC_CRT, $SET_EXCEPTIONS, $emergency, $use_shl_versions, $CDPATHx, $PTHREAD_CFLAGS,
-+ $PTHREAD_LIBS );
++ $PTHREAD_LIBS, $EXCEPTIONS );
#
#-------------------------------------------
# IIc. Declaring the environment variables.
-@@ -145,7 +146,9 @@
+@@ -145,7 +146,10 @@
$STLPORT4 = $ARGV [ 12 ]; # Location of STLport4
$MINGWIN32 = $ARGV [ 17 ]; # use MINGWIN32
$use_shell = $ARGV [ 18 ]; # preferred shell
@@ -36,10 +36,11 @@
+$USE_GCC3 = $ARGV [ 19 ]; # use gcc3 (only for unxlngi4 and unxfbsd5i at the moment)
+$CC = $ARGV [ 23 ]; # get cc from environment
+$CXX = $ARGV [ 24 ]; # use c++ from environment
++$EXCEPTIONS = $ARGV [ 25 ]; # Exception handling type
#
#---------------------------------------------------------------
# IIIb. Initialising the variables for the system commands, etc.
-@@ -316,7 +319,7 @@
+@@ -316,7 +320,7 @@
$PROSWITCH = "-DPRODUCT";
$XPVERSION = "3";
$SOLAR_JAVA = "TRUE";
@@ -48,7 +49,7 @@
}
elsif ( $platform eq "$FreeBSD" )
{ print "Setting FreeBSD specific values... ";
-@@ -326,7 +329,14 @@
+@@ -326,7 +330,14 @@
$COMPATH = $ARGV[ 0 ];
$CPU = "I";
$CPUNAME = "INTEL";
@@ -63,7 +64,7 @@
$DLLSUFFIX = "fi";
$GUI = "UNX";
$GUIBASE = "unx";
-@@ -339,6 +349,9 @@
+@@ -339,6 +350,9 @@
$PATH_SEPERATOR = $ps;
$PROSWITCH = "-DPRODUCT";
$XPVERSION = "3";
@@ -73,7 +74,7 @@
}
elsif ( $platform eq "$Linux" )
{
-@@ -934,15 +947,16 @@
+@@ -934,15 +948,16 @@
$D.$COM.
$D.$CVER.
$D.$GVER.
@@ -93,7 +94,7 @@
{ $SOLARDEF .= $D."GLIBC=".$GLIBC;
}
$SOLARDEF .= $D."SUPD=$UPD".
-@@ -1039,7 +1053,7 @@
+@@ -1039,7 +1054,7 @@
$ps.$USR.$LIB.
$ps.$USR_LOCAL.$BIN;
}
@@ -102,7 +103,7 @@
{ $PATH = $cur_dir.
$ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN.
$ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
-@@ -1058,6 +1072,22 @@
+@@ -1058,6 +1073,22 @@
$ps.$USR.$ds."X11".$BIN.
$ps.$USR.$LIB;
}
@@ -125,7 +126,7 @@
elsif ($platform eq "$Winnt")
{
my ( $noldPATH );
-@@ -1196,7 +1226,7 @@
+@@ -1196,7 +1227,7 @@
$SOLARINC .= $I.$USR.$INCLUDE;
}
$SOLARINC .= $STLPORT_stlport;
@@ -134,7 +135,7 @@
{
# This simply adds an include path, so even cases that break the FHS work
$SOLARINC .= $STLPORT_inc_stlport;
-@@ -1210,11 +1240,6 @@
+@@ -1210,11 +1241,6 @@
{ $SOLARINC .= $I.'$COMPATH'.$ds."include";
}
@@ -146,12 +147,13 @@
$SOLARINC .= $I.'$SOLARENV'.$INC.$ds."Xp31".
$I.'$JAVA_HOME'.$INCLUDE;
-@@ -1407,6 +1432,11 @@
+@@ -1407,6 +1433,12 @@
ToFile( "GUIENV", $GUIENV, "e" );
ToFile( "GVER", $GVER, "e" );
ToFile( "OS", $OS, "e" );
+ToFile( "CC", $CC, "e" );
+ToFile( "CXX", $CXX, "e" );
++ToFile( "EXCEPTIONS", $EXCEPTIONS, "e" );
+ToFile( "OSVERSION", $OSVERSION, "e" );
+ToFile( "PTHREAD_CFLAGS", $PTHREAD_CFLAGS, "e" );
+ToFile( "PTHREAD_LIBS", $PTHREAD_LIBS, "e" );
diff --git a/editors/openoffice-1.0/files/patch-config_office::configure.in b/editors/openoffice-1.0/files/patch-config_office::configure.in
index fecb7f038d5..5c447457cd6 100644
--- a/editors/openoffice-1.0/files/patch-config_office::configure.in
+++ b/editors/openoffice-1.0/files/patch-config_office::configure.in
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 17 22:37:42 2002
-+++ configure.in Tue May 28 11:44:41 2002
++++ configure.in Tue Jun 4 12:09:37 2002
@@ -103,6 +103,12 @@
Usage: --with-asm-home=<path to ml.exe directory>
@@ -139,7 +139,34 @@
if test "$_os" = "Darwin"; then
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
-@@ -815,6 +887,10 @@
+@@ -589,6 +661,26 @@
+ fi
+ fi
+
++dnl *************************************************************
++dnl Testing for exception handling - dwarf2 or sjlj exceptions...
++dnl *************************************************************
++AC_MSG_CHECKING([try to compile exception code])
++AC_LANG_SAVE
++AC_LANG_CPLUSPLUS
++AC_CACHE_VAL(exceptions_type, [AC_TRY_COMPILE(
++ [#include <iostream>
++
++extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
++
++ ],
++ [__sjthrow() ],
++ [exceptions_type="sjlj"],
++ [exceptions_type="dwarf2"])
++])
++
++AC_MSG_RESULT(Exceptions type: $exceptions_type)
++AC_LANG_RESTORE
++
+ dnl **************************************************************
+ dnl Testing for required Solaris and workshop compiler patches...
+ dnl **************************************************************
+@@ -815,6 +907,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -150,7 +177,13 @@
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
-@@ -1201,7 +1277,7 @@
+@@ -1196,12 +1292,13 @@
+ echo "\$MINGWIN32="$WITH_MINGWIN
+ echo "\$with_use_shell="$with_use_shell
+ echo "\$USE_GCC3="$USE_GCC3
++echo "\$EXCEPTIONS="$exceptions_type
+ echo
+ fi
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then
diff --git a/editors/openoffice-1.0/files/patch-set_soenv.1 b/editors/openoffice-1.0/files/patch-set_soenv.1
index 4902fe51ed6..9a00fb8cc88 100644
--- a/editors/openoffice-1.0/files/patch-set_soenv.1
+++ b/editors/openoffice-1.0/files/patch-set_soenv.1
@@ -1,11 +1,11 @@
--- set_soenv.1.orig Wed Apr 17 22:41:31 2002
-+++ set_soenv.1 Wed May 29 14:17:31 2002
++++ set_soenv.1 Tue Jun 4 12:13:21 2002
@@ -40,7 +40,7 @@
#
# Set this value equal to the corresponding amount of
# command line arguments.
-my $numArgs = 20;
-+my $numArgs = 25;
++my $numArgs = 26;
# Determining the amount of arguments in the call.
my $numEnter = $#ARGV + 1;
if ( $numEnter != $numArgs )
@@ -24,11 +24,11 @@
- $DEMO_ENV, $DYNAMIC_CRT, $SET_EXCEPTIONS, $emergency, $use_shl_versions, $CDPATHx );
+ $GVER, $GVERDIR, $OSVERSION, $OS, $OUTPATH, $INPATH, $PATH_SEPERATOR, $PROSWITCH, $XPVERSION, $BOTH,
+ $DEMO_ENV, $DYNAMIC_CRT, $SET_EXCEPTIONS, $emergency, $use_shl_versions, $CDPATHx, $PTHREAD_CFLAGS,
-+ $PTHREAD_LIBS );
++ $PTHREAD_LIBS, $EXCEPTIONS );
#
#-------------------------------------------
# IIc. Declaring the environment variables.
-@@ -145,7 +146,9 @@
+@@ -145,7 +146,10 @@
$STLPORT4 = $ARGV [ 12 ]; # Location of STLport4
$MINGWIN32 = $ARGV [ 17 ]; # use MINGWIN32
$use_shell = $ARGV [ 18 ]; # preferred shell
@@ -36,10 +36,11 @@
+$USE_GCC3 = $ARGV [ 19 ]; # use gcc3 (only for unxlngi4 and unxfbsd5i at the moment)
+$CC = $ARGV [ 23 ]; # get cc from environment
+$CXX = $ARGV [ 24 ]; # use c++ from environment
++$EXCEPTIONS = $ARGV [ 25 ]; # Exception handling type
#
#---------------------------------------------------------------
# IIIb. Initialising the variables for the system commands, etc.
-@@ -316,7 +319,7 @@
+@@ -316,7 +320,7 @@
$PROSWITCH = "-DPRODUCT";
$XPVERSION = "3";
$SOLAR_JAVA = "TRUE";
@@ -48,7 +49,7 @@
}
elsif ( $platform eq "$FreeBSD" )
{ print "Setting FreeBSD specific values... ";
-@@ -326,7 +329,14 @@
+@@ -326,7 +330,14 @@
$COMPATH = $ARGV[ 0 ];
$CPU = "I";
$CPUNAME = "INTEL";
@@ -63,7 +64,7 @@
$DLLSUFFIX = "fi";
$GUI = "UNX";
$GUIBASE = "unx";
-@@ -339,6 +349,9 @@
+@@ -339,6 +350,9 @@
$PATH_SEPERATOR = $ps;
$PROSWITCH = "-DPRODUCT";
$XPVERSION = "3";
@@ -73,7 +74,7 @@
}
elsif ( $platform eq "$Linux" )
{
-@@ -934,15 +947,16 @@
+@@ -934,15 +948,16 @@
$D.$COM.
$D.$CVER.
$D.$GVER.
@@ -93,7 +94,7 @@
{ $SOLARDEF .= $D."GLIBC=".$GLIBC;
}
$SOLARDEF .= $D."SUPD=$UPD".
-@@ -1039,7 +1053,7 @@
+@@ -1039,7 +1054,7 @@
$ps.$USR.$LIB.
$ps.$USR_LOCAL.$BIN;
}
@@ -102,7 +103,7 @@
{ $PATH = $cur_dir.
$ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN.
$ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
-@@ -1058,6 +1072,22 @@
+@@ -1058,6 +1073,22 @@
$ps.$USR.$ds."X11".$BIN.
$ps.$USR.$LIB;
}
@@ -125,7 +126,7 @@
elsif ($platform eq "$Winnt")
{
my ( $noldPATH );
-@@ -1196,7 +1226,7 @@
+@@ -1196,7 +1227,7 @@
$SOLARINC .= $I.$USR.$INCLUDE;
}
$SOLARINC .= $STLPORT_stlport;
@@ -134,7 +135,7 @@
{
# This simply adds an include path, so even cases that break the FHS work
$SOLARINC .= $STLPORT_inc_stlport;
-@@ -1210,11 +1240,6 @@
+@@ -1210,11 +1241,6 @@
{ $SOLARINC .= $I.'$COMPATH'.$ds."include";
}
@@ -146,12 +147,13 @@
$SOLARINC .= $I.'$SOLARENV'.$INC.$ds."Xp31".
$I.'$JAVA_HOME'.$INCLUDE;
-@@ -1407,6 +1432,11 @@
+@@ -1407,6 +1433,12 @@
ToFile( "GUIENV", $GUIENV, "e" );
ToFile( "GVER", $GVER, "e" );
ToFile( "OS", $OS, "e" );
+ToFile( "CC", $CC, "e" );
+ToFile( "CXX", $CXX, "e" );
++ToFile( "EXCEPTIONS", $EXCEPTIONS, "e" );
+ToFile( "OSVERSION", $OSVERSION, "e" );
+ToFile( "PTHREAD_CFLAGS", $PTHREAD_CFLAGS, "e" );
+ToFile( "PTHREAD_LIBS", $PTHREAD_LIBS, "e" );
diff --git a/editors/openoffice-1.1-devel/files/patch-config_office+configure.in b/editors/openoffice-1.1-devel/files/patch-config_office+configure.in
index fecb7f038d5..5c447457cd6 100644
--- a/editors/openoffice-1.1-devel/files/patch-config_office+configure.in
+++ b/editors/openoffice-1.1-devel/files/patch-config_office+configure.in
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 17 22:37:42 2002
-+++ configure.in Tue May 28 11:44:41 2002
++++ configure.in Tue Jun 4 12:09:37 2002
@@ -103,6 +103,12 @@
Usage: --with-asm-home=<path to ml.exe directory>
@@ -139,7 +139,34 @@
if test "$_os" = "Darwin"; then
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
-@@ -815,6 +887,10 @@
+@@ -589,6 +661,26 @@
+ fi
+ fi
+
++dnl *************************************************************
++dnl Testing for exception handling - dwarf2 or sjlj exceptions...
++dnl *************************************************************
++AC_MSG_CHECKING([try to compile exception code])
++AC_LANG_SAVE
++AC_LANG_CPLUSPLUS
++AC_CACHE_VAL(exceptions_type, [AC_TRY_COMPILE(
++ [#include <iostream>
++
++extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
++
++ ],
++ [__sjthrow() ],
++ [exceptions_type="sjlj"],
++ [exceptions_type="dwarf2"])
++])
++
++AC_MSG_RESULT(Exceptions type: $exceptions_type)
++AC_LANG_RESTORE
++
+ dnl **************************************************************
+ dnl Testing for required Solaris and workshop compiler patches...
+ dnl **************************************************************
+@@ -815,6 +907,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -150,7 +177,13 @@
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
-@@ -1201,7 +1277,7 @@
+@@ -1196,12 +1292,13 @@
+ echo "\$MINGWIN32="$WITH_MINGWIN
+ echo "\$with_use_shell="$with_use_shell
+ echo "\$USE_GCC3="$USE_GCC3
++echo "\$EXCEPTIONS="$exceptions_type
+ echo
+ fi
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then
diff --git a/editors/openoffice-1.1/files/patch-config_office+configure.in b/editors/openoffice-1.1/files/patch-config_office+configure.in
index fecb7f038d5..5c447457cd6 100644
--- a/editors/openoffice-1.1/files/patch-config_office+configure.in
+++ b/editors/openoffice-1.1/files/patch-config_office+configure.in
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 17 22:37:42 2002
-+++ configure.in Tue May 28 11:44:41 2002
++++ configure.in Tue Jun 4 12:09:37 2002
@@ -103,6 +103,12 @@
Usage: --with-asm-home=<path to ml.exe directory>
@@ -139,7 +139,34 @@
if test "$_os" = "Darwin"; then
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
-@@ -815,6 +887,10 @@
+@@ -589,6 +661,26 @@
+ fi
+ fi
+
++dnl *************************************************************
++dnl Testing for exception handling - dwarf2 or sjlj exceptions...
++dnl *************************************************************
++AC_MSG_CHECKING([try to compile exception code])
++AC_LANG_SAVE
++AC_LANG_CPLUSPLUS
++AC_CACHE_VAL(exceptions_type, [AC_TRY_COMPILE(
++ [#include <iostream>
++
++extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
++
++ ],
++ [__sjthrow() ],
++ [exceptions_type="sjlj"],
++ [exceptions_type="dwarf2"])
++])
++
++AC_MSG_RESULT(Exceptions type: $exceptions_type)
++AC_LANG_RESTORE
++
+ dnl **************************************************************
+ dnl Testing for required Solaris and workshop compiler patches...
+ dnl **************************************************************
+@@ -815,6 +907,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -150,7 +177,13 @@
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
-@@ -1201,7 +1277,7 @@
+@@ -1196,12 +1292,13 @@
+ echo "\$MINGWIN32="$WITH_MINGWIN
+ echo "\$with_use_shell="$with_use_shell
+ echo "\$USE_GCC3="$USE_GCC3
++echo "\$EXCEPTIONS="$exceptions_type
+ echo
+ fi
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then
diff --git a/editors/openoffice-2.0-devel/files/patch-config_office+configure.in b/editors/openoffice-2.0-devel/files/patch-config_office+configure.in
index fecb7f038d5..5c447457cd6 100644
--- a/editors/openoffice-2.0-devel/files/patch-config_office+configure.in
+++ b/editors/openoffice-2.0-devel/files/patch-config_office+configure.in
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 17 22:37:42 2002
-+++ configure.in Tue May 28 11:44:41 2002
++++ configure.in Tue Jun 4 12:09:37 2002
@@ -103,6 +103,12 @@
Usage: --with-asm-home=<path to ml.exe directory>
@@ -139,7 +139,34 @@
if test "$_os" = "Darwin"; then
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
-@@ -815,6 +887,10 @@
+@@ -589,6 +661,26 @@
+ fi
+ fi
+
++dnl *************************************************************
++dnl Testing for exception handling - dwarf2 or sjlj exceptions...
++dnl *************************************************************
++AC_MSG_CHECKING([try to compile exception code])
++AC_LANG_SAVE
++AC_LANG_CPLUSPLUS
++AC_CACHE_VAL(exceptions_type, [AC_TRY_COMPILE(
++ [#include <iostream>
++
++extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
++
++ ],
++ [__sjthrow() ],
++ [exceptions_type="sjlj"],
++ [exceptions_type="dwarf2"])
++])
++
++AC_MSG_RESULT(Exceptions type: $exceptions_type)
++AC_LANG_RESTORE
++
+ dnl **************************************************************
+ dnl Testing for required Solaris and workshop compiler patches...
+ dnl **************************************************************
+@@ -815,6 +907,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -150,7 +177,13 @@
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
-@@ -1201,7 +1277,7 @@
+@@ -1196,12 +1292,13 @@
+ echo "\$MINGWIN32="$WITH_MINGWIN
+ echo "\$with_use_shell="$with_use_shell
+ echo "\$USE_GCC3="$USE_GCC3
++echo "\$EXCEPTIONS="$exceptions_type
+ echo
+ fi
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then
diff --git a/editors/openoffice-3-devel/files/patch-config_office+configure.in b/editors/openoffice-3-devel/files/patch-config_office+configure.in
index fecb7f038d5..5c447457cd6 100644
--- a/editors/openoffice-3-devel/files/patch-config_office+configure.in
+++ b/editors/openoffice-3-devel/files/patch-config_office+configure.in
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 17 22:37:42 2002
-+++ configure.in Tue May 28 11:44:41 2002
++++ configure.in Tue Jun 4 12:09:37 2002
@@ -103,6 +103,12 @@
Usage: --with-asm-home=<path to ml.exe directory>
@@ -139,7 +139,34 @@
if test "$_os" = "Darwin"; then
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
-@@ -815,6 +887,10 @@
+@@ -589,6 +661,26 @@
+ fi
+ fi
+
++dnl *************************************************************
++dnl Testing for exception handling - dwarf2 or sjlj exceptions...
++dnl *************************************************************
++AC_MSG_CHECKING([try to compile exception code])
++AC_LANG_SAVE
++AC_LANG_CPLUSPLUS
++AC_CACHE_VAL(exceptions_type, [AC_TRY_COMPILE(
++ [#include <iostream>
++
++extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
++
++ ],
++ [__sjthrow() ],
++ [exceptions_type="sjlj"],
++ [exceptions_type="dwarf2"])
++])
++
++AC_MSG_RESULT(Exceptions type: $exceptions_type)
++AC_LANG_RESTORE
++
+ dnl **************************************************************
+ dnl Testing for required Solaris and workshop compiler patches...
+ dnl **************************************************************
+@@ -815,6 +907,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -150,7 +177,13 @@
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
-@@ -1201,7 +1277,7 @@
+@@ -1196,12 +1292,13 @@
+ echo "\$MINGWIN32="$WITH_MINGWIN
+ echo "\$with_use_shell="$with_use_shell
+ echo "\$USE_GCC3="$USE_GCC3
++echo "\$EXCEPTIONS="$exceptions_type
+ echo
+ fi
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then
diff --git a/editors/openoffice-3/files/patch-config_office+configure.in b/editors/openoffice-3/files/patch-config_office+configure.in
index fecb7f038d5..5c447457cd6 100644
--- a/editors/openoffice-3/files/patch-config_office+configure.in
+++ b/editors/openoffice-3/files/patch-config_office+configure.in
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 17 22:37:42 2002
-+++ configure.in Tue May 28 11:44:41 2002
++++ configure.in Tue Jun 4 12:09:37 2002
@@ -103,6 +103,12 @@
Usage: --with-asm-home=<path to ml.exe directory>
@@ -139,7 +139,34 @@
if test "$_os" = "Darwin"; then
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
-@@ -815,6 +887,10 @@
+@@ -589,6 +661,26 @@
+ fi
+ fi
+
++dnl *************************************************************
++dnl Testing for exception handling - dwarf2 or sjlj exceptions...
++dnl *************************************************************
++AC_MSG_CHECKING([try to compile exception code])
++AC_LANG_SAVE
++AC_LANG_CPLUSPLUS
++AC_CACHE_VAL(exceptions_type, [AC_TRY_COMPILE(
++ [#include <iostream>
++
++extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
++
++ ],
++ [__sjthrow() ],
++ [exceptions_type="sjlj"],
++ [exceptions_type="dwarf2"])
++])
++
++AC_MSG_RESULT(Exceptions type: $exceptions_type)
++AC_LANG_RESTORE
++
+ dnl **************************************************************
+ dnl Testing for required Solaris and workshop compiler patches...
+ dnl **************************************************************
+@@ -815,6 +907,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -150,7 +177,13 @@
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
-@@ -1201,7 +1277,7 @@
+@@ -1196,12 +1292,13 @@
+ echo "\$MINGWIN32="$WITH_MINGWIN
+ echo "\$with_use_shell="$with_use_shell
+ echo "\$USE_GCC3="$USE_GCC3
++echo "\$EXCEPTIONS="$exceptions_type
+ echo
+ fi
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then
diff --git a/editors/openoffice-devel/files/patch-config_office+configure.in b/editors/openoffice-devel/files/patch-config_office+configure.in
index fecb7f038d5..5c447457cd6 100644
--- a/editors/openoffice-devel/files/patch-config_office+configure.in
+++ b/editors/openoffice-devel/files/patch-config_office+configure.in
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 17 22:37:42 2002
-+++ configure.in Tue May 28 11:44:41 2002
++++ configure.in Tue Jun 4 12:09:37 2002
@@ -103,6 +103,12 @@
Usage: --with-asm-home=<path to ml.exe directory>
@@ -139,7 +139,34 @@
if test "$_os" = "Darwin"; then
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
-@@ -815,6 +887,10 @@
+@@ -589,6 +661,26 @@
+ fi
+ fi
+
++dnl *************************************************************
++dnl Testing for exception handling - dwarf2 or sjlj exceptions...
++dnl *************************************************************
++AC_MSG_CHECKING([try to compile exception code])
++AC_LANG_SAVE
++AC_LANG_CPLUSPLUS
++AC_CACHE_VAL(exceptions_type, [AC_TRY_COMPILE(
++ [#include <iostream>
++
++extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
++
++ ],
++ [__sjthrow() ],
++ [exceptions_type="sjlj"],
++ [exceptions_type="dwarf2"])
++])
++
++AC_MSG_RESULT(Exceptions type: $exceptions_type)
++AC_LANG_RESTORE
++
+ dnl **************************************************************
+ dnl Testing for required Solaris and workshop compiler patches...
+ dnl **************************************************************
+@@ -815,6 +907,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -150,7 +177,13 @@
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
-@@ -1201,7 +1277,7 @@
+@@ -1196,12 +1292,13 @@
+ echo "\$MINGWIN32="$WITH_MINGWIN
+ echo "\$with_use_shell="$with_use_shell
+ echo "\$USE_GCC3="$USE_GCC3
++echo "\$EXCEPTIONS="$exceptions_type
+ echo
+ fi
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then
diff --git a/editors/openoffice.org-1.0/files/patch-config_office+configure.in b/editors/openoffice.org-1.0/files/patch-config_office+configure.in
index fecb7f038d5..5c447457cd6 100644
--- a/editors/openoffice.org-1.0/files/patch-config_office+configure.in
+++ b/editors/openoffice.org-1.0/files/patch-config_office+configure.in
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 17 22:37:42 2002
-+++ configure.in Tue May 28 11:44:41 2002
++++ configure.in Tue Jun 4 12:09:37 2002
@@ -103,6 +103,12 @@
Usage: --with-asm-home=<path to ml.exe directory>
@@ -139,7 +139,34 @@
if test "$_os" = "Darwin"; then
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
-@@ -815,6 +887,10 @@
+@@ -589,6 +661,26 @@
+ fi
+ fi
+
++dnl *************************************************************
++dnl Testing for exception handling - dwarf2 or sjlj exceptions...
++dnl *************************************************************
++AC_MSG_CHECKING([try to compile exception code])
++AC_LANG_SAVE
++AC_LANG_CPLUSPLUS
++AC_CACHE_VAL(exceptions_type, [AC_TRY_COMPILE(
++ [#include <iostream>
++
++extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
++
++ ],
++ [__sjthrow() ],
++ [exceptions_type="sjlj"],
++ [exceptions_type="dwarf2"])
++])
++
++AC_MSG_RESULT(Exceptions type: $exceptions_type)
++AC_LANG_RESTORE
++
+ dnl **************************************************************
+ dnl Testing for required Solaris and workshop compiler patches...
+ dnl **************************************************************
+@@ -815,6 +907,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -150,7 +177,13 @@
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
-@@ -1201,7 +1277,7 @@
+@@ -1196,12 +1292,13 @@
+ echo "\$MINGWIN32="$WITH_MINGWIN
+ echo "\$with_use_shell="$with_use_shell
+ echo "\$USE_GCC3="$USE_GCC3
++echo "\$EXCEPTIONS="$exceptions_type
+ echo
+ fi
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then
diff --git a/editors/openoffice.org-1.0/files/patch-config_office+set_soenv.1 b/editors/openoffice.org-1.0/files/patch-config_office+set_soenv.1
index 4902fe51ed6..9a00fb8cc88 100644
--- a/editors/openoffice.org-1.0/files/patch-config_office+set_soenv.1
+++ b/editors/openoffice.org-1.0/files/patch-config_office+set_soenv.1
@@ -1,11 +1,11 @@
--- set_soenv.1.orig Wed Apr 17 22:41:31 2002
-+++ set_soenv.1 Wed May 29 14:17:31 2002
++++ set_soenv.1 Tue Jun 4 12:13:21 2002
@@ -40,7 +40,7 @@
#
# Set this value equal to the corresponding amount of
# command line arguments.
-my $numArgs = 20;
-+my $numArgs = 25;
++my $numArgs = 26;
# Determining the amount of arguments in the call.
my $numEnter = $#ARGV + 1;
if ( $numEnter != $numArgs )
@@ -24,11 +24,11 @@
- $DEMO_ENV, $DYNAMIC_CRT, $SET_EXCEPTIONS, $emergency, $use_shl_versions, $CDPATHx );
+ $GVER, $GVERDIR, $OSVERSION, $OS, $OUTPATH, $INPATH, $PATH_SEPERATOR, $PROSWITCH, $XPVERSION, $BOTH,
+ $DEMO_ENV, $DYNAMIC_CRT, $SET_EXCEPTIONS, $emergency, $use_shl_versions, $CDPATHx, $PTHREAD_CFLAGS,
-+ $PTHREAD_LIBS );
++ $PTHREAD_LIBS, $EXCEPTIONS );
#
#-------------------------------------------
# IIc. Declaring the environment variables.
-@@ -145,7 +146,9 @@
+@@ -145,7 +146,10 @@
$STLPORT4 = $ARGV [ 12 ]; # Location of STLport4
$MINGWIN32 = $ARGV [ 17 ]; # use MINGWIN32
$use_shell = $ARGV [ 18 ]; # preferred shell
@@ -36,10 +36,11 @@
+$USE_GCC3 = $ARGV [ 19 ]; # use gcc3 (only for unxlngi4 and unxfbsd5i at the moment)
+$CC = $ARGV [ 23 ]; # get cc from environment
+$CXX = $ARGV [ 24 ]; # use c++ from environment
++$EXCEPTIONS = $ARGV [ 25 ]; # Exception handling type
#
#---------------------------------------------------------------
# IIIb. Initialising the variables for the system commands, etc.
-@@ -316,7 +319,7 @@
+@@ -316,7 +320,7 @@
$PROSWITCH = "-DPRODUCT";
$XPVERSION = "3";
$SOLAR_JAVA = "TRUE";
@@ -48,7 +49,7 @@
}
elsif ( $platform eq "$FreeBSD" )
{ print "Setting FreeBSD specific values... ";
-@@ -326,7 +329,14 @@
+@@ -326,7 +330,14 @@
$COMPATH = $ARGV[ 0 ];
$CPU = "I";
$CPUNAME = "INTEL";
@@ -63,7 +64,7 @@
$DLLSUFFIX = "fi";
$GUI = "UNX";
$GUIBASE = "unx";
-@@ -339,6 +349,9 @@
+@@ -339,6 +350,9 @@
$PATH_SEPERATOR = $ps;
$PROSWITCH = "-DPRODUCT";
$XPVERSION = "3";
@@ -73,7 +74,7 @@
}
elsif ( $platform eq "$Linux" )
{
-@@ -934,15 +947,16 @@
+@@ -934,15 +948,16 @@
$D.$COM.
$D.$CVER.
$D.$GVER.
@@ -93,7 +94,7 @@
{ $SOLARDEF .= $D."GLIBC=".$GLIBC;
}
$SOLARDEF .= $D."SUPD=$UPD".
-@@ -1039,7 +1053,7 @@
+@@ -1039,7 +1054,7 @@
$ps.$USR.$LIB.
$ps.$USR_LOCAL.$BIN;
}
@@ -102,7 +103,7 @@
{ $PATH = $cur_dir.
$ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN.
$ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
-@@ -1058,6 +1072,22 @@
+@@ -1058,6 +1073,22 @@
$ps.$USR.$ds."X11".$BIN.
$ps.$USR.$LIB;
}
@@ -125,7 +126,7 @@
elsif ($platform eq "$Winnt")
{
my ( $noldPATH );
-@@ -1196,7 +1226,7 @@
+@@ -1196,7 +1227,7 @@
$SOLARINC .= $I.$USR.$INCLUDE;
}
$SOLARINC .= $STLPORT_stlport;
@@ -134,7 +135,7 @@
{
# This simply adds an include path, so even cases that break the FHS work
$SOLARINC .= $STLPORT_inc_stlport;
-@@ -1210,11 +1240,6 @@
+@@ -1210,11 +1241,6 @@
{ $SOLARINC .= $I.'$COMPATH'.$ds."include";
}
@@ -146,12 +147,13 @@
$SOLARINC .= $I.'$SOLARENV'.$INC.$ds."Xp31".
$I.'$JAVA_HOME'.$INCLUDE;
-@@ -1407,6 +1432,11 @@
+@@ -1407,6 +1433,12 @@
ToFile( "GUIENV", $GUIENV, "e" );
ToFile( "GVER", $GVER, "e" );
ToFile( "OS", $OS, "e" );
+ToFile( "CC", $CC, "e" );
+ToFile( "CXX", $CXX, "e" );
++ToFile( "EXCEPTIONS", $EXCEPTIONS, "e" );
+ToFile( "OSVERSION", $OSVERSION, "e" );
+ToFile( "PTHREAD_CFLAGS", $PTHREAD_CFLAGS, "e" );
+ToFile( "PTHREAD_LIBS", $PTHREAD_LIBS, "e" );
diff --git a/editors/openoffice.org-1.0/files/patch-config_office::configure.in b/editors/openoffice.org-1.0/files/patch-config_office::configure.in
index fecb7f038d5..5c447457cd6 100644
--- a/editors/openoffice.org-1.0/files/patch-config_office::configure.in
+++ b/editors/openoffice.org-1.0/files/patch-config_office::configure.in
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 17 22:37:42 2002
-+++ configure.in Tue May 28 11:44:41 2002
++++ configure.in Tue Jun 4 12:09:37 2002
@@ -103,6 +103,12 @@
Usage: --with-asm-home=<path to ml.exe directory>
@@ -139,7 +139,34 @@
if test "$_os" = "Darwin"; then
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
-@@ -815,6 +887,10 @@
+@@ -589,6 +661,26 @@
+ fi
+ fi
+
++dnl *************************************************************
++dnl Testing for exception handling - dwarf2 or sjlj exceptions...
++dnl *************************************************************
++AC_MSG_CHECKING([try to compile exception code])
++AC_LANG_SAVE
++AC_LANG_CPLUSPLUS
++AC_CACHE_VAL(exceptions_type, [AC_TRY_COMPILE(
++ [#include <iostream>
++
++extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
++
++ ],
++ [__sjthrow() ],
++ [exceptions_type="sjlj"],
++ [exceptions_type="dwarf2"])
++])
++
++AC_MSG_RESULT(Exceptions type: $exceptions_type)
++AC_LANG_RESTORE
++
+ dnl **************************************************************
+ dnl Testing for required Solaris and workshop compiler patches...
+ dnl **************************************************************
+@@ -815,6 +907,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -150,7 +177,13 @@
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
-@@ -1201,7 +1277,7 @@
+@@ -1196,12 +1292,13 @@
+ echo "\$MINGWIN32="$WITH_MINGWIN
+ echo "\$with_use_shell="$with_use_shell
+ echo "\$USE_GCC3="$USE_GCC3
++echo "\$EXCEPTIONS="$exceptions_type
+ echo
+ fi
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then
diff --git a/editors/openoffice.org-1.0/files/patch-set_soenv.1 b/editors/openoffice.org-1.0/files/patch-set_soenv.1
index 4902fe51ed6..9a00fb8cc88 100644
--- a/editors/openoffice.org-1.0/files/patch-set_soenv.1
+++ b/editors/openoffice.org-1.0/files/patch-set_soenv.1
@@ -1,11 +1,11 @@
--- set_soenv.1.orig Wed Apr 17 22:41:31 2002
-+++ set_soenv.1 Wed May 29 14:17:31 2002
++++ set_soenv.1 Tue Jun 4 12:13:21 2002
@@ -40,7 +40,7 @@
#
# Set this value equal to the corresponding amount of
# command line arguments.
-my $numArgs = 20;
-+my $numArgs = 25;
++my $numArgs = 26;
# Determining the amount of arguments in the call.
my $numEnter = $#ARGV + 1;
if ( $numEnter != $numArgs )
@@ -24,11 +24,11 @@
- $DEMO_ENV, $DYNAMIC_CRT, $SET_EXCEPTIONS, $emergency, $use_shl_versions, $CDPATHx );
+ $GVER, $GVERDIR, $OSVERSION, $OS, $OUTPATH, $INPATH, $PATH_SEPERATOR, $PROSWITCH, $XPVERSION, $BOTH,
+ $DEMO_ENV, $DYNAMIC_CRT, $SET_EXCEPTIONS, $emergency, $use_shl_versions, $CDPATHx, $PTHREAD_CFLAGS,
-+ $PTHREAD_LIBS );
++ $PTHREAD_LIBS, $EXCEPTIONS );
#
#-------------------------------------------
# IIc. Declaring the environment variables.
-@@ -145,7 +146,9 @@
+@@ -145,7 +146,10 @@
$STLPORT4 = $ARGV [ 12 ]; # Location of STLport4
$MINGWIN32 = $ARGV [ 17 ]; # use MINGWIN32
$use_shell = $ARGV [ 18 ]; # preferred shell
@@ -36,10 +36,11 @@
+$USE_GCC3 = $ARGV [ 19 ]; # use gcc3 (only for unxlngi4 and unxfbsd5i at the moment)
+$CC = $ARGV [ 23 ]; # get cc from environment
+$CXX = $ARGV [ 24 ]; # use c++ from environment
++$EXCEPTIONS = $ARGV [ 25 ]; # Exception handling type
#
#---------------------------------------------------------------
# IIIb. Initialising the variables for the system commands, etc.
-@@ -316,7 +319,7 @@
+@@ -316,7 +320,7 @@
$PROSWITCH = "-DPRODUCT";
$XPVERSION = "3";
$SOLAR_JAVA = "TRUE";
@@ -48,7 +49,7 @@
}
elsif ( $platform eq "$FreeBSD" )
{ print "Setting FreeBSD specific values... ";
-@@ -326,7 +329,14 @@
+@@ -326,7 +330,14 @@
$COMPATH = $ARGV[ 0 ];
$CPU = "I";
$CPUNAME = "INTEL";
@@ -63,7 +64,7 @@
$DLLSUFFIX = "fi";
$GUI = "UNX";
$GUIBASE = "unx";
-@@ -339,6 +349,9 @@
+@@ -339,6 +350,9 @@
$PATH_SEPERATOR = $ps;
$PROSWITCH = "-DPRODUCT";
$XPVERSION = "3";
@@ -73,7 +74,7 @@
}
elsif ( $platform eq "$Linux" )
{
-@@ -934,15 +947,16 @@
+@@ -934,15 +948,16 @@
$D.$COM.
$D.$CVER.
$D.$GVER.
@@ -93,7 +94,7 @@
{ $SOLARDEF .= $D."GLIBC=".$GLIBC;
}
$SOLARDEF .= $D."SUPD=$UPD".
-@@ -1039,7 +1053,7 @@
+@@ -1039,7 +1054,7 @@
$ps.$USR.$LIB.
$ps.$USR_LOCAL.$BIN;
}
@@ -102,7 +103,7 @@
{ $PATH = $cur_dir.
$ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN.
$ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
-@@ -1058,6 +1072,22 @@
+@@ -1058,6 +1073,22 @@
$ps.$USR.$ds."X11".$BIN.
$ps.$USR.$LIB;
}
@@ -125,7 +126,7 @@
elsif ($platform eq "$Winnt")
{
my ( $noldPATH );
-@@ -1196,7 +1226,7 @@
+@@ -1196,7 +1227,7 @@
$SOLARINC .= $I.$USR.$INCLUDE;
}
$SOLARINC .= $STLPORT_stlport;
@@ -134,7 +135,7 @@
{
# This simply adds an include path, so even cases that break the FHS work
$SOLARINC .= $STLPORT_inc_stlport;
-@@ -1210,11 +1240,6 @@
+@@ -1210,11 +1241,6 @@
{ $SOLARINC .= $I.'$COMPATH'.$ds."include";
}
@@ -146,12 +147,13 @@
$SOLARINC .= $I.'$SOLARENV'.$INC.$ds."Xp31".
$I.'$JAVA_HOME'.$INCLUDE;
-@@ -1407,6 +1432,11 @@
+@@ -1407,6 +1433,12 @@
ToFile( "GUIENV", $GUIENV, "e" );
ToFile( "GVER", $GVER, "e" );
ToFile( "OS", $OS, "e" );
+ToFile( "CC", $CC, "e" );
+ToFile( "CXX", $CXX, "e" );
++ToFile( "EXCEPTIONS", $EXCEPTIONS, "e" );
+ToFile( "OSVERSION", $OSVERSION, "e" );
+ToFile( "PTHREAD_CFLAGS", $PTHREAD_CFLAGS, "e" );
+ToFile( "PTHREAD_LIBS", $PTHREAD_LIBS, "e" );
diff --git a/editors/openoffice.org-1.1-devel/files/patch-config_office+configure.in b/editors/openoffice.org-1.1-devel/files/patch-config_office+configure.in
index fecb7f038d5..5c447457cd6 100644
--- a/editors/openoffice.org-1.1-devel/files/patch-config_office+configure.in
+++ b/editors/openoffice.org-1.1-devel/files/patch-config_office+configure.in
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 17 22:37:42 2002
-+++ configure.in Tue May 28 11:44:41 2002
++++ configure.in Tue Jun 4 12:09:37 2002
@@ -103,6 +103,12 @@
Usage: --with-asm-home=<path to ml.exe directory>
@@ -139,7 +139,34 @@
if test "$_os" = "Darwin"; then
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
-@@ -815,6 +887,10 @@
+@@ -589,6 +661,26 @@
+ fi
+ fi
+
++dnl *************************************************************
++dnl Testing for exception handling - dwarf2 or sjlj exceptions...
++dnl *************************************************************
++AC_MSG_CHECKING([try to compile exception code])
++AC_LANG_SAVE
++AC_LANG_CPLUSPLUS
++AC_CACHE_VAL(exceptions_type, [AC_TRY_COMPILE(
++ [#include <iostream>
++
++extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
++
++ ],
++ [__sjthrow() ],
++ [exceptions_type="sjlj"],
++ [exceptions_type="dwarf2"])
++])
++
++AC_MSG_RESULT(Exceptions type: $exceptions_type)
++AC_LANG_RESTORE
++
+ dnl **************************************************************
+ dnl Testing for required Solaris and workshop compiler patches...
+ dnl **************************************************************
+@@ -815,6 +907,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -150,7 +177,13 @@
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
-@@ -1201,7 +1277,7 @@
+@@ -1196,12 +1292,13 @@
+ echo "\$MINGWIN32="$WITH_MINGWIN
+ echo "\$with_use_shell="$with_use_shell
+ echo "\$USE_GCC3="$USE_GCC3
++echo "\$EXCEPTIONS="$exceptions_type
+ echo
+ fi
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then
diff --git a/editors/openoffice.org-1.1/files/patch-config_office+configure.in b/editors/openoffice.org-1.1/files/patch-config_office+configure.in
index fecb7f038d5..5c447457cd6 100644
--- a/editors/openoffice.org-1.1/files/patch-config_office+configure.in
+++ b/editors/openoffice.org-1.1/files/patch-config_office+configure.in
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 17 22:37:42 2002
-+++ configure.in Tue May 28 11:44:41 2002
++++ configure.in Tue Jun 4 12:09:37 2002
@@ -103,6 +103,12 @@
Usage: --with-asm-home=<path to ml.exe directory>
@@ -139,7 +139,34 @@
if test "$_os" = "Darwin"; then
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
-@@ -815,6 +887,10 @@
+@@ -589,6 +661,26 @@
+ fi
+ fi
+
++dnl *************************************************************
++dnl Testing for exception handling - dwarf2 or sjlj exceptions...
++dnl *************************************************************
++AC_MSG_CHECKING([try to compile exception code])
++AC_LANG_SAVE
++AC_LANG_CPLUSPLUS
++AC_CACHE_VAL(exceptions_type, [AC_TRY_COMPILE(
++ [#include <iostream>
++
++extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
++
++ ],
++ [__sjthrow() ],
++ [exceptions_type="sjlj"],
++ [exceptions_type="dwarf2"])
++])
++
++AC_MSG_RESULT(Exceptions type: $exceptions_type)
++AC_LANG_RESTORE
++
+ dnl **************************************************************
+ dnl Testing for required Solaris and workshop compiler patches...
+ dnl **************************************************************
+@@ -815,6 +907,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -150,7 +177,13 @@
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
-@@ -1201,7 +1277,7 @@
+@@ -1196,12 +1292,13 @@
+ echo "\$MINGWIN32="$WITH_MINGWIN
+ echo "\$with_use_shell="$with_use_shell
+ echo "\$USE_GCC3="$USE_GCC3
++echo "\$EXCEPTIONS="$exceptions_type
+ echo
+ fi
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then
diff --git a/editors/openoffice.org-2-RC/files/patch-config_office+configure.in b/editors/openoffice.org-2-RC/files/patch-config_office+configure.in
index fecb7f038d5..5c447457cd6 100644
--- a/editors/openoffice.org-2-RC/files/patch-config_office+configure.in
+++ b/editors/openoffice.org-2-RC/files/patch-config_office+configure.in
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 17 22:37:42 2002
-+++ configure.in Tue May 28 11:44:41 2002
++++ configure.in Tue Jun 4 12:09:37 2002
@@ -103,6 +103,12 @@
Usage: --with-asm-home=<path to ml.exe directory>
@@ -139,7 +139,34 @@
if test "$_os" = "Darwin"; then
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
-@@ -815,6 +887,10 @@
+@@ -589,6 +661,26 @@
+ fi
+ fi
+
++dnl *************************************************************
++dnl Testing for exception handling - dwarf2 or sjlj exceptions...
++dnl *************************************************************
++AC_MSG_CHECKING([try to compile exception code])
++AC_LANG_SAVE
++AC_LANG_CPLUSPLUS
++AC_CACHE_VAL(exceptions_type, [AC_TRY_COMPILE(
++ [#include <iostream>
++
++extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
++
++ ],
++ [__sjthrow() ],
++ [exceptions_type="sjlj"],
++ [exceptions_type="dwarf2"])
++])
++
++AC_MSG_RESULT(Exceptions type: $exceptions_type)
++AC_LANG_RESTORE
++
+ dnl **************************************************************
+ dnl Testing for required Solaris and workshop compiler patches...
+ dnl **************************************************************
+@@ -815,6 +907,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -150,7 +177,13 @@
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
-@@ -1201,7 +1277,7 @@
+@@ -1196,12 +1292,13 @@
+ echo "\$MINGWIN32="$WITH_MINGWIN
+ echo "\$with_use_shell="$with_use_shell
+ echo "\$USE_GCC3="$USE_GCC3
++echo "\$EXCEPTIONS="$exceptions_type
+ echo
+ fi
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then
diff --git a/editors/openoffice.org-2-devel/files/patch-config_office+configure.in b/editors/openoffice.org-2-devel/files/patch-config_office+configure.in
index fecb7f038d5..5c447457cd6 100644
--- a/editors/openoffice.org-2-devel/files/patch-config_office+configure.in
+++ b/editors/openoffice.org-2-devel/files/patch-config_office+configure.in
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 17 22:37:42 2002
-+++ configure.in Tue May 28 11:44:41 2002
++++ configure.in Tue Jun 4 12:09:37 2002
@@ -103,6 +103,12 @@
Usage: --with-asm-home=<path to ml.exe directory>
@@ -139,7 +139,34 @@
if test "$_os" = "Darwin"; then
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
-@@ -815,6 +887,10 @@
+@@ -589,6 +661,26 @@
+ fi
+ fi
+
++dnl *************************************************************
++dnl Testing for exception handling - dwarf2 or sjlj exceptions...
++dnl *************************************************************
++AC_MSG_CHECKING([try to compile exception code])
++AC_LANG_SAVE
++AC_LANG_CPLUSPLUS
++AC_CACHE_VAL(exceptions_type, [AC_TRY_COMPILE(
++ [#include <iostream>
++
++extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
++
++ ],
++ [__sjthrow() ],
++ [exceptions_type="sjlj"],
++ [exceptions_type="dwarf2"])
++])
++
++AC_MSG_RESULT(Exceptions type: $exceptions_type)
++AC_LANG_RESTORE
++
+ dnl **************************************************************
+ dnl Testing for required Solaris and workshop compiler patches...
+ dnl **************************************************************
+@@ -815,6 +907,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -150,7 +177,13 @@
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
-@@ -1201,7 +1277,7 @@
+@@ -1196,12 +1292,13 @@
+ echo "\$MINGWIN32="$WITH_MINGWIN
+ echo "\$with_use_shell="$with_use_shell
+ echo "\$USE_GCC3="$USE_GCC3
++echo "\$EXCEPTIONS="$exceptions_type
+ echo
+ fi
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then
diff --git a/editors/openoffice.org-2.0-devel/files/patch-config_office+configure.in b/editors/openoffice.org-2.0-devel/files/patch-config_office+configure.in
index fecb7f038d5..5c447457cd6 100644
--- a/editors/openoffice.org-2.0-devel/files/patch-config_office+configure.in
+++ b/editors/openoffice.org-2.0-devel/files/patch-config_office+configure.in
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 17 22:37:42 2002
-+++ configure.in Tue May 28 11:44:41 2002
++++ configure.in Tue Jun 4 12:09:37 2002
@@ -103,6 +103,12 @@
Usage: --with-asm-home=<path to ml.exe directory>
@@ -139,7 +139,34 @@
if test "$_os" = "Darwin"; then
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
-@@ -815,6 +887,10 @@
+@@ -589,6 +661,26 @@
+ fi
+ fi
+
++dnl *************************************************************
++dnl Testing for exception handling - dwarf2 or sjlj exceptions...
++dnl *************************************************************
++AC_MSG_CHECKING([try to compile exception code])
++AC_LANG_SAVE
++AC_LANG_CPLUSPLUS
++AC_CACHE_VAL(exceptions_type, [AC_TRY_COMPILE(
++ [#include <iostream>
++
++extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
++
++ ],
++ [__sjthrow() ],
++ [exceptions_type="sjlj"],
++ [exceptions_type="dwarf2"])
++])
++
++AC_MSG_RESULT(Exceptions type: $exceptions_type)
++AC_LANG_RESTORE
++
+ dnl **************************************************************
+ dnl Testing for required Solaris and workshop compiler patches...
+ dnl **************************************************************
+@@ -815,6 +907,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -150,7 +177,13 @@
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
-@@ -1201,7 +1277,7 @@
+@@ -1196,12 +1292,13 @@
+ echo "\$MINGWIN32="$WITH_MINGWIN
+ echo "\$with_use_shell="$with_use_shell
+ echo "\$USE_GCC3="$USE_GCC3
++echo "\$EXCEPTIONS="$exceptions_type
+ echo
+ fi
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then
diff --git a/editors/openoffice.org-2.0/files/patch-config_office+configure.in b/editors/openoffice.org-2.0/files/patch-config_office+configure.in
index fecb7f038d5..5c447457cd6 100644
--- a/editors/openoffice.org-2.0/files/patch-config_office+configure.in
+++ b/editors/openoffice.org-2.0/files/patch-config_office+configure.in
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 17 22:37:42 2002
-+++ configure.in Tue May 28 11:44:41 2002
++++ configure.in Tue Jun 4 12:09:37 2002
@@ -103,6 +103,12 @@
Usage: --with-asm-home=<path to ml.exe directory>
@@ -139,7 +139,34 @@
if test "$_os" = "Darwin"; then
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
-@@ -815,6 +887,10 @@
+@@ -589,6 +661,26 @@
+ fi
+ fi
+
++dnl *************************************************************
++dnl Testing for exception handling - dwarf2 or sjlj exceptions...
++dnl *************************************************************
++AC_MSG_CHECKING([try to compile exception code])
++AC_LANG_SAVE
++AC_LANG_CPLUSPLUS
++AC_CACHE_VAL(exceptions_type, [AC_TRY_COMPILE(
++ [#include <iostream>
++
++extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
++
++ ],
++ [__sjthrow() ],
++ [exceptions_type="sjlj"],
++ [exceptions_type="dwarf2"])
++])
++
++AC_MSG_RESULT(Exceptions type: $exceptions_type)
++AC_LANG_RESTORE
++
+ dnl **************************************************************
+ dnl Testing for required Solaris and workshop compiler patches...
+ dnl **************************************************************
+@@ -815,6 +907,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -150,7 +177,13 @@
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
-@@ -1201,7 +1277,7 @@
+@@ -1196,12 +1292,13 @@
+ echo "\$MINGWIN32="$WITH_MINGWIN
+ echo "\$with_use_shell="$with_use_shell
+ echo "\$USE_GCC3="$USE_GCC3
++echo "\$EXCEPTIONS="$exceptions_type
+ echo
+ fi
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then
diff --git a/editors/openoffice.org-2/files/patch-config_office+configure.in b/editors/openoffice.org-2/files/patch-config_office+configure.in
index fecb7f038d5..5c447457cd6 100644
--- a/editors/openoffice.org-2/files/patch-config_office+configure.in
+++ b/editors/openoffice.org-2/files/patch-config_office+configure.in
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 17 22:37:42 2002
-+++ configure.in Tue May 28 11:44:41 2002
++++ configure.in Tue Jun 4 12:09:37 2002
@@ -103,6 +103,12 @@
Usage: --with-asm-home=<path to ml.exe directory>
@@ -139,7 +139,34 @@
if test "$_os" = "Darwin"; then
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
-@@ -815,6 +887,10 @@
+@@ -589,6 +661,26 @@
+ fi
+ fi
+
++dnl *************************************************************
++dnl Testing for exception handling - dwarf2 or sjlj exceptions...
++dnl *************************************************************
++AC_MSG_CHECKING([try to compile exception code])
++AC_LANG_SAVE
++AC_LANG_CPLUSPLUS
++AC_CACHE_VAL(exceptions_type, [AC_TRY_COMPILE(
++ [#include <iostream>
++
++extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
++
++ ],
++ [__sjthrow() ],
++ [exceptions_type="sjlj"],
++ [exceptions_type="dwarf2"])
++])
++
++AC_MSG_RESULT(Exceptions type: $exceptions_type)
++AC_LANG_RESTORE
++
+ dnl **************************************************************
+ dnl Testing for required Solaris and workshop compiler patches...
+ dnl **************************************************************
+@@ -815,6 +907,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -150,7 +177,13 @@
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
-@@ -1201,7 +1277,7 @@
+@@ -1196,12 +1292,13 @@
+ echo "\$MINGWIN32="$WITH_MINGWIN
+ echo "\$with_use_shell="$with_use_shell
+ echo "\$USE_GCC3="$USE_GCC3
++echo "\$EXCEPTIONS="$exceptions_type
+ echo
+ fi
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then
diff --git a/editors/openoffice.org-3-RC/files/patch-config_office+configure.in b/editors/openoffice.org-3-RC/files/patch-config_office+configure.in
index fecb7f038d5..5c447457cd6 100644
--- a/editors/openoffice.org-3-RC/files/patch-config_office+configure.in
+++ b/editors/openoffice.org-3-RC/files/patch-config_office+configure.in
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 17 22:37:42 2002
-+++ configure.in Tue May 28 11:44:41 2002
++++ configure.in Tue Jun 4 12:09:37 2002
@@ -103,6 +103,12 @@
Usage: --with-asm-home=<path to ml.exe directory>
@@ -139,7 +139,34 @@
if test "$_os" = "Darwin"; then
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
-@@ -815,6 +887,10 @@
+@@ -589,6 +661,26 @@
+ fi
+ fi
+
++dnl *************************************************************
++dnl Testing for exception handling - dwarf2 or sjlj exceptions...
++dnl *************************************************************
++AC_MSG_CHECKING([try to compile exception code])
++AC_LANG_SAVE
++AC_LANG_CPLUSPLUS
++AC_CACHE_VAL(exceptions_type, [AC_TRY_COMPILE(
++ [#include <iostream>
++
++extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
++
++ ],
++ [__sjthrow() ],
++ [exceptions_type="sjlj"],
++ [exceptions_type="dwarf2"])
++])
++
++AC_MSG_RESULT(Exceptions type: $exceptions_type)
++AC_LANG_RESTORE
++
+ dnl **************************************************************
+ dnl Testing for required Solaris and workshop compiler patches...
+ dnl **************************************************************
+@@ -815,6 +907,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -150,7 +177,13 @@
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
-@@ -1201,7 +1277,7 @@
+@@ -1196,12 +1292,13 @@
+ echo "\$MINGWIN32="$WITH_MINGWIN
+ echo "\$with_use_shell="$with_use_shell
+ echo "\$USE_GCC3="$USE_GCC3
++echo "\$EXCEPTIONS="$exceptions_type
+ echo
+ fi
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then
diff --git a/editors/openoffice.org-3-devel/files/patch-config_office+configure.in b/editors/openoffice.org-3-devel/files/patch-config_office+configure.in
index fecb7f038d5..5c447457cd6 100644
--- a/editors/openoffice.org-3-devel/files/patch-config_office+configure.in
+++ b/editors/openoffice.org-3-devel/files/patch-config_office+configure.in
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 17 22:37:42 2002
-+++ configure.in Tue May 28 11:44:41 2002
++++ configure.in Tue Jun 4 12:09:37 2002
@@ -103,6 +103,12 @@
Usage: --with-asm-home=<path to ml.exe directory>
@@ -139,7 +139,34 @@
if test "$_os" = "Darwin"; then
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
-@@ -815,6 +887,10 @@
+@@ -589,6 +661,26 @@
+ fi
+ fi
+
++dnl *************************************************************
++dnl Testing for exception handling - dwarf2 or sjlj exceptions...
++dnl *************************************************************
++AC_MSG_CHECKING([try to compile exception code])
++AC_LANG_SAVE
++AC_LANG_CPLUSPLUS
++AC_CACHE_VAL(exceptions_type, [AC_TRY_COMPILE(
++ [#include <iostream>
++
++extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
++
++ ],
++ [__sjthrow() ],
++ [exceptions_type="sjlj"],
++ [exceptions_type="dwarf2"])
++])
++
++AC_MSG_RESULT(Exceptions type: $exceptions_type)
++AC_LANG_RESTORE
++
+ dnl **************************************************************
+ dnl Testing for required Solaris and workshop compiler patches...
+ dnl **************************************************************
+@@ -815,6 +907,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -150,7 +177,13 @@
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
-@@ -1201,7 +1277,7 @@
+@@ -1196,12 +1292,13 @@
+ echo "\$MINGWIN32="$WITH_MINGWIN
+ echo "\$with_use_shell="$with_use_shell
+ echo "\$USE_GCC3="$USE_GCC3
++echo "\$EXCEPTIONS="$exceptions_type
+ echo
+ fi
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then
diff --git a/editors/openoffice.org-3/files/patch-config_office+configure.in b/editors/openoffice.org-3/files/patch-config_office+configure.in
index fecb7f038d5..5c447457cd6 100644
--- a/editors/openoffice.org-3/files/patch-config_office+configure.in
+++ b/editors/openoffice.org-3/files/patch-config_office+configure.in
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 17 22:37:42 2002
-+++ configure.in Tue May 28 11:44:41 2002
++++ configure.in Tue Jun 4 12:09:37 2002
@@ -103,6 +103,12 @@
Usage: --with-asm-home=<path to ml.exe directory>
@@ -139,7 +139,34 @@
if test "$_os" = "Darwin"; then
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
-@@ -815,6 +887,10 @@
+@@ -589,6 +661,26 @@
+ fi
+ fi
+
++dnl *************************************************************
++dnl Testing for exception handling - dwarf2 or sjlj exceptions...
++dnl *************************************************************
++AC_MSG_CHECKING([try to compile exception code])
++AC_LANG_SAVE
++AC_LANG_CPLUSPLUS
++AC_CACHE_VAL(exceptions_type, [AC_TRY_COMPILE(
++ [#include <iostream>
++
++extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
++
++ ],
++ [__sjthrow() ],
++ [exceptions_type="sjlj"],
++ [exceptions_type="dwarf2"])
++])
++
++AC_MSG_RESULT(Exceptions type: $exceptions_type)
++AC_LANG_RESTORE
++
+ dnl **************************************************************
+ dnl Testing for required Solaris and workshop compiler patches...
+ dnl **************************************************************
+@@ -815,6 +907,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -150,7 +177,13 @@
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
-@@ -1201,7 +1277,7 @@
+@@ -1196,12 +1292,13 @@
+ echo "\$MINGWIN32="$WITH_MINGWIN
+ echo "\$with_use_shell="$with_use_shell
+ echo "\$USE_GCC3="$USE_GCC3
++echo "\$EXCEPTIONS="$exceptions_type
+ echo
+ fi
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then
diff --git a/editors/openoffice.org-vcltesttool/files/patch-config_office+configure.in b/editors/openoffice.org-vcltesttool/files/patch-config_office+configure.in
index fecb7f038d5..5c447457cd6 100644
--- a/editors/openoffice.org-vcltesttool/files/patch-config_office+configure.in
+++ b/editors/openoffice.org-vcltesttool/files/patch-config_office+configure.in
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 17 22:37:42 2002
-+++ configure.in Tue May 28 11:44:41 2002
++++ configure.in Tue Jun 4 12:09:37 2002
@@ -103,6 +103,12 @@
Usage: --with-asm-home=<path to ml.exe directory>
@@ -139,7 +139,34 @@
if test "$_os" = "Darwin"; then
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
-@@ -815,6 +887,10 @@
+@@ -589,6 +661,26 @@
+ fi
+ fi
+
++dnl *************************************************************
++dnl Testing for exception handling - dwarf2 or sjlj exceptions...
++dnl *************************************************************
++AC_MSG_CHECKING([try to compile exception code])
++AC_LANG_SAVE
++AC_LANG_CPLUSPLUS
++AC_CACHE_VAL(exceptions_type, [AC_TRY_COMPILE(
++ [#include <iostream>
++
++extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
++
++ ],
++ [__sjthrow() ],
++ [exceptions_type="sjlj"],
++ [exceptions_type="dwarf2"])
++])
++
++AC_MSG_RESULT(Exceptions type: $exceptions_type)
++AC_LANG_RESTORE
++
+ dnl **************************************************************
+ dnl Testing for required Solaris and workshop compiler patches...
+ dnl **************************************************************
+@@ -815,6 +907,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -150,7 +177,13 @@
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
-@@ -1201,7 +1277,7 @@
+@@ -1196,12 +1292,13 @@
+ echo "\$MINGWIN32="$WITH_MINGWIN
+ echo "\$with_use_shell="$with_use_shell
+ echo "\$USE_GCC3="$USE_GCC3
++echo "\$EXCEPTIONS="$exceptions_type
+ echo
+ fi
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then
diff --git a/editors/openoffice/files/patch-config_office+configure.in b/editors/openoffice/files/patch-config_office+configure.in
index fecb7f038d5..5c447457cd6 100644
--- a/editors/openoffice/files/patch-config_office+configure.in
+++ b/editors/openoffice/files/patch-config_office+configure.in
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 17 22:37:42 2002
-+++ configure.in Tue May 28 11:44:41 2002
++++ configure.in Tue Jun 4 12:09:37 2002
@@ -103,6 +103,12 @@
Usage: --with-asm-home=<path to ml.exe directory>
@@ -139,7 +139,34 @@
if test "$_os" = "Darwin"; then
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
-@@ -815,6 +887,10 @@
+@@ -589,6 +661,26 @@
+ fi
+ fi
+
++dnl *************************************************************
++dnl Testing for exception handling - dwarf2 or sjlj exceptions...
++dnl *************************************************************
++AC_MSG_CHECKING([try to compile exception code])
++AC_LANG_SAVE
++AC_LANG_CPLUSPLUS
++AC_CACHE_VAL(exceptions_type, [AC_TRY_COMPILE(
++ [#include <iostream>
++
++extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
++
++ ],
++ [__sjthrow() ],
++ [exceptions_type="sjlj"],
++ [exceptions_type="dwarf2"])
++])
++
++AC_MSG_RESULT(Exceptions type: $exceptions_type)
++AC_LANG_RESTORE
++
+ dnl **************************************************************
+ dnl Testing for required Solaris and workshop compiler patches...
+ dnl **************************************************************
+@@ -815,6 +907,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -150,7 +177,13 @@
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
-@@ -1201,7 +1277,7 @@
+@@ -1196,12 +1292,13 @@
+ echo "\$MINGWIN32="$WITH_MINGWIN
+ echo "\$with_use_shell="$with_use_shell
+ echo "\$USE_GCC3="$USE_GCC3
++echo "\$EXCEPTIONS="$exceptions_type
+ echo
+ fi
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then
diff --git a/editors/openoffice/files/patch-config_office+set_soenv.1 b/editors/openoffice/files/patch-config_office+set_soenv.1
index 4902fe51ed6..9a00fb8cc88 100644
--- a/editors/openoffice/files/patch-config_office+set_soenv.1
+++ b/editors/openoffice/files/patch-config_office+set_soenv.1
@@ -1,11 +1,11 @@
--- set_soenv.1.orig Wed Apr 17 22:41:31 2002
-+++ set_soenv.1 Wed May 29 14:17:31 2002
++++ set_soenv.1 Tue Jun 4 12:13:21 2002
@@ -40,7 +40,7 @@
#
# Set this value equal to the corresponding amount of
# command line arguments.
-my $numArgs = 20;
-+my $numArgs = 25;
++my $numArgs = 26;
# Determining the amount of arguments in the call.
my $numEnter = $#ARGV + 1;
if ( $numEnter != $numArgs )
@@ -24,11 +24,11 @@
- $DEMO_ENV, $DYNAMIC_CRT, $SET_EXCEPTIONS, $emergency, $use_shl_versions, $CDPATHx );
+ $GVER, $GVERDIR, $OSVERSION, $OS, $OUTPATH, $INPATH, $PATH_SEPERATOR, $PROSWITCH, $XPVERSION, $BOTH,
+ $DEMO_ENV, $DYNAMIC_CRT, $SET_EXCEPTIONS, $emergency, $use_shl_versions, $CDPATHx, $PTHREAD_CFLAGS,
-+ $PTHREAD_LIBS );
++ $PTHREAD_LIBS, $EXCEPTIONS );
#
#-------------------------------------------
# IIc. Declaring the environment variables.
-@@ -145,7 +146,9 @@
+@@ -145,7 +146,10 @@
$STLPORT4 = $ARGV [ 12 ]; # Location of STLport4
$MINGWIN32 = $ARGV [ 17 ]; # use MINGWIN32
$use_shell = $ARGV [ 18 ]; # preferred shell
@@ -36,10 +36,11 @@
+$USE_GCC3 = $ARGV [ 19 ]; # use gcc3 (only for unxlngi4 and unxfbsd5i at the moment)
+$CC = $ARGV [ 23 ]; # get cc from environment
+$CXX = $ARGV [ 24 ]; # use c++ from environment
++$EXCEPTIONS = $ARGV [ 25 ]; # Exception handling type
#
#---------------------------------------------------------------
# IIIb. Initialising the variables for the system commands, etc.
-@@ -316,7 +319,7 @@
+@@ -316,7 +320,7 @@
$PROSWITCH = "-DPRODUCT";
$XPVERSION = "3";
$SOLAR_JAVA = "TRUE";
@@ -48,7 +49,7 @@
}
elsif ( $platform eq "$FreeBSD" )
{ print "Setting FreeBSD specific values... ";
-@@ -326,7 +329,14 @@
+@@ -326,7 +330,14 @@
$COMPATH = $ARGV[ 0 ];
$CPU = "I";
$CPUNAME = "INTEL";
@@ -63,7 +64,7 @@
$DLLSUFFIX = "fi";
$GUI = "UNX";
$GUIBASE = "unx";
-@@ -339,6 +349,9 @@
+@@ -339,6 +350,9 @@
$PATH_SEPERATOR = $ps;
$PROSWITCH = "-DPRODUCT";
$XPVERSION = "3";
@@ -73,7 +74,7 @@
}
elsif ( $platform eq "$Linux" )
{
-@@ -934,15 +947,16 @@
+@@ -934,15 +948,16 @@
$D.$COM.
$D.$CVER.
$D.$GVER.
@@ -93,7 +94,7 @@
{ $SOLARDEF .= $D."GLIBC=".$GLIBC;
}
$SOLARDEF .= $D."SUPD=$UPD".
-@@ -1039,7 +1053,7 @@
+@@ -1039,7 +1054,7 @@
$ps.$USR.$LIB.
$ps.$USR_LOCAL.$BIN;
}
@@ -102,7 +103,7 @@
{ $PATH = $cur_dir.
$ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN.
$ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
-@@ -1058,6 +1072,22 @@
+@@ -1058,6 +1073,22 @@
$ps.$USR.$ds."X11".$BIN.
$ps.$USR.$LIB;
}
@@ -125,7 +126,7 @@
elsif ($platform eq "$Winnt")
{
my ( $noldPATH );
-@@ -1196,7 +1226,7 @@
+@@ -1196,7 +1227,7 @@
$SOLARINC .= $I.$USR.$INCLUDE;
}
$SOLARINC .= $STLPORT_stlport;
@@ -134,7 +135,7 @@
{
# This simply adds an include path, so even cases that break the FHS work
$SOLARINC .= $STLPORT_inc_stlport;
-@@ -1210,11 +1240,6 @@
+@@ -1210,11 +1241,6 @@
{ $SOLARINC .= $I.'$COMPATH'.$ds."include";
}
@@ -146,12 +147,13 @@
$SOLARINC .= $I.'$SOLARENV'.$INC.$ds."Xp31".
$I.'$JAVA_HOME'.$INCLUDE;
-@@ -1407,6 +1432,11 @@
+@@ -1407,6 +1433,12 @@
ToFile( "GUIENV", $GUIENV, "e" );
ToFile( "GVER", $GVER, "e" );
ToFile( "OS", $OS, "e" );
+ToFile( "CC", $CC, "e" );
+ToFile( "CXX", $CXX, "e" );
++ToFile( "EXCEPTIONS", $EXCEPTIONS, "e" );
+ToFile( "OSVERSION", $OSVERSION, "e" );
+ToFile( "PTHREAD_CFLAGS", $PTHREAD_CFLAGS, "e" );
+ToFile( "PTHREAD_LIBS", $PTHREAD_LIBS, "e" );
diff --git a/editors/openoffice/files/patch-config_office::configure.in b/editors/openoffice/files/patch-config_office::configure.in
index fecb7f038d5..5c447457cd6 100644
--- a/editors/openoffice/files/patch-config_office::configure.in
+++ b/editors/openoffice/files/patch-config_office::configure.in
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 17 22:37:42 2002
-+++ configure.in Tue May 28 11:44:41 2002
++++ configure.in Tue Jun 4 12:09:37 2002
@@ -103,6 +103,12 @@
Usage: --with-asm-home=<path to ml.exe directory>
@@ -139,7 +139,34 @@
if test "$_os" = "Darwin"; then
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
-@@ -815,6 +887,10 @@
+@@ -589,6 +661,26 @@
+ fi
+ fi
+
++dnl *************************************************************
++dnl Testing for exception handling - dwarf2 or sjlj exceptions...
++dnl *************************************************************
++AC_MSG_CHECKING([try to compile exception code])
++AC_LANG_SAVE
++AC_LANG_CPLUSPLUS
++AC_CACHE_VAL(exceptions_type, [AC_TRY_COMPILE(
++ [#include <iostream>
++
++extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
++
++ ],
++ [__sjthrow() ],
++ [exceptions_type="sjlj"],
++ [exceptions_type="dwarf2"])
++])
++
++AC_MSG_RESULT(Exceptions type: $exceptions_type)
++AC_LANG_RESTORE
++
+ dnl **************************************************************
+ dnl Testing for required Solaris and workshop compiler patches...
+ dnl **************************************************************
+@@ -815,6 +907,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -150,7 +177,13 @@
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
-@@ -1201,7 +1277,7 @@
+@@ -1196,12 +1292,13 @@
+ echo "\$MINGWIN32="$WITH_MINGWIN
+ echo "\$with_use_shell="$with_use_shell
+ echo "\$USE_GCC3="$USE_GCC3
++echo "\$EXCEPTIONS="$exceptions_type
+ echo
+ fi
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then
diff --git a/editors/openoffice/files/patch-set_soenv.1 b/editors/openoffice/files/patch-set_soenv.1
index 4902fe51ed6..9a00fb8cc88 100644
--- a/editors/openoffice/files/patch-set_soenv.1
+++ b/editors/openoffice/files/patch-set_soenv.1
@@ -1,11 +1,11 @@
--- set_soenv.1.orig Wed Apr 17 22:41:31 2002
-+++ set_soenv.1 Wed May 29 14:17:31 2002
++++ set_soenv.1 Tue Jun 4 12:13:21 2002
@@ -40,7 +40,7 @@
#
# Set this value equal to the corresponding amount of
# command line arguments.
-my $numArgs = 20;
-+my $numArgs = 25;
++my $numArgs = 26;
# Determining the amount of arguments in the call.
my $numEnter = $#ARGV + 1;
if ( $numEnter != $numArgs )
@@ -24,11 +24,11 @@
- $DEMO_ENV, $DYNAMIC_CRT, $SET_EXCEPTIONS, $emergency, $use_shl_versions, $CDPATHx );
+ $GVER, $GVERDIR, $OSVERSION, $OS, $OUTPATH, $INPATH, $PATH_SEPERATOR, $PROSWITCH, $XPVERSION, $BOTH,
+ $DEMO_ENV, $DYNAMIC_CRT, $SET_EXCEPTIONS, $emergency, $use_shl_versions, $CDPATHx, $PTHREAD_CFLAGS,
-+ $PTHREAD_LIBS );
++ $PTHREAD_LIBS, $EXCEPTIONS );
#
#-------------------------------------------
# IIc. Declaring the environment variables.
-@@ -145,7 +146,9 @@
+@@ -145,7 +146,10 @@
$STLPORT4 = $ARGV [ 12 ]; # Location of STLport4
$MINGWIN32 = $ARGV [ 17 ]; # use MINGWIN32
$use_shell = $ARGV [ 18 ]; # preferred shell
@@ -36,10 +36,11 @@
+$USE_GCC3 = $ARGV [ 19 ]; # use gcc3 (only for unxlngi4 and unxfbsd5i at the moment)
+$CC = $ARGV [ 23 ]; # get cc from environment
+$CXX = $ARGV [ 24 ]; # use c++ from environment
++$EXCEPTIONS = $ARGV [ 25 ]; # Exception handling type
#
#---------------------------------------------------------------
# IIIb. Initialising the variables for the system commands, etc.
-@@ -316,7 +319,7 @@
+@@ -316,7 +320,7 @@
$PROSWITCH = "-DPRODUCT";
$XPVERSION = "3";
$SOLAR_JAVA = "TRUE";
@@ -48,7 +49,7 @@
}
elsif ( $platform eq "$FreeBSD" )
{ print "Setting FreeBSD specific values... ";
-@@ -326,7 +329,14 @@
+@@ -326,7 +330,14 @@
$COMPATH = $ARGV[ 0 ];
$CPU = "I";
$CPUNAME = "INTEL";
@@ -63,7 +64,7 @@
$DLLSUFFIX = "fi";
$GUI = "UNX";
$GUIBASE = "unx";
-@@ -339,6 +349,9 @@
+@@ -339,6 +350,9 @@
$PATH_SEPERATOR = $ps;
$PROSWITCH = "-DPRODUCT";
$XPVERSION = "3";
@@ -73,7 +74,7 @@
}
elsif ( $platform eq "$Linux" )
{
-@@ -934,15 +947,16 @@
+@@ -934,15 +948,16 @@
$D.$COM.
$D.$CVER.
$D.$GVER.
@@ -93,7 +94,7 @@
{ $SOLARDEF .= $D."GLIBC=".$GLIBC;
}
$SOLARDEF .= $D."SUPD=$UPD".
-@@ -1039,7 +1053,7 @@
+@@ -1039,7 +1054,7 @@
$ps.$USR.$LIB.
$ps.$USR_LOCAL.$BIN;
}
@@ -102,7 +103,7 @@
{ $PATH = $cur_dir.
$ps.'$SOLARVER'.$ds.'$UPD'.$ds.'$INPATH'.$BIN.
$ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
-@@ -1058,6 +1072,22 @@
+@@ -1058,6 +1073,22 @@
$ps.$USR.$ds."X11".$BIN.
$ps.$USR.$LIB;
}
@@ -125,7 +126,7 @@
elsif ($platform eq "$Winnt")
{
my ( $noldPATH );
-@@ -1196,7 +1226,7 @@
+@@ -1196,7 +1227,7 @@
$SOLARINC .= $I.$USR.$INCLUDE;
}
$SOLARINC .= $STLPORT_stlport;
@@ -134,7 +135,7 @@
{
# This simply adds an include path, so even cases that break the FHS work
$SOLARINC .= $STLPORT_inc_stlport;
-@@ -1210,11 +1240,6 @@
+@@ -1210,11 +1241,6 @@
{ $SOLARINC .= $I.'$COMPATH'.$ds."include";
}
@@ -146,12 +147,13 @@
$SOLARINC .= $I.'$SOLARENV'.$INC.$ds."Xp31".
$I.'$JAVA_HOME'.$INCLUDE;
-@@ -1407,6 +1432,11 @@
+@@ -1407,6 +1433,12 @@
ToFile( "GUIENV", $GUIENV, "e" );
ToFile( "GVER", $GVER, "e" );
ToFile( "OS", $OS, "e" );
+ToFile( "CC", $CC, "e" );
+ToFile( "CXX", $CXX, "e" );
++ToFile( "EXCEPTIONS", $EXCEPTIONS, "e" );
+ToFile( "OSVERSION", $OSVERSION, "e" );
+ToFile( "PTHREAD_CFLAGS", $PTHREAD_CFLAGS, "e" );
+ToFile( "PTHREAD_LIBS", $PTHREAD_LIBS, "e" );