FreeBSD Bugzilla – Attachment 203363 Details for
Bug 220975
editors/abiword: Fails to build with GRAMMAR option enabled (update to 3.0.2 )
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn-diff-abiword-3.0.2
svn-diff-abiword-3.0.2 (text/plain), 23.70 KB, created by
ralph
on 2019-04-04 03:02:59 UTC
(
hide
)
Description:
svn-diff-abiword-3.0.2
Filename:
MIME Type:
Creator:
ralph
Created:
2019-04-04 03:02:59 UTC
Size:
23.70 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 497782) >+++ Makefile (working copy) >@@ -2,8 +2,7 @@ > # $FreeBSD$ > > PORTNAME= abiword >-PORTVERSION= 3.0.1 >-PORTREVISION= 11 >+PORTVERSION= 3.0.2 > CATEGORIES= editors > MASTER_SITES= http://www.abisource.com/downloads/abiword/${PORTVERSION}/source/ > DIST_SUBDIR= AbiWord >@@ -19,12 +18,23 @@ > libpng.so:graphics/png \ > libwv.so:textproc/wv \ > libfribidi.so:converters/fribidi \ >- libgoffice-0.10.so:devel/goffice010 >+ libgoffice-0.10.so:devel/goffice010 \ >+ libdbus-1.so:devel/dbus \ >+ libgpg-error.so:security/libgpg-error \ >+ libraptor2.so:textproc/raptor2 \ >+ librasqal.so:textproc/rasqal \ >+ libfontconfig.so:x11-fonts/fontconfig \ >+ libicalss.so:devel/libical \ >+ libfreetype.so:print/freetype2 \ >+ librdf.so:textproc/redland \ >+ libwmf.so:graphics/libwmf >+ > RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSerif.ttf:x11-fonts/dejavu > >-USES= compiler:c++11-lang desktop-file-utils gmake gnome iconv jpeg \ >+USES= compiler:c++11-lang desktop-file-utils gmake iconv jpeg \ > libtool pathfix pkgconfig >-USE_GNOME= libxml2 gtk30 librsvg2 libxslt >+USE_GNOME= cairo libxml2 gtk30 librsvg2 libxslt >+USE_XORG+= x11 > GNU_CONFIGURE= yes > CPPFLAGS+= -I${LOCALBASE}/include > LDFLAGS+= -L${LOCALBASE}/lib >Index: distinfo >=================================================================== >--- distinfo (revision 497782) >+++ distinfo (working copy) >@@ -1,2 +1,3 @@ >-SHA256 (AbiWord/abiword-3.0.1.tar.gz) = e094f6fbf0afc5c5538b4894888e7c346f8ee8f49c9d24821dd696d0734865c6 >-SIZE (AbiWord/abiword-3.0.1.tar.gz) = 11144990 >+TIMESTAMP = 1518488853 >+SHA256 (AbiWord/abiword-3.0.2.tar.gz) = afbfd458fd02989d8b0c6362ba8a4c14686d89666f54cfdb5501bd2090cf3522 >+SIZE (AbiWord/abiword-3.0.2.tar.gz) = 11154333 >Index: files/patch-abiword.desktop >=================================================================== >--- files/patch-abiword.desktop (revision 497782) >+++ files/patch-abiword.desktop (working copy) >@@ -1,6 +1,6 @@ >---- abiword.desktop.orig 2010-04-14 23:50:18.000000000 +0200 >-+++ abiword.desktop 2010-05-22 09:08:45.000000000 +0200 >-@@ -6,7 +6,7 @@ >+--- abiword.desktop.orig 2019-04-03 21:21:51 UTC >++++ abiword.desktop >+@@ -6,7 +6,7 @@ Type=Application > Categories=Office;WordProcessor;GNOME;GTK;X-Red-Hat-Base; > StartupNotify=true > X-Desktop-File-Install-Version=0.9 >Index: files/patch-c++11 >=================================================================== >--- files/patch-c++11 (revision 497782) >+++ files/patch-c++11 (nonexistent) >@@ -1,100 +0,0 @@ >-xap_Dialog.cpp:270:17: error: cast from pointer to smaller type 'char' loses information >- *pWindowName = (char) NULL; >- ^~~~~~~~~~~ >-ap_UnixApp.cpp:866:29: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] >- if(0 == strcmp (suffix, "."G_MODULE_SUFFIX)) >- ^ >-ie_exp_XSL-FO.cpp:1454:13: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] >- buf += " "x"=\""; \ >- ^ >-ie_exp_LaTeX.cpp:1332:43: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] >-#define SUB(a,who) case a: subst = "\\(\\"who"\\)"; return true; >- ^ >-RealmProtocol.cpp:16:2: error: constant expression evaluates to -1 which cannot be narrowed to type 'uint32_t' (aka 'unsigned int') [-Wc++11-narrowing] >- RPV1_PACKET_VARIABLE, /* user joined */ >- ^~~~~~~~~~~~~~~~~~~~ >-RealmProtocol.cpp:10:30: note: expanded from macro 'RPV1_PACKET_VARIABLE' >-#define RPV1_PACKET_VARIABLE -1 >- ^~ >-RealmProtocol.cpp:16:2: note: insert an explicit cast to silence this issue >- RPV1_PACKET_VARIABLE, /* user joined */ >- ^~~~~~~~~~~~~~~~~~~~ >- static_cast<uint32_t>( ) >-RealmProtocol.cpp:10:30: note: expanded from macro 'RPV1_PACKET_VARIABLE' >-#define RPV1_PACKET_VARIABLE -1 >- ^~ >-soa_soup.cpp:166:11: error: no viable conversion from returned value of type 'soa::GenericPtr' (aka 'shared_ptr<soa::Generic>') to function return type 'bool' >- return soa::GenericPtr(); >- ^~~~~~~~~~~~~~~~~ >- >-https://github.com/AbiWord/abiword/commit/a83e6f50dbd5 >-https://github.com/AbiWord/abiword/commit/5623a94c756c >- >---- plugins/collab/backends/service/xp/RealmProtocol.cpp.orig 2009-05-27 05:41:59 UTC >-+++ plugins/collab/backends/service/xp/RealmProtocol.cpp >-@@ -6,8 +6,8 @@ namespace protocolv1 { >- >- #define MAX_PACKET_DATA_SIZE 64*1024*1024 >- >--#define RPV1_PACKET_NONEXISTENT -2 >--#define RPV1_PACKET_VARIABLE -1 >-+#define RPV1_PACKET_NONEXISTENT uint32_t(-2) >-+#define RPV1_PACKET_VARIABLE uint32_t(-1) >- >- static uint32_t body_size[6] = { >- RPV1_PACKET_NONEXISTENT, /* 0: reserved */ >---- plugins/collab/backends/service/xp/soa_soup.cpp.orig 2009-09-29 13:58:11 UTC >-+++ plugins/collab/backends/service/xp/soa_soup.cpp >-@@ -163,7 +163,7 @@ namespace soup_soa { >- >- static bool _invoke(const std::string& /*url*/, const soa::method_invocation& /*mi*/, SoaSoupSession& sess, std::string& result) { >- if (!sess.m_session || !sess.m_msg ) >-- return soa::GenericPtr(); >-+ return false; >- >- guint status = soup_session_send_message (sess.m_session, sess.m_msg); >- if (!(SOUP_STATUS_IS_SUCCESSFUL (status) || >---- plugins/latex/xp/ie_exp_LaTeX.cpp.orig 2013-04-07 13:53:03 UTC >-+++ plugins/latex/xp/ie_exp_LaTeX.cpp >-@@ -1329,7 +1329,7 @@ void s_LaTeX_Listener::_outputData(const UT_UCSChar * >- m_pie->write(sBuf.c_str(),sBuf.size()); >- } >- >--#define SUB(a,who) case a: subst = "\\(\\"who"\\)"; return true; >-+#define SUB(a,who) case a: subst = "\\(\\" who"\\)"; return true; >- #define SUBd(a,who) case a: subst = who; return true; >- static bool _convertLettersToSymbols(char c, const char *& subst) >- { >---- plugins/xslfo/xp/ie_exp_XSL-FO.cpp.orig 2013-04-07 13:53:03 UTC >-+++ plugins/xslfo/xp/ie_exp_XSL-FO.cpp >-@@ -1451,7 +1451,7 @@ void s_XSL_FO_Listener::_openSection(PT_AttrPropIndex >- { \ >- UT_UTF8String esc = szValue; \ >- esc.escapeXML(); \ >-- buf += " "x"=\""; \ >-+ buf += " " x"=\""; \ >- buf += esc.utf8_str(); \ >- buf += "\""; \ >- } >---- src/af/xap/xp/xap_Dialog.cpp.orig 2013-04-07 13:53:03 UTC >-+++ src/af/xap/xp/xap_Dialog.cpp >-@@ -267,7 +267,7 @@ XAP_Dialog_Modeless::BuildWindowName(char * pWindowNam >- // This function constructs and returns the window name of a modeless dialog by >- // concatenating the active frame with the dialog name >- >-- *pWindowName = (char) NULL; >-+ *pWindowName = '\0'; >- UT_UTF8String wn = UT_UTF8String(pDialogName); >- >- XAP_Frame* pFrame = getActiveFrame(); >---- src/wp/ap/gtk/ap_UnixApp.cpp.orig 2013-04-07 13:53:03 UTC >-+++ src/wp/ap/gtk/ap_UnixApp.cpp >-@@ -863,7 +863,7 @@ static bool is_so (const char *file) { >- if (len < (strlen(G_MODULE_SUFFIX) + 2)) // this is ".so" and at least one char for the filename >- return false; >- const char *suffix = file+(len-3); >-- if(0 == strcmp (suffix, "."G_MODULE_SUFFIX)) >-+ if(0 == strcmp (suffix, "." G_MODULE_SUFFIX)) >- return true; >- return false; >- } > >Property changes on: files/patch-c++11 >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-configure >=================================================================== >--- files/patch-configure (revision 497782) >+++ files/patch-configure (working copy) >@@ -1,15 +1,15 @@ >---- configure.orig 2014-12-23 06:13:20.000000000 +0100 >-+++ configure 2016-01-26 21:22:33.585049000 +0100 >-@@ -23915,7 +23915,7 @@ >+--- configure.orig 2019-04-04 02:57:51 UTC >++++ configure >+@@ -20592,7 +20592,7 @@ fi > > > > -wpg_pkgs="$gsf_req libwpg-0.2 >= 0.2.0 libwpd-0.9 >= 0.9.0 libwpd-stream-0.9 >= 0.9.0" >-+wpg_pkgs="libwpg-0.3 $gsf_req" >++wpg_pkgs="$gsf_req libwpg-0.3" > wpg_deps="no" > > if test "$enable_wpg" != ""; then >-@@ -24341,8 +24341,8 @@ >+@@ -22882,8 +22882,8 @@ fi > > > >@@ -20,12 +20,3 @@ > wordperfect_deps="no" > > WORDPERFECT_CFLAGS= >-@@ -24385,7 +24385,7 @@ >- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 >- test $ac_status = 0; }; then >- >-- wp_deps_pkgs="$wp_deps_pkgs $wordperfect_wps_pkgs" >-+ wp_deps_pkgs="$wordperfect_wps_pkgs $wp_deps_pkgs" >- WPS_DEFINE=" -DHAVE_LIBWPS" >- >- fi >Index: files/patch-flickering >=================================================================== >--- files/patch-flickering (nonexistent) >+++ files/patch-flickering (working copy) >@@ -0,0 +1,138 @@ >+--- src/af/gr/gtk/gr_UnixCairoGraphics.cpp.orig 2019-04-03 20:11:12 UTC >++++ src/af/gr/gtk/gr_UnixCairoGraphics.cpp >+@@ -577,9 +577,7 @@ void GR_UnixCairoGraphics::_endPaint() >+ >+ void GR_UnixCairoGraphics::flush(void) >+ { >+- if (m_Widget) { >+- gtk_widget_queue_draw(m_Widget); >+- } >++ gdk_flush(); >+ } >+ >+ bool GR_UnixCairoGraphics::queryProperties(GR_Graphics::Properties gp) const >+--- src/af/gr/xp/gr_Caret.cpp.orig 2019-04-03 18:13:38 UTC >++++ src/af/gr/xp/gr_Caret.cpp >+@@ -146,8 +146,10 @@ void GR_Caret::s_work(UT_Worker * _w) >+ { >+ GR_Caret * c = static_cast<GR_Caret *>(_w->getInstanceData()); >+ >+- if (c->m_nDisableCount == 0) >+- c->_blink(false); >++ c->m_enabler->stop(); >++ c->m_worker->stop(); >++ c->m_worker->start(); >++ c->_blink(true); >+ } >+ >+ /** One-time enabler. */ >+@@ -155,22 +157,17 @@ void GR_Caret::s_enable(UT_Worker * _w) >+ { >+ GR_Caret * c = static_cast<GR_Caret *>(_w->getInstanceData()); >+ >++ c->m_enabler->stop(); >+ c->m_worker->stop(); >+- c->_blink(true); >+- if (!c->m_bCursorIsOn) >+- c->_blink(true); // blink again >+- else >+- { >+- c->_blink(true); // ?? - MARCM >+- c->_blink(true); >+- } >+ c->m_worker->start(); >+- c->m_enabler->stop(); >++ c->_blink(true); >+ } >+ >+ void GR_Caret::s_blink_timeout(UT_Worker * _w) >+ { >+ GR_Caret * c = static_cast<GR_Caret *>(_w->getInstanceData()); >++ >++ c->m_blinkTimeout->stop(); >+ if (c->isEnabled()) >+ c->disable(); >+ } >+--- src/af/util/xp/ut_iconv.cpp.orig 2019-04-03 18:13:38 UTC >++++ src/af/util/xp/ut_iconv.cpp >+@@ -264,10 +264,10 @@ const char * ucs4Internal () >+ // we special-case the win32 build, otherwise spelling and other stuff >+ // just doesn't work >+ return "UCS-4LE"; >+-#elif defined(_LIBICONV_H) >++#elif defined(_LIBICONV_H) || defined(__FreeBSD__) >+ // libiconv seems to prefer UCS-4-INTERNAL to UCS-4BE and UCS-4LE >+ return "UCS-4-INTERNAL"; >+-#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) >++#elif defined(__OpenBSD__) || defined(__NetBSD__) >+ // we special case the BSDs since spelling just doesn't work >+ return "UCS4"; >+ #else >+--- src/af/xap/gtk/xap_UnixFrameImpl.cpp.orig 2019-04-03 18:13:38 UTC >++++ src/af/xap/gtk/xap_UnixFrameImpl.cpp >+@@ -1208,15 +1208,23 @@ gint XAP_UnixFrameImpl::_fe::delete_event(GtkWidget * >+ } >+ >+ #if GTK_CHECK_VERSION(3,0,0) >+-gint XAP_UnixFrameImpl::_fe::draw(GtkWidget * w, cairo_t * cr) >++gboolean XAP_UnixFrameImpl::_fe::draw(GtkWidget * w, cairo_t * cr) >+ #else >+ gint XAP_UnixFrameImpl::_fe::expose(GtkWidget * w, GdkEventExpose* pExposeEvent) >+ #endif >+ { >+ XAP_UnixFrameImpl * pUnixFrameImpl = static_cast<XAP_UnixFrameImpl *>(g_object_get_data(G_OBJECT(w), "user_data")); >+ FV_View * pView = static_cast<FV_View *>(pUnixFrameImpl->getFrame()->getCurrentView()); >++ double x, y, width, height; >+ #if GTK_CHECK_VERSION(3,0,0) >+- GdkEventExpose *pExposeEvent = reinterpret_cast<GdkEventExpose *>(gtk_get_current_event()); >++ cairo_clip_extents (cr, &x, &y, &width, &height); >++ width -= x; >++ height -= y; >++#else >++ x = pExposeEvent->area.x; >++ y = pExposeEvent->area.y; >++ width = pExposeEvent->area.width; >++ height = pExposeEvent->area.height; >+ #endif >+ /* Jean: commenting out next lines since the zoom update code does draw only >+ * part of what needs to be updated. */ >+@@ -1230,20 +1238,21 @@ gint XAP_UnixFrameImpl::_fe::expose(GtkWidget * w, Gdk >+ UT_Rect rClip; >+ if (pGr->getPaintCount () > 0) >+ return TRUE; >+- xxx_UT_DEBUGMSG(("Expose area: x %d y %d width %d height %d \n",pExposeEvent->area.x,pExposeEvent->area.y,pExposeEvent->area.width,pExposeEvent->area.height)); >+- rClip.left = pGr->tlu(pExposeEvent->area.x); >+- rClip.top = pGr->tlu(pExposeEvent->area.y); >+- rClip.width = pGr->tlu(pExposeEvent->area.width)+1; >+- rClip.height = pGr->tlu(pExposeEvent->area.height)+1; >+-#if GTK_CHECK_VERSION(3,0,0) >++ rClip.left = pGr->tlu(x); >++ rClip.top = pGr->tlu(y); >++ #if GTK_CHECK_VERSION(3,0,0) >++ rClip.width = pGr->tlu(width); >++ rClip.height = pGr->tlu(height); >+ static_cast<GR_CairoGraphics *>(pGr)->setCairo(cr); >+ pView->draw(&rClip); >+ static_cast<GR_CairoGraphics *>(pGr)->setCairo(NULL); >+ #else >++ rClip.width = pGr->tlu(width)+1; >++ rClip.height = pGr->tlu(height)+1; >+ pView->draw(&rClip); >+ #endif >+ } >+- return FALSE; >++ return TRUE; >+ } >+ >+ static bool bScrollWait = false; >+--- src/af/xap/gtk/xap_UnixFrameImpl.h.orig 2019-04-03 18:13:38 UTC >++++ src/af/xap/gtk/xap_UnixFrameImpl.h >+@@ -152,7 +152,7 @@ class XAP_UnixFrameImpl : public XAP_FrameImpl (protec >+ static gint key_release_event(GtkWidget* w, GdkEventKey* e); >+ static gint delete_event(GtkWidget * w, GdkEvent * /*event*/, gpointer /*data*/); >+ #if GTK_CHECK_VERSION(3,0,0) >+- static gint draw(GtkWidget * w, cairo_t * cr); >++ static gboolean draw(GtkWidget * w, cairo_t * cr); >+ #else >+ static gint expose(GtkWidget * w, GdkEventExpose* pExposeEvent); >+ #endif > >Property changes on: files/patch-flickering >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-plugins_collab_backends_service_xp_tls_tunnel.cpp >=================================================================== >--- files/patch-plugins_collab_backends_service_xp_tls_tunnel.cpp (revision 497782) >+++ files/patch-plugins_collab_backends_service_xp_tls_tunnel.cpp (nonexistent) >@@ -1,24 +0,0 @@ >---- plugins/collab/backends/service/xp/tls_tunnel.cpp.orig 2014-11-04 01:12:14 UTC >-+++ plugins/collab/backends/service/xp/tls_tunnel.cpp >-@@ -306,8 +306,6 @@ void Proxy::tunnel_(transport_ptr_t tran >- disconnect_(transport_ptr, session_ptr, local_socket_ptr, remote_socket_ptr); >- } >- >--static const int PRIORITIES[] = { GNUTLS_KX_ANON_DH, GNUTLS_KX_RSA, GNUTLS_KX_DHE_DSS, GNUTLS_KX_DHE_RSA, 0 }; >--static const int CIPHERS[] = { GNUTLS_CIPHER_AES_256_CBC, GNUTLS_CIPHER_AES_128_CBC, GNUTLS_CIPHER_3DES_CBC, GNUTLS_CIPHER_ARCFOUR_128, 0 }; >- >- // FIXME: this clientproxy can only handle 1 SSL connection at the same time >- ClientProxy::ClientProxy(const std::string& connect_address, unsigned short connect_port, >-@@ -399,9 +397,9 @@ session_ptr_t ClientProxy::setup_tls_ses >- >- // setup session >- return_val_if_neg(gnutls_init(session_ptr.get(), GNUTLS_CLIENT), session_ptr_t()); >-- return_val_if_neg(gnutls_set_default_priority(*session_ptr), session_ptr_t()); >-- return_val_if_neg(gnutls_kx_set_priority(*session_ptr,PRIORITIES), session_ptr_t()); >-- return_val_if_neg(gnutls_cipher_set_priority(*session_ptr,CIPHERS), session_ptr_t()); >-+ return_val_if_neg(gnutls_priority_set_direct(*session_ptr,"NORMAL" >-+ ":-CIPHER-ALL:+AES-256-CBC:+AES-128-CBC:+3DES-CBC:+ARCFOUR-128" >-+ ":-KX-ALL:+ANON-DH:+RSA:+DHE-DSS:+DHE-RSA",NULL), session_ptr_t()); >- return_val_if_neg(gnutls_credentials_set(*session_ptr, GNUTLS_CRD_CERTIFICATE, x509cred), session_ptr_t()); >- >- // setup transport > >Property changes on: files/patch-plugins_collab_backends_service_xp_tls_tunnel.cpp >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-plugins_collab_backends_sipsimple_xp_SIPSimpleBuddy.h >=================================================================== >--- files/patch-plugins_collab_backends_sipsimple_xp_SIPSimpleBuddy.h (revision 497782) >+++ files/patch-plugins_collab_backends_sipsimple_xp_SIPSimpleBuddy.h (nonexistent) >@@ -1,15 +0,0 @@ >---- plugins/collab/backends/sipsimple/xp/SIPSimpleBuddy.h.orig 2015-04-04 04:57:15 UTC >-+++ plugins/collab/backends/sipsimple/xp/SIPSimpleBuddy.h >-@@ -52,10 +52,10 @@ public: >- >- virtual const DocTreeItem* getDocTreeItems() const >- { >-- const vector<DocHandle*>& docHandles = getDocHandles(); >-+ const std::vector<DocHandle*>& docHandles = getDocHandles(); >- DocTreeItem* first = 0; >- DocTreeItem* prev = 0; >-- for (vector<DocHandle*>::const_iterator pos = docHandles.begin(); pos != docHandles.end(); pos++) >-+ for (std::vector<DocHandle*>::const_iterator pos = docHandles.begin(); pos != docHandles.end(); pos++) >- { >- DocTreeItem* item = new DocTreeItem(); >- item->m_type = DOCTREEITEM_TYPE_DOCUMENT; > >Property changes on: files/patch-plugins_collab_backends_sipsimple_xp_SIPSimpleBuddy.h >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-src_af_util_xp_ut_iconv.cpp >=================================================================== >--- files/patch-src_af_util_xp_ut_iconv.cpp (revision 497782) >+++ files/patch-src_af_util_xp_ut_iconv.cpp (nonexistent) >@@ -1,15 +0,0 @@ >---- src/af/util/xp/ut_iconv.cpp.orig 2009-06-25 02:52:27.000000000 +0200 >-+++ src/af/util/xp/ut_iconv.cpp 2009-10-27 22:43:07.000000000 +0100 >-@@ -264,10 +264,10 @@ const char * ucs4Internal () >- // we special-case the win32 build, otherwise spelling and other stuff >- // just doesn't work >- return "UCS-4LE"; >--#elif defined(_LIBICONV_H) >-+#elif defined(_LIBICONV_H) || defined(__FreeBSD__) >- // libiconv seems to prefer UCS-4-INTERNAL to UCS-4BE and UCS-4LE >- return "UCS-4-INTERNAL"; >--#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) >-+#elif defined(__OpenBSD__) || defined(__NetBSD__) >- // we special case the BSDs since spelling just doesn't work >- return "UCS4"; >- #else > >Property changes on: files/patch-src_af_util_xp_ut_iconv.cpp >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-src_af_xap_xp_xap__Dialog.cpp >=================================================================== >--- files/patch-src_af_xap_xp_xap__Dialog.cpp (nonexistent) >+++ files/patch-src_af_xap_xp_xap__Dialog.cpp (working copy) >@@ -0,0 +1,11 @@ >+--- src/af/xap/xp/xap_Dialog.cpp.orig 2019-04-03 22:06:58 UTC >++++ src/af/xap/xp/xap_Dialog.cpp >+@@ -267,7 +267,7 @@ XAP_Dialog_Modeless::BuildWindowName(char * pWindowNam >+ // This function constructs and returns the window name of a modeless dialog by >+ // concatenating the active frame with the dialog name >+ >+- *pWindowName = (char) NULL; >++ *pWindowName = (char)(size_t) NULL; >+ UT_UTF8String wn = UT_UTF8String(pDialogName); >+ >+ XAP_Frame* pFrame = getActiveFrame(); > >Property changes on: files/patch-src_af_xap_xp_xap__Dialog.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-src_text_ptbl_xp_pd__DocumentRDF.cpp >=================================================================== >--- files/patch-src_text_ptbl_xp_pd__DocumentRDF.cpp (revision 497782) >+++ files/patch-src_text_ptbl_xp_pd__DocumentRDF.cpp (working copy) >@@ -1,26 +1,14 @@ >---- src/text/ptbl/xp/pd_DocumentRDF.cpp.orig 2015-03-31 15:14:42 UTC >+--- src/text/ptbl/xp/pd_DocumentRDF.cpp.orig 2019-04-03 21:34:11 UTC > +++ src/text/ptbl/xp/pd_DocumentRDF.cpp >-@@ -570,6 +570,11 @@ bool PD_URI::operator==(const std::strin >- return m_value == b; >- } >- >-+bool PD_URI::operator<(const PD_URI& b) const >-+{ >-+ return m_value < b.m_value; >-+} >-+ >- PD_URI >- PD_URI::prefixedToURI( PD_RDFModelHandle model ) const >- { >-@@ -611,11 +616,6 @@ bool PD_URI::write( std::ostream& ss ) c >- return true; >- } >- >--bool operator<( PD_URI a, PD_URI b) >--{ >-- return a.toString() < b.toString(); >--} >+@@ -2269,9 +2269,8 @@ PD_RDFEvent::exportToFile( const std::string& filename >+ icalcomponent_set_uid( c, m_uid.c_str() ); >+ icalcomponent_set_location( c, m_location.c_str() ); >+ icalcomponent_set_description( c, m_desc.c_str() ); >+- icalcomponent_set_dtstart( c, icaltime_from_timet( m_dtstart, 0 ) ); >+- icalcomponent_set_dtend( c, icaltime_from_timet( m_dtend, 0 ) ); > - >- bool operator<( std::pair< PD_URI, PD_URI > a, PD_URI b) >- { >- return a.first.toString() < b.toString(); >++ icalcomponent_set_dtstart( c, icaltime_from_timet_with_zone( m_dtstart, 0, 0) ); >++ icalcomponent_set_dtend( c, icaltime_from_timet_with_zone( m_dtend, 0, 0 ) ); >+ char* data = icalcomponent_as_ical_string( c ); >+ std::ofstream oss( filename.c_str() ); >+ oss.write( data, strlen(data) ); >Index: files/patch-src_text_ptbl_xp_pd__DocumentRDF.h >=================================================================== >--- files/patch-src_text_ptbl_xp_pd__DocumentRDF.h (revision 497782) >+++ files/patch-src_text_ptbl_xp_pd__DocumentRDF.h (nonexistent) >@@ -1,10 +0,0 @@ >---- src/text/ptbl/xp/pd_DocumentRDF.h.orig 2015-03-31 15:15:00 UTC >-+++ src/text/ptbl/xp/pd_DocumentRDF.h >-@@ -68,6 +68,7 @@ class ABI_EXPORT PD_URI >- bool isValid() const; >- bool operator==(const PD_URI& b) const; >- bool operator==(const std::string& b) const; >-+ bool operator<(const PD_URI& b) const; >- >- virtual bool read( std::istream& ss ); >- virtual bool write( std::ostream& ss ) const; > >Property changes on: files/patch-src_text_ptbl_xp_pd__DocumentRDF.h >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-src_wp_ap_gtk_ap__UnixApp.cpp >=================================================================== >--- files/patch-src_wp_ap_gtk_ap__UnixApp.cpp (nonexistent) >+++ files/patch-src_wp_ap_gtk_ap__UnixApp.cpp (working copy) >@@ -0,0 +1,11 @@ >+--- src/wp/ap/gtk/ap_UnixApp.cpp.orig 2019-04-03 22:28:26 UTC >++++ src/wp/ap/gtk/ap_UnixApp.cpp >+@@ -863,7 +863,7 @@ static bool is_so (const char *file) { >+ if (len < (strlen(G_MODULE_SUFFIX) + 2)) // this is ".so" and at least one char for the filename >+ return false; >+ const char *suffix = file+(len-3); >+- if(0 == strcmp (suffix, "."G_MODULE_SUFFIX)) >++ if(0 == strcmp (suffix, "." G_MODULE_SUFFIX)) >+ return true; >+ return false; >+ } > >Property changes on: files/patch-src_wp_ap_gtk_ap__UnixApp.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 220975
:
190587
|
197643
|
200348
|
200349
|
203361
| 203363