make the setBreakType function public. the diff has been extracted

from openoffice's diff, so we can switch to our icu4c;

tested by simon@, jasper@; ok jasper@
This commit is contained in:
robert 2008-05-04 12:01:42 +00:00
parent 68023efeed
commit d8f5d8b8b3
2 changed files with 20 additions and 2 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.4 2008/01/04 17:48:37 espie Exp $
# $OpenBSD: Makefile,v 1.5 2008/05/04 12:01:42 robert Exp $
SHARED_ONLY= Yes
COMMENT= International Components for Unicode
DISTNAME= icu4c-3_6-src
PKGNAME= icu4c-3.6p1
PKGNAME= icu4c-3.6p2
SO_VERSION= 0.0
.for _lib in icudata icui18n icuio icule iculx icutu icuuc
SHARED_LIBS+= ${_lib} ${SO_VERSION}

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-source_common_unicode_rbbi_h,v 1.1 2008/05/04 12:01:42 robert Exp $
--- source/common/unicode/rbbi.h.orig Thu May 1 13:24:31 2008
+++ source/common/unicode/rbbi.h Thu May 1 13:24:50 2008
@@ -611,12 +611,14 @@ class U_COMMON_API RuleBasedBreakIterator : public Bre
virtual int32_t getBreakType() const;
#endif
+public:
/**
* Set the type of the break iterator.
* @internal
*/
virtual void setBreakType(int32_t type);
+protected:
/**
* Common initialization function, used by constructors and bufferClone.
* (Also used by DictionaryBasedBreakIterator::createBufferClone().)