pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: editors/abiword-plugins build problem, with fix



On Mon, 8 Apr 2024 at 21:19:47 +0200, Rhialto wrote:
I ran into (latest pkgsrc branch, NetBSD 10, gcc 12)

RealmConnection.cpp:329:55: error: variable 'boost::array<asio::mutable_buffer, 3> buf' has initializer but incomplete type
 329 |                 boost::array<asio::mutable_buffer, 3> buf = {{
     |                                                       ^~~

where the problem was boost::array, and not asio::mutable_buffer as I
thought at first.

Adding an #include fixes it for me:


$NetBSD$

- add missing include; otherwise error about incomplete type.

--- ./plugins/collab/backends/service/xp/RealmConnection.cpp.orig 2024-04-08 17:32:57.261665111 +0000
+++ ./plugins/collab/backends/service/xp/RealmConnection.cpp
@@ -19,6 +19,7 @@
#include <boost/function.hpp>
#include <boost/bind.hpp>
#include <boost/lexical_cast.hpp>
+#include <boost/array.hpp>
#include "ut_assert.h"
#include "ut_debugmsg.h"
#include "ServiceAccountHandler.h"

Does anyone else see this?
Even if not, are there objections to adding this patch to pkgsrc?

-Olaf.

I already fixed this in -current, though differently than that. This is
only required for the AbiCollab component, and the service itself seems
to be defunct now, so I simply disabled that sub-component from
building at all. (AbiCollab.net no longer exists, and the PEM file that
gets included for it in the distribution expried as of 2021.)

Regards,

Dave


Home | Main Index | Thread Index | Old Index