From 836258e41e9a3099f1e3835cc028d1a8ff9de614 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Mon, 6 Nov 2000 08:18:46 +0000 Subject: - Use tcl8.3; - provide workarround for dlopen()/dlsym() bug in recent CURRENT/STABLE. --- graphics/utah-glx/files/patch-bc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 graphics/utah-glx/files/patch-bc (limited to 'graphics/utah-glx/files/patch-bc') diff --git a/graphics/utah-glx/files/patch-bc b/graphics/utah-glx/files/patch-bc new file mode 100644 index 000000000000..1406dcf53638 --- /dev/null +++ b/graphics/utah-glx/files/patch-bc @@ -0,0 +1,15 @@ +diff -druN servGL/hwglx/common/x11_symbols.c servGL/hwglx/common/x11_symbols.c +--- servGL/hwglx/common/x11_symbols.c Mon Jan 17 09:11:02 2000 ++++ servGL/hwglx/common/x11_symbols.c Sun Nov 5 19:22:44 2000 +@@ -92,9 +92,8 @@ + static void *my_dlsym(void *handle, const char *name) + { + void *tmp = dlsym(handle, name); +- char *error; +- if ((error = dlerror()) != 0) { +- fputs(error, stderr); ++ if (tmp == NULL) { ++ fputs(dlerror(), stderr); + any_error = 1; + return 0; + } -- cgit v1.2.3