summaryrefslogtreecommitdiff
path: root/graphics/utah-glx/files/patch-bc
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-11-06 08:18:46 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-11-06 08:18:46 +0000
commit836258e41e9a3099f1e3835cc028d1a8ff9de614 (patch)
treecec656f2e10455023ab40d540e69da1f950be6b7 /graphics/utah-glx/files/patch-bc
parentNew port: mmix, a RISC computer designed by Donald E. Knuth (diff)
- Use tcl8.3;
- provide workarround for dlopen()/dlsym() bug in recent CURRENT/STABLE.
Diffstat (limited to 'graphics/utah-glx/files/patch-bc')
-rw-r--r--graphics/utah-glx/files/patch-bc15
1 files changed, 15 insertions, 0 deletions
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;
+ }