pkgsrc-Users archive

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

editors/abiword-plugins build problem, with fix



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.
-- 
___ Olaf 'Rhialto' Seibert                            <rhialto/at/falu.nl>
\X/ There is no AI. There is just someone else's work.           --I. Rose

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index