lyx/fix_boost_169.patch

20 lines
888 B
Diff

Index: src/support/FileName.cpp
===================================================================
--- src/support/FileName.cpp (revision 75bfed55079cab6b73fbea6ce4ae3f10d1af3b91)
+++ src/support/FileName.cpp (revision 3a123b90af838b08680471d87170c38e56787df9)
@@ -67,13 +67,4 @@
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 {