diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2005-07-04 14:01:12 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2005-07-04 14:01:12 +0000 |
commit | b52a41b5ae6b04fecfebc234ff6d28fe325e8aca (patch) | |
tree | 9c21d84c11f23492ea4a692ec3fc4c8c3e0d6539 /textproc/libwpd | |
parent | f479bd44c44a2b2bf1c1857e1208c5122bda8dbb (diff) | |
download | ports-b52a41b5ae6b04fecfebc234ff6d28fe325e8aca.tar.gz ports-b52a41b5ae6b04fecfebc234ff6d28fe325e8aca.zip |
Notes
Diffstat (limited to 'textproc/libwpd')
-rw-r--r-- | textproc/libwpd/Makefile | 8 | ||||
-rw-r--r-- | textproc/libwpd/files/patch-src-conv-html-HtmlListener.cpp | 11 | ||||
-rw-r--r-- | textproc/libwpd/files/patch-src-lib-WPXString.cpp | 11 |
3 files changed, 23 insertions, 7 deletions
diff --git a/textproc/libwpd/Makefile b/textproc/libwpd/Makefile index 25d81d764780..34950172cfcd 100644 --- a/textproc/libwpd/Makefile +++ b/textproc/libwpd/Makefile @@ -20,10 +20,4 @@ USE_LIBTOOL_VER=15 USE_GNOME= gnomehack libgsf INSTALLS_SHLIB= yes -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500000 -BROKEN= "Does not compile on FreeBSD 4.x" -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/textproc/libwpd/files/patch-src-conv-html-HtmlListener.cpp b/textproc/libwpd/files/patch-src-conv-html-HtmlListener.cpp new file mode 100644 index 000000000000..844682218372 --- /dev/null +++ b/textproc/libwpd/files/patch-src-conv-html-HtmlListener.cpp @@ -0,0 +1,11 @@ +--- src/conv/html/HtmlListenerImpl.cpp.orig Tue Jun 28 00:31:29 2005 ++++ src/conv/html/HtmlListenerImpl.cpp Tue Jun 28 00:33:48 2005 +@@ -144,7 +144,7 @@ + + printf("<span style=\""); + if (propList["style:font-name"]) +- printf("font-family: \'%s\'\;", propList["style:font-name"]->getStr().cstr()); ++ printf("font-family: \'%s\';",propList["style:font-name"]->getStr().cstr()); + if (propList["fo:font-size"]) + printf("font-size: %s;", propList["fo:font-size"]->getStr().cstr()); + if (propList["fo:font-weight"]) diff --git a/textproc/libwpd/files/patch-src-lib-WPXString.cpp b/textproc/libwpd/files/patch-src-lib-WPXString.cpp new file mode 100644 index 000000000000..77103cf929b4 --- /dev/null +++ b/textproc/libwpd/files/patch-src-lib-WPXString.cpp @@ -0,0 +1,11 @@ +--- src/lib/WPXString.cpp.orig Tue Jun 28 00:17:50 2005 ++++ src/lib/WPXString.cpp Tue Jun 28 00:15:50 2005 +@@ -179,7 +179,7 @@ + + void WPXString::clear() + { +- static_cast<std::string *>(m_buf)->clear(); ++ static_cast<std::string *>(m_buf)->erase(static_cast<std::string *>(m_buf)->begin(), static_cast<std::string *>(m_buf)->end()); + } + + int WPXString::len() const |