aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-04-11 23:08:24 +0800
committerpav <pav@FreeBSD.org>2006-04-11 23:08:24 +0800
commit7f048b4a0c7b6605c61419f3989045ede953f295 (patch)
tree9965e0839c0a24d7b754a4db4c3a8bbab716f4b1 /textproc
parent410ef1b1c4c072f92624762579d199b055718e44 (diff)
downloadfreebsd-ports-gnome-7f048b4a0c7b6605c61419f3989045ede953f295.tar.gz
freebsd-ports-gnome-7f048b4a0c7b6605c61419f3989045ede953f295.tar.zst
freebsd-ports-gnome-7f048b4a0c7b6605c61419f3989045ede953f295.zip
- Fix notice warning in getFormat() call
Diffstat (limited to 'textproc')
-rw-r--r--textproc/pear-Spreadsheet_Excel_Writer/Makefile1
-rw-r--r--textproc/pear-Spreadsheet_Excel_Writer/files/patch-Writer-Worksheet.php11
2 files changed, 12 insertions, 0 deletions
diff --git a/textproc/pear-Spreadsheet_Excel_Writer/Makefile b/textproc/pear-Spreadsheet_Excel_Writer/Makefile
index 2d0e82b49b61..9a20071440f1 100644
--- a/textproc/pear-Spreadsheet_Excel_Writer/Makefile
+++ b/textproc/pear-Spreadsheet_Excel_Writer/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Spreadsheet_Excel_Writer
PORTVERSION= 0.9.0
+PORTREVISION= 1
CATEGORIES= textproc www pear
MAINTAINER= pav@FreeBSD.org
diff --git a/textproc/pear-Spreadsheet_Excel_Writer/files/patch-Writer-Worksheet.php b/textproc/pear-Spreadsheet_Excel_Writer/files/patch-Writer-Worksheet.php
new file mode 100644
index 000000000000..1ee2aad6441e
--- /dev/null
+++ b/textproc/pear-Spreadsheet_Excel_Writer/files/patch-Writer-Worksheet.php
@@ -0,0 +1,11 @@
+--- Writer/Worksheet.php.orig Sat Nov 19 14:47:01 2005
++++ Writer/Worksheet.php Tue Apr 11 17:06:18 2006
+@@ -1230,7 +1230,7 @@
+ */
+ function _XF(&$format)
+ {
+- if ($format != 0) {
++ if (is_object($format)) {
+ return($format->getXfIndex());
+ } else {
+ return(0x0F);