diff options
Diffstat (limited to 'www/libxul/files/patch-clang32-visibility-hack')
-rw-r--r-- | www/libxul/files/patch-clang32-visibility-hack | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www/libxul/files/patch-clang32-visibility-hack b/www/libxul/files/patch-clang32-visibility-hack new file mode 100644 index 000000000000..7744fed5e17e --- /dev/null +++ b/www/libxul/files/patch-clang32-visibility-hack @@ -0,0 +1,20 @@ +--- configure.in~ ++++ configure.in +@@ -3230,6 +3230,7 @@ EOF + ac_cv_have_visibility_class_bug, + [cat > conftest.c <<EOF + #pragma GCC visibility push(hidden) ++struct TestStruct; + struct __attribute__ ((visibility ("default"))) TestStruct { + static void Init(); + }; +--- js/src/configure.in~ ++++ js/src/configure.in +@@ -3230,6 +3230,7 @@ EOF + ac_cv_have_visibility_class_bug, + [cat > conftest.c <<EOF + #pragma GCC visibility push(hidden) ++struct TestStruct; + struct __attribute__ ((visibility ("default"))) TestStruct { + static void Init(); + }; |