diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2015-07-09 19:35:50 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2015-07-09 19:35:50 +0000 |
commit | 35bc3e48658c7957b7ea32f7bd3bfa9064a380b8 (patch) | |
tree | 41db8722faf57f06531f710368a1f3fe3ff9edea /textproc/libwps | |
parent | 037d41d105e9aead1c0d32322f848cd2d17b2e07 (diff) | |
download | ports-35bc3e48658c7957b7ea32f7bd3bfa9064a380b8.tar.gz ports-35bc3e48658c7957b7ea32f7bd3bfa9064a380b8.zip |
Notes
Diffstat (limited to 'textproc/libwps')
-rw-r--r-- | textproc/libwps/Makefile | 1 | ||||
-rw-r--r-- | textproc/libwps/files/patch-src_lib_QuattroSpreadsheet.cpp | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/textproc/libwps/Makefile b/textproc/libwps/Makefile index 2580226932b1..d12f8f6537bf 100644 --- a/textproc/libwps/Makefile +++ b/textproc/libwps/Makefile @@ -3,6 +3,7 @@ PORTNAME= libwps PORTVERSION= 0.4.0 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} diff --git a/textproc/libwps/files/patch-src_lib_QuattroSpreadsheet.cpp b/textproc/libwps/files/patch-src_lib_QuattroSpreadsheet.cpp new file mode 100644 index 000000000000..238d496b099f --- /dev/null +++ b/textproc/libwps/files/patch-src_lib_QuattroSpreadsheet.cpp @@ -0,0 +1,11 @@ +--- src/lib/QuattroSpreadsheet.cpp.orig 2015-03-11 11:14:10 UTC ++++ src/lib/QuattroSpreadsheet.cpp +@@ -1668,7 +1668,7 @@ bool QuattroSpreadsheet::readCell + else + { + val &= 0x3FFF; +- if (val & 0x2000) val = val - 0x4000; ++ if (val>0x1000) val = val - 0x2000; + } + if (dim==2) + val += sheetId; |