pkgsrc-ng/graphics/MesaLib/patches/patch-src_mapi_entry__x86-64__tls.h
2016-01-21 23:41:46 +01:00

18 lines
437 B
C

$NetBSD: patch-src_mapi_entry__x86-64__tls.h,v 1.1 2015/04/25 11:19:18 tnn Exp $
Fix --enable-glx-tls with clang. From FreeBSD.
--- src/mapi/entry_x86-64_tls.h.orig 2015-03-28 18:20:39.000000000 +0000
+++ src/mapi/entry_x86-64_tls.h
@@ -62,8 +62,8 @@ entry_patch_public(void)
{
}
-static char
-x86_64_entry_start[];
+extern char
+x86_64_entry_start[] __attribute__((visibility("hidden")));
mapi_func
entry_get_public(int slot)