Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 2016 11:18:43 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408475 - head/graphics/aqsis/files
Message-ID:  <201602081118.u18BIhiN060121@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Feb  8 11:18:43 2016
New Revision: 408475
URL: https://svnweb.freebsd.org/changeset/ports/408475

Log:
  - Fix build with boost 1.60
  
  PR:		199601

Added:
  head/graphics/aqsis/files/patch-include_aqsis_tex_buffers_channellist.h   (contents, props changed)
  head/graphics/aqsis/files/patch-include_aqsis_tex_buffers_mixedimagebuffer.h   (contents, props changed)
  head/graphics/aqsis/files/patch-include_aqsis_util_socket.h   (contents, props changed)
  head/graphics/aqsis/files/patch-tools_displays_piqsl_piqsldisplay.cpp   (contents, props changed)
  head/graphics/aqsis/files/patch-tools_piqsl_displayserverimage.cpp   (contents, props changed)
  head/graphics/aqsis/files/patch-tools_piqsl_image.h   (contents, props changed)
  head/graphics/aqsis/files/patch-tools_piqsl_imagelistmodel.cpp   (contents, props changed)

Added: head/graphics/aqsis/files/patch-include_aqsis_tex_buffers_channellist.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/aqsis/files/patch-include_aqsis_tex_buffers_channellist.h	Mon Feb  8 11:18:43 2016	(r408475)
@@ -0,0 +1,12 @@
+--- include/aqsis/tex/buffers/channellist.h.orig	2012-08-24 12:26:50 UTC
++++ include/aqsis/tex/buffers/channellist.h
+@@ -43,7 +43,9 @@
+ #include <iosfwd>
+ #include <vector>
+ 
++#ifndef Q_MOC_RUN
+ #include <boost/format.hpp>
++#endif
+ 
+ #include <aqsis/tex/buffers/channelinfo.h>
+ #include <aqsis/tex/texexception.h>

Added: head/graphics/aqsis/files/patch-include_aqsis_tex_buffers_mixedimagebuffer.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/aqsis/files/patch-include_aqsis_tex_buffers_mixedimagebuffer.h	Mon Feb  8 11:18:43 2016	(r408475)
@@ -0,0 +1,14 @@
+--- include/aqsis/tex/buffers/mixedimagebuffer.h.orig	2012-08-24 12:26:50 UTC
++++ include/aqsis/tex/buffers/mixedimagebuffer.h
+@@ -45,9 +45,11 @@
+ #include <string>
+ #include <vector>
+ 
++#ifndef Q_MOC_RUN
+ #include <boost/shared_array.hpp>
+ #include <boost/shared_ptr.hpp>
+ #include <boost/utility.hpp>
++#endif
+ 
+ #include <aqsis/math/math.h>
+ #include <aqsis/tex/buffers/channellist.h>

Added: head/graphics/aqsis/files/patch-include_aqsis_util_socket.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/aqsis/files/patch-include_aqsis_util_socket.h	Mon Feb  8 11:18:43 2016	(r408475)
@@ -0,0 +1,12 @@
+--- include/aqsis/util/socket.h.orig	2012-08-24 12:26:50 UTC
++++ include/aqsis/util/socket.h
+@@ -32,7 +32,9 @@
+ 
+ #include <sstream>
+ 
++#ifndef Q_MOC_RUN
+ #include <boost/utility.hpp>
++#endif
+ 
+ #ifdef AQSIS_SYSTEM_WIN32
+ #	include <winsock2.h>

