diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2008-02-07 12:02:40 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2008-02-07 12:02:40 +0000 |
commit | 6c305363345ccc524ada8d88c9eaf7ca4c603e14 (patch) | |
tree | e2accf131141acd21add5cce33adbbab81a2eacb /dev-java/poi | |
parent | sparc stable wrt #206684 (diff) | |
download | historical-6c305363345ccc524ada8d88c9eaf7ca4c603e14.tar.gz historical-6c305363345ccc524ada8d88c9eaf7ca4c603e14.tar.bz2 historical-6c305363345ccc524ada8d88c9eaf7ca4c603e14.zip |
Added patch that fixes detection of custom dates and datetimes in HSSFDateUtil.isADateFormat() method
Package-Manager: portage-2.1.4.1
Diffstat (limited to 'dev-java/poi')
-rw-r--r-- | dev-java/poi/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/poi/Manifest | 5 | ||||
-rw-r--r-- | dev-java/poi/files/poi-3.0.2-isADateFormat.patch | 11 | ||||
-rw-r--r-- | dev-java/poi/poi-3.0.2-r1.ebuild (renamed from dev-java/poi/poi-3.0.2.ebuild) | 8 |
4 files changed, 27 insertions, 7 deletions
diff --git a/dev-java/poi/ChangeLog b/dev-java/poi/ChangeLog index 3e987f1559da..963888aefb7f 100644 --- a/dev-java/poi/ChangeLog +++ b/dev-java/poi/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-java/poi # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/poi/ChangeLog,v 1.42 2008/02/06 18:23:27 fordfrog Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/poi/ChangeLog,v 1.43 2008/02/07 12:02:40 fordfrog Exp $ + +*poi-3.0.2-r1 (07 Feb 2008) + + 07 Feb 2008; Miroslav Šulc <fordfrog@gentoo.org> + +files/poi-3.0.2-isADateFormat.patch, -poi-3.0.2.ebuild, + +poi-3.0.2-r1.ebuild: + Added patch that fixes detection of custom dates and datetimes in + HSSFDateUtil.isADateFormat() method *poi-3.0.2 (06 Feb 2008) diff --git a/dev-java/poi/Manifest b/dev-java/poi/Manifest index 9a8e4306ed4b..7599e411cd1e 100644 --- a/dev-java/poi/Manifest +++ b/dev-java/poi/Manifest @@ -1,7 +1,8 @@ AUX poi-3.0.1-src-isDateFormat.patch 3165 RMD160 94843083983c202c06c77db7a476b054feb980be SHA1 767122e8cb6d69a713940ffa9a2e42ea91a8832e SHA256 cacdab036228f97742af4bf8e5ca0901d794da67b0c96bfd3502e2c338f99a02 +AUX poi-3.0.2-isADateFormat.patch 426 RMD160 9e632f537b421f93072478efab6e47292ad19d34 SHA1 ede819cc16cbef6cce227659e1e4af7391a49af5 SHA256 ba13f092b7538ddf98da6cd895584f71367cbe8d0a0c58d9730db28f904d95e1 DIST poi-src-3.0.1-FINAL-20070705.tar.gz 18139297 RMD160 4905689c285dfcdaea4e6b8549fa5f6931777367 SHA1 8071fa954fc7be44d06652e3ef7dba3f8e8e0808 SHA256 f8a1bd7593310b53bbb7981c4f680661801011aa489bf760341c5ffa10f5cce8 DIST poi-src-3.0.2-FINAL-20080204.tar.gz 19034308 RMD160 4260e3094f206a837610f31a15cd7edf080a147b SHA1 8ecdf131ca6e4a52a059405e63d92f4854a2c69e SHA256 38a3d599fb75eaaa7c70fec230a9a88c192080b4c07fc9e7c7a31f8b26c8e4eb EBUILD poi-3.0.1-r1.ebuild 2248 RMD160 9194f795b77edddfe0f2e00492b3ed39af9e7836 SHA1 87c370ae16c7f66bf3f54b70040e0a4289b2ba6d SHA256 721d12735bd40cd826ca6cf04d4dc09fb76150f16d32523aa4ee38f9d75b96cd -EBUILD poi-3.0.2.ebuild 2267 RMD160 ce824ff729868f362922b039b5f964e9e4e7feb6 SHA1 199b3b63c182c80bb28318bea436984f2caaaf4e SHA256 bceb4e7281599ad7945c3ce3f863b68381f7b25619bed7def32864c5371542a1 -MISC ChangeLog 5778 RMD160 d2274a68a9d6f952e90262b4a4b908708563a9ad SHA1 bfced4496c9af23f5cd307512f0ebb2c7b16f497 SHA256 43ec689d209f0f631f33d26009dff20aaae82c68ce0e58b741e033d6a53e665d +EBUILD poi-3.0.2-r1.ebuild 2296 RMD160 c53e9bae90a2fdbf9bcd16faae0f83c6fa0d93a1 SHA1 e01ad5dfef8e5687a8134d626f1c66e72bbae90b SHA256 37fe60a0c0634301e3b1457780993100f7467e7fbcc785821b39ae37bd3819ae +MISC ChangeLog 6049 RMD160 10732a77e584d3bc0317724ea74ff8545a42e4c7 SHA1 6288990c9bf032256c3c3d97de4229527bf1f75b SHA256 7475ae04a062afd19525f70c7a11ef89c9e86f06b87cceda810511841661b1e6 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 diff --git a/dev-java/poi/files/poi-3.0.2-isADateFormat.patch b/dev-java/poi/files/poi-3.0.2-isADateFormat.patch new file mode 100644 index 000000000000..d4743148ef04 --- /dev/null +++ b/dev-java/poi/files/poi-3.0.2-isADateFormat.patch @@ -0,0 +1,11 @@ +--- ./src/java/org/apache/poi/hssf/usermodel/HSSFDateUtil.java.orig 2008-02-07 12:02:57.000000000 +0100 ++++ ./src/java/org/apache/poi/hssf/usermodel/HSSFDateUtil.java 2008-02-07 12:29:17.000000000 +0100 +@@ -210,7 +210,7 @@ + + // Otherwise, check it's only made up of: + // y m d - / , +- if(fs.matches("^[ymd\\-/, ]+$")) { ++ if(fs.matches("^[yYmMdDhHsS\\-/,. :]+$")) { + return true; + } + diff --git a/dev-java/poi/poi-3.0.2.ebuild b/dev-java/poi/poi-3.0.2-r1.ebuild index 839dd3d23813..85179bda35b6 100644 --- a/dev-java/poi/poi-3.0.2.ebuild +++ b/dev-java/poi/poi-3.0.2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/poi/poi-3.0.2.ebuild,v 1.1 2008/02/06 18:23:27 fordfrog Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/poi/poi-3.0.2-r1.ebuild,v 1.1 2008/02/07 12:02:40 fordfrog Exp $ EAPI=1 JAVA_PKG_IUSE="doc examples source" @@ -32,9 +32,9 @@ src_unpack() { unpack ${A} cd "${S}" - # Patch that adds unofficial support for detection whether cell is - # date/time format till upstream solves that - #epatch "${FILESDIR}/${P}-src-isDateFormat.patch" + # Patch that adds unofficial fix for detection of custom date/time formats + # See bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=44373 + epatch "${FILESDIR}/${P}-isADateFormat.patch" find -name "*.jar" | xargs rm -v |