svn commit: r483590 - head/print/lyx/files

Jan Beich jbeich at FreeBSD.org
Wed Oct 31 15:37:08 UTC 2018


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 {
+ 


More information about the svn-ports-head mailing list