Added: head/graphics/aqsis/files/patch-tools_displays_piqsl_piqsldisplay.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/aqsis/files/patch-tools_displays_piqsl_piqsldisplay.cpp	Mon Feb  8 11:18:43 2016	(r408475)
@@ -0,0 +1,13 @@
+--- tools/displays/piqsl/piqsldisplay.cpp.orig	2012-08-24 12:26:50 UTC
++++ tools/displays/piqsl/piqsldisplay.cpp
+@@ -450,8 +450,8 @@ extern "C" PtDspyError DspyImageData(PtD
+ 
+ 	TiXmlElement* bucketDataXML = new TiXmlElement("BucketData");
+ 	std::stringstream base64Data;
+-	std::copy(	base64_text(BOOST_MAKE_PFTO_WRAPPER(data)), 
+-				base64_text(BOOST_MAKE_PFTO_WRAPPER(data + bufferlength)), 
++	std::copy(	base64_text(data), 
++				base64_text(data + bufferlength), 
+ 				std::ostream_iterator<char>(base64Data));
+ 	TiXmlText* dataTextXML = new TiXmlText(base64Data.str());
+ 	dataTextXML->SetCDATA(true);

Added: head/graphics/aqsis/files/patch-tools_piqsl_displayserverimage.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/aqsis/files/patch-tools_piqsl_displayserverimage.cpp	Mon Feb  8 11:18:43 2016	(r408475)
@@ -0,0 +1,16 @@
+--- tools/piqsl/displayserverimage.cpp.orig	2012-08-24 12:26:50 UTC
++++ tools/piqsl/displayserverimage.cpp
+@@ -39,11 +39,13 @@
+ #include	<map>
+ #include	<algorithm>
+ 
++#ifndef Q_MOC_RUN
+ #include	<boost/archive/iterators/base64_from_binary.hpp>
+ #include	<boost/archive/iterators/transform_width.hpp>
+ #include	<boost/archive/iterators/insert_linebreaks.hpp>
+ #include	<boost/format.hpp>
+ #include	<boost/filesystem.hpp>
++#endif
+ 
+ #include	"displayserverimage.h"
+ 

Added: head/graphics/aqsis/files/patch-tools_piqsl_image.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/aqsis/files/patch-tools_piqsl_image.h	Mon Feb  8 11:18:43 2016	(r408475)
@@ -0,0 +1,15 @@
+--- tools/piqsl/image.h.orig	2012-08-24 12:26:50 UTC
++++ tools/piqsl/image.h
+@@ -46,10 +46,12 @@
+ #include <QtCore/QObject>
+ #include <QtGui/QImage>
+ 
++#ifndef Q_MOC_RUN
+ #include <boost/shared_ptr.hpp>
+ #include <boost/shared_array.hpp>
+ #include <boost/filesystem/path.hpp>
+ #include <boost/thread/mutex.hpp>
++#endif
+ 
+ #include "tinyxml.h"
+ 

Added: head/graphics/aqsis/files/patch-tools_piqsl_imagelistmodel.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/aqsis/files/patch-tools_piqsl_imagelistmodel.cpp	Mon Feb  8 11:18:43 2016	(r408475)
@@ -0,0 +1,23 @@
+--- tools/piqsl/imagelistmodel.cpp.orig	2012-08-24 12:26:50 UTC
++++ tools/piqsl/imagelistmodel.cpp
+@@ -42,11 +42,6 @@
+ #include <boost/archive/iterators/transform_width.hpp>
+ #include <boost/archive/iterators/remove_whitespace.hpp>
+ #include <boost/version.hpp>
+-#if BOOST_VERSION < 103700
+-#   include <boost/pfto.hpp>
+-#else
+-#   include <boost/serialization/pfto.hpp>
+-#endif
+ 
+ 
+ #include "displayserverimage.h"
+@@ -286,7 +281,7 @@ class SocketDataHandler
+                                 std::string data = dataText->Value();
+                                 std::vector<unsigned char> binaryData;
+                                 binaryData.reserve(count);
+-                                base64_binary ti_begin = base64_binary(BOOST_MAKE_PFTO_WRAPPER(data.begin()));
++                                base64_binary ti_begin = base64_binary(data.begin());
+                                 std::size_t padding = 2 - count % 3;
+                                 while(--count > 0)
+                                 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602081118.u18BIhiN060121>