diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2018-10-31 15:10:44 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2018-10-31 15:10:44 +0000 |
commit | 83f2ffd05a8fb23ca310d14f8f448ff53c7900f3 (patch) | |
tree | 5dec1bb8e74276544b8f22562a8715effc870d83 /print | |
parent | 1f9a99d8beece15fcbcbbb672e7f6497def2f394 (diff) |
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
Notes
Notes:
svn path=/head/; revision=483590
Diffstat (limited to 'print')
-rw-r--r-- | print/lyx/files/patch-boost-1.69 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/print/lyx/files/patch-boost-1.69 b/print/lyx/files/patch-boost-1.69 new file mode 100644 index 000000000000..e79c25cea644 --- /dev/null +++ b/print/lyx/files/patch-boost-1.69 @@ -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 { + |