aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice-devel
diff options
context:
space:
mode:
authorDon Lewis <truckman@FreeBSD.org>2015-10-08 01:09:38 +0000
committerDon Lewis <truckman@FreeBSD.org>2015-10-08 01:09:38 +0000
commit6042604622579e8a928d5c231aebce3710556045 (patch)
tree4f86bb685d04707ac4ea40e1f60f138937678b9f /editors/openoffice-devel
parenta25792348d7ee4de53e5f0c2dd0ceaf3de4aefc4 (diff)
downloadports-6042604622579e8a928d5c231aebce3710556045.tar.gz
ports-6042604622579e8a928d5c231aebce3710556045.zip
Notes
Diffstat (limited to 'editors/openoffice-devel')
-rw-r--r--editors/openoffice-devel/Makefile19
-rw-r--r--editors/openoffice-devel/distinfo4
-rw-r--r--editors/openoffice-devel/files/patch-i114430-41x73
3 files changed, 82 insertions, 14 deletions
diff --git a/editors/openoffice-devel/Makefile b/editors/openoffice-devel/Makefile
index f4e5e535f0ea..0df2e403d829 100644
--- a/editors/openoffice-devel/Makefile
+++ b/editors/openoffice-devel/Makefile
@@ -4,9 +4,9 @@
PORTNAME= apache-openoffice
PORTVERSION= ${AOOVERSION1}.${AOOVERSION2}.${SVNREVISION}
PORTREVISION= 1
-PORTEPOCH= 3
+PORTEPOCH= 4
CATEGORIES= editors java
-MASTER_SITES= http://ci.apache.org/projects/openoffice/milestones/${AOOVERSION}-${AOORC}-r${SVNREVISION}/source/ \
+MASTER_SITES= https://dist.apache.org/repos/dist/dev/openoffice/${AOOVERSION}-${AOORC}-r1705606/source/ \
http://tools.openoffice.org/unowinreg_prebuild/680/:unoreg \
LOCAL/truckman/openoffice:snap,extsrc
.if defined(LANG_PKGNAME)
@@ -98,12 +98,12 @@ RUN_DEPENDS= \
${LOCALBASE}/share/fonts/ChromeOS/Arimo-Bold.ttf:${PORTSDIR}/x11-fonts/croscorefonts-fonts-ttf
AOOVERSION1= 4
-AOOVERSION2= 2
-AOOVERSION3= 0
+AOOVERSION2= 1
+AOOVERSION3= 2
# From solenv/inc/minor.mk SOURCEREVISION LAST_MINOR BUILD
-AOOTAG= AOO420m1\(Build:9800\)
-SVNREVISION= 1704217
-#AOORC=rc3
+AOOTAG= AOO412m1\(Build:9780\)
+SVNREVISION= 1705575
+AOORC=rc1
EXTSRC= ApacheOpenOffice.ext_sources.${AOOVERSION1}.x.x.20150707.tar.gz
AOOVERSION= ${AOOVERSION1}.${AOOVERSION2}.${AOOVERSION3}
@@ -261,7 +261,6 @@ CONFIGURE_ARGS+= \
--with-system-sane \
--with-system-serf \
--with-system-stdlibs \
- --enable-symbols=small \
--without-stlport \
--with-vendor="FreeBSD ports system" \
--enable-verbose \
@@ -413,10 +412,6 @@ do-install:
cd ${WRKSRC}/solver/${AOOXXX}/unxfbsd?.pro/bin/ ; \
${INSTALL_DATA} ${AOOEXTENSIONS} \
${STAGEDIR}${PRINSTALLATION_BASEDIR}/extensions/
- @cd ${STAGEDIR}${OOPATH}/program ; \
- ${ECHO_CMD} "stripping executables and shared libraries" ; \
- ${STRIP_CMD} crashrep pagein uri-encode javaldx regmerge \
- regview *.so* *.bin
${FIND} ${STAGEDIR}${PRINSTALLATION_BASEDIR} -type d -exec ${CHMOD} 755 {} \;
${REINPLACE_CMD} \
-e '/^UserInstallation/s/=.*/=$$SYSUSERCONFIG\/${AOOUDIR}/' \
diff --git a/editors/openoffice-devel/distinfo b/editors/openoffice-devel/distinfo
index dda83acac200..14b07733220b 100644
--- a/editors/openoffice-devel/distinfo
+++ b/editors/openoffice-devel/distinfo
@@ -1,5 +1,5 @@
-SHA256 (openoffice/apache-openoffice-r1704217-src.tar.xz) = 52b0c1c54cfd0aa9ec1bd27a99c2c6240fd4279171bcf6025383fe7e0d55f24b
-SIZE (openoffice/apache-openoffice-r1704217-src.tar.xz) = 215145548
+SHA256 (openoffice/apache-openoffice-4.1.2-r1705575-src.tar.bz2) = 1982bb65d0b37e3afee8e6508c2fcef7a4a6f19e3ece40d94499ba681ea44c9b
+SIZE (openoffice/apache-openoffice-4.1.2-r1705575-src.tar.bz2) = 218997145
SHA256 (openoffice/unowinreg.dll) = f563e522922133db9340b0306711c2d8767cc3481dd9e7d9b0d059906d12653c
SIZE (openoffice/unowinreg.dll) = 6144
SHA256 (openoffice/ApacheOpenOffice.ext_sources.4.x.x.20150707.tar.gz) = 966a8333c83a18ddd84401389006d6e0b52b8175924b808b54b88211669985fa
diff --git a/editors/openoffice-devel/files/patch-i114430-41x b/editors/openoffice-devel/files/patch-i114430-41x
new file mode 100644
index 000000000000..ace3822bc0fd
--- /dev/null
+++ b/editors/openoffice-devel/files/patch-i114430-41x
@@ -0,0 +1,73 @@
+--- sal/inc/rtl/math.h.orig 2014-02-25 08:31:58 UTC
++++ sal/inc/rtl/math.h
+@@ -396,6 +396,21 @@ double SAL_CALL rtl_math_round(double fV
+ */
+ double SAL_CALL rtl_math_pow10Exp(double fValue, int nExp) SAL_THROW_EXTERN_C();
+
++/** Similar to pow() with stricter exception handling for indeterminate values.
++
++ powr is specified in the IEEE 754 - 2008 Floating Point Standard.
++
++ @param fValue
++ The value to be raised.
++
++ @param fExp
++ The exponent.
++
++ @return
++ powr(fValue, fExp)
++ */
++double SAL_CALL rtl_math_powr(double fValue, double fExp) SAL_THROW_EXTERN_C();
++
+ /** Rounds value to 15 significant decimal digits.
+
+ @param fValue
+--- sal/inc/rtl/math.hxx.orig 2014-02-25 08:31:58 UTC
++++ sal/inc/rtl/math.hxx
+@@ -186,6 +186,13 @@ inline double pow10Exp(double fValue, in
+ return rtl_math_pow10Exp(fValue, nExp);
+ }
+
++/** A wrapper around rtl_math_powr.
++ */
++inline double powr(double fValue, double fExp)
++{
++ return rtl_math_powr(fValue, fExp);
++}
++
+ /** A wrapper around rtl_math_approxValue.
+ */
+ inline double approxValue(double fValue)
+--- sal/rtl/source/math.cxx.orig 2014-02-25 08:31:57 UTC
++++ sal/rtl/source/math.cxx
+@@ -1113,6 +1113,19 @@ double SAL_CALL rtl_math_expm1( double f
+ return (fe-1.0) * fValue / log(fe);
+ }
+
++double SAL_CALL rtl_math_powr( double fValue, double fExp ) SAL_THROW_EXTERN_C()
++{
++ if ((fValue == 0.0 && fExp == 0.0) ||
++ (rtl::math::isInf( fExp ) && !rtl::math::isSignBitSet( fExp )) ||
++ (rtl::math::isInf( fValue ) && !rtl::math::isSignBitSet( fValue )))
++ {
++ double fResult;
++ ::rtl::math::setNan( &fResult );
++ return fResult;
++ }
++ return pow(fValue, fExp);
++}
++
+
+ double SAL_CALL rtl_math_log1p( double fValue ) SAL_THROW_EXTERN_C()
+ {
+--- sal/util/sal.map.orig 2014-02-25 08:31:48 UTC
++++ sal/util/sal.map
+@@ -629,6 +629,8 @@ UDK_3.12 { # AOO 3.5
+ global:
+ osl_loadAsciiModule;
+ osl_loadAsciiModuleRelative;
++
++ rtl_math_powr;
+ } UDK_3.11;
+
+ PRIVATE_1.0 {