--- lib/chardetect/src/entry/impl.cpp.orig +++ lib/chardetect/src/entry/impl.cpp @@ -42,7 +42,9 @@ #include "nscore.h" #include "nsUniversalDetector.h" #include +#pragma GCC visibility push(default) #include +#pragma GCC visibility pop #ifdef _WIN32 # include --- lib/chardetect/src/prmem.h.orig +++ lib/chardetect/src/prmem.h @@ -37,7 +37,9 @@ #ifndef nsDummyPrmem_h__ #define nsDummyPrmem_h__ +#pragma GCC visibility push(default) #include +#pragma GCC visibility pop inline void* PR_Malloc(size_t len) {