Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2018 15:10:45 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r483590 - head/print/lyx/files
Message-ID:  <201810311510.w9VFAmfS049835@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Oct 31 15:10:44 2018
New Revision: 483590
URL: https://svnweb.freebsd.org/changeset/ports/483590

Log:
  print/lyx: unbreak with boost 1.69
  
  FileName.cpp:77:32: error: too few template arguments for class template 'crc_table_t'
  template struct boost::detail::crc_table_t<32, 0x04C11DB7, true>;
                                 ^
  /usr/local/include/boost/crc.hpp:1009:11: note: template is declared here
      class crc_table_t
            ^
  
  PR:		232525
  Suggested by:	upstream

Added:
  head/print/lyx/files/patch-boost-1.69   (contents, props changed)

Added: head/print/lyx/files/patch-boost-1.69
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/lyx/files/patch-boost-1.69	Wed Oct 31 15:10:44 2018	(r483590)
@@ -0,0 +1,20 @@
+https://www.lyx.org/trac/ticket/11349
+
+--- src/support/FileName.cpp.orig	2018-02-25 00:11:18 UTC
++++ src/support/FileName.cpp
+@@ -67,15 +67,6 @@
+ using namespace std;
+ using namespace lyx::support;
+ 
+-// OK, this is ugly, but it is the only workaround I found to compile
+-// with gcc (any version) on a system which uses a non-GNU toolchain.
+-// The problem is that gcc uses a weak symbol for a particular
+-// instantiation and that the system linker usually does not
+-// understand those weak symbols (seen on HP-UX, tru64, AIX and
+-// others). Thus we force an explicit instanciation of this particular
+-// template (JMarc)
+-template struct boost::detail::crc_table_t<32, 0x04C11DB7, true>;
+-
+ namespace lyx {
+ namespace support {
+ 



